mIRC Home    About    Download    Register    News    Help

Print Thread
#257474 14/04/16 12:48 PM
Joined: Dec 2013
Posts: 14
J
James Offline OP
Pikka bird
OP Offline
Pikka bird
J
Joined: Dec 2013
Posts: 14
Can someone tell me how to add multiple triggers to one event like this
on @*:TEXT:@find*,@search*,!*.zip*,!*.mp3*:#: {
if ($left($nick(#, $nick).pnick, 1) !isin ~&@!+) {

Joined: Apr 2010
Posts: 969
F
Hoopy frood
Offline
Hoopy frood
F
Joined: Apr 2010
Posts: 969
There's a few different ways to do it. the simpliest is probably just to use an if statement:
Code:
on @*:TEXT:*:#:{
  if ($left($nick(#, $nick).pnick, 1) !isin ~&@!+) && (@find* iswm $1- || @search* iswm $1- || !*.zip* iswm $1 || !*.mp3* iswm $1-) {
    ;; stuff
  }
}


I am SReject
My Stuff
Joined: Dec 2013
Posts: 14
J
James Offline OP
Pikka bird
OP Offline
Pikka bird
J
Joined: Dec 2013
Posts: 14
Thank You Very Much


Link Copied to Clipboard