mIRC Homepage
Posted By: 1fizzle very simple script, to auto voice - 03/02/05 07:14 AM
im trying to write a script to auto-voice any nick that joins the channel with *text* in their nick.
remote: on 1:JOIN:#channel:/voiceit
alias: /voiceit {
if (*text* isin $nick) { /mode $chan v $nick }
else { }
}

...that should work, i'm assuming i did it correctly, but for some reason its not working...can anyone tell me what i did wrong/should do?
Posted By: DaveC Re: very simple script, to auto voice - 03/02/05 07:30 AM
on 1:JOIN:#channel:{ if (text isin $nick) { /mode $chan v $nick } }

or

on 1:JOIN:#channel:{ if (*text* iswm $nick) { /mode $chan v $nick } }

(dont use the second one its bound to be more task intensive, i just added it to show u the ISWM in which you need the *'s)
Posted By: 1fizzle Re: very simple script, to auto voice - 03/02/05 07:36 AM
ahhh, thank you, much appreciated.
Posted By: FiberOPtics Re: very simple script, to auto voice - 03/02/05 07:56 AM
on @*:JOIN:#channel: if (text isin $nick) { mode $chan +v $nick }
© mIRC Discussion Forums