mIRC Homepage
Posted By: pykolas double events - 18/10/16 01:09 AM
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
Posted By: keyeslol Re: double events - 18/10/16 01:14 AM
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
}
© mIRC Discussion Forums