Originally Posted By: Mpot
I'm going to attempt this one myself, can you tell me if it's good? I need the halt command written in like that as a part of the bar code, not to halt the /write script. I dunno if I did it properly.

Code:
on addbar:TEXT:!addbar *:#: {
  write C:\IcyBot\Scripts\callup_banners.mrc if ($strip($$1) == $+ $$2 $+) { msg $chan $$3 | halt }
  notice $nick Bar added.
}


Code:
on addbar:TEXT:!addbar & &:#:{
  write C:\IcyBot\Scripts\callup_banners.mrc if ($strip($1) == $2) $chr(123) msg $!chan $3 $chr(124) halt $chr(125)
  notice $nick Bar added.
}


PS if the bot is in C:\IcyBot you can more simply use "write Scripts\callup_banners.mrc ...."
Or perhaps $+($scriptdir,callup_banners.mrc)