mIRC Home    About    Download    Register    News    Help

Print Thread
double events #259221 18/10/16 01:09 AM
Joined: Mar 2016
Posts: 21
P
pykolas Offline OP
Ameglian cow
OP Offline
Ameglian cow
P
Joined: Mar 2016
Posts: 21
so, I am wondering if it's possible to make like
Quote:

on *:text:!level:#:{
on *:text:xp:#:{
script
}
}

example:
!level
nick: your level is 3, you have 200xp
so bot should read !level command and read 200 near xp

Re: double events [Re: pykolas] #259222 18/10/16 01:14 AM
Joined: May 2015
Posts: 133
K
keyeslol Offline
Vogon poet
Offline
Vogon poet
K
Joined: May 2015
Posts: 133
no but you can do:

Code:
on *:text:*:#:{
  if ($1 == !level) {
    code
  }
  elseif ($1 == xp) {
    code
  }
}


or you can do separate lines:

Code:
on *:text:!level:#:{
  code
}

on *:text:xp:#:{
  code
}


twitter @keyeslol