mirc is executing a command which starts with a tab it seems. Either you miscopied the code or there is an issue with that exemple on wikichip, i'm on mobile...
Replaces all the blank spaces but newlines before commands and see if that works.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel