I'm a DJ on an Internet radio station that has an associated IRC channel on Undernet. We have a custom that when the DJ plays a tune that someone likes, that person says so by typing "ch000000000n!"
I'm trying to come up with a script that triggers on this word and automatically says thank you to the person who ch00ned me. I want it to run only when my nick is set to "DJ_Shamus" so it dosen't look like I'm thanking people for ch000ning another DJ.
I'm a total mIRC scripting newbie, by the way, and don't really know what I'm doing.
Here's what I have so far (and it doesn't work):
Variables tab:
/set %djnick DJ_Shamus
Remote tab:
on 1:TEXT:*ch00*n*:
(
if ($nick == %djnick)
{
#partyfm:/msg $chan Thanks, $nick !
)
)
Also, when placed at the beginning of the other remote script that I have (an op control script: I'm also a channel op) it causes that script not to run. So what am I doing wrong?