When I use this script i get a message saying: /if: invalid format

This is exactly how my script is written without using the xdcc bot names:
Code:
 On *:notify: if $nick == <bot> { msg $nick xdcc send #2 } | elseif $nick <bot> { msg $nick xdcc send #2 } | else $nick <bot> { msg $nick xdcc send #1 } 
 


Anyone know why I might be getting that message?