mIRC Home    About    Download    Register    News    Help

Print Thread
how to exclude nick from join or text event please #251113 09/02/15 09:08 PM
Joined: May 2013
Posts: 129
R
raycomp Offline OP
Vogon poet
OP Offline
Vogon poet
R
Joined: May 2013
Posts: 129
I have two nicks that I would like to eclude (ignore) in my Points Sysytem
Quote:
on 1:text:*:#:{
if ($nick == sybian) return
if ($nick == guest*) return
var %points $addPoints(2)
msg # Bot awards 2 points to $nick $+ , total points %points $+
}


I need help with the guest nick that normally looks like
quest1538 quest1576 and so on allocated if trying to use a registered nick. I need to use something like ($nick == guest*)
to exclude all nicks starting with guest but the * is not working?

Last edited by raycomp; 09/02/15 09:15 PM. Reason: add
Re: how to exclude nick from join or text event please [Re: raycomp] #251114 09/02/15 09:15 PM
Joined: Feb 2015
Posts: 18
E
EUDIS1980 Offline
Pikka bird
Offline
Pikka bird
E
Joined: Feb 2015
Posts: 18
if (guest* iswm $nick)