Script Parameters

From Bot Brackets Wiki
Jump to: navigation, search

The following parameters will be provided to your entry:

Team Information

team1 
one of the teams competing in the game — there is no particular ordering of teams, so you should be prepared for them to appear in either order
team2 
the other team competing in the game
$(...) 
function to get team stats
$1 
syntactic sugar for $(team1)
$2 
syntactic sugar for $(team2)

Contest Information

$Round 
which round of the contest (1-6) this game occurs in
$Score1 
how many points you would get if you picked team1 at 100%
$Score2 
how many points you would get if you picked team2 at 100%