mIRC Home    About    Download    Register    News    Help

Print Thread
#80218 22/04/04 08:24 PM
Joined: Jan 2004
Posts: 24
W
Ameglian cow
OP Offline
Ameglian cow
W
Joined: Jan 2004
Posts: 24
Hello, I would like to know if this is correct:
if ($istok($1-,$nick(NickServ MemoServ ChanServ),32))
I haven't used $istok before, and I wanna be sure what i'm doing is correct, if anyone could reply, i appriciate it.
Thanks

#80219 22/04/04 09:11 PM
Joined: Aug 2003
Posts: 325
W
Fjord artisan
Offline
Fjord artisan
W
Joined: Aug 2003
Posts: 325
If I understand what you are trying to accomplish, you are checking to see if $nick is either NickServ MemoServ or Chanserv.. To do that:
$istok(ChanServ MemoServ NickServ,$nick,32)

It takes this format: $istok(Text,Search,Seperator)
If "search" is a matching token in "text", it'll report $true.

Hope that helps some.

#80220 22/04/04 10:11 PM
Joined: Jan 2004
Posts: 24
W
Ameglian cow
OP Offline
Ameglian cow
W
Joined: Jan 2004
Posts: 24
Thanks alot


Link Copied to Clipboard