mIRC Homepage
Posted By: judge2020 Noticing a message - 12/06/14 12:01 PM
I made a script where then jtv notices me "SPECIALUSER [name] subscriber"
Code:
on *:NOTICE:SPECIALUSER & subscriber:?:{
  if ($read(reglist.txt,nw,$2) return
  msg #mark_paintball Welcome $2 $+ ! looks like you're not on the regular list! I am adding you now :)
  write reglist.txt $nick
}

The thing is when it gets noticed here it does not add them to the list or do the message. IS there something wrong in my code?
Posted By: Loki12583 Re: Noticing a message - 12/06/14 12:33 PM
You're missing a parenthesis in the if statement, there should be errors in your status window about it.
Posted By: judge2020 Re: Noticing a message - 12/06/14 01:12 PM
I fixed the parenthesis (i didn't get an error in status box o_o) but it still isn't triggering the notice.
Posted By: blessing Re: Noticing a message - 12/06/14 02:10 PM
Are you sure twitch supports notice?
Maybe you need on *:TEXT ?
Posted By: judge2020 Re: Noticing a message - 12/06/14 03:05 PM
The window i get it from is a query window, Unless that isn't a notice then my script isn't triggering
Posted By: blessing Re: Noticing a message - 12/06/14 03:07 PM
query window is msg, not notice.
You need on *:TEXT then.
Posted By: judge2020 Re: Noticing a message - 12/06/14 03:50 PM
Thanks, working!
Posted By: patrickplays Re: Noticing a message - 12/06/14 04:35 PM
you need to write $2 into your reglist. $nick will write jtv
Posted By: judge2020 Re: Noticing a message - 12/06/14 04:41 PM
Yes i fixed that :P
© mIRC Discussion Forums