mIRC Homepage
Posted By: Iceflow /if: invalid format - 25/11/03 03:38 PM
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?
Posted By: Collective Re: /if: invalid format - 25/11/03 03:43 PM
elseif $nick <bot> { msg $nick xdcc send #2 }
Here you want:
elseif $nick == <bot> { msg $nick xdcc send #2 }

else $nick <bot> { msg $nick xdcc send #1 }
Here you want either:
else { msg $nick xdcc send #1 }
-or-
elseif $nick == <bot> { msg $nick xdcc send #1 }
Posted By: Iceflow Re: /if: invalid format - 25/11/03 04:30 PM
Hey Thanks for that. It works perfectly now
© mIRC Discussion Forums