mIRC Home    About    Download    Register    News    Help

Print Thread
#259221 18/10/16 01:09 AM
P
pykolas
pykolas
P
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

#259222 18/10/16 01:14 AM
K
keyeslol
keyeslol
K
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
}


Link Copied to Clipboard