He is saying that they are if statements, so if someone did
!wale win
then it would show the win wale. $2 is basically what is said after the first statement, and so $3 is the 3rd statement, etc.
It's a easier way to make everything more organized and cleaner looking instead of having a bunch of on text statements.