Sorry OrFeAsGr and Loki. I still can not finish his script.
I have screenshots illustrate:





command to be sent is:
Code:
!xidach 1000 (for the first photo)

and:
!war 1000 (for second image)


In the above case, my script is:
Code:
on *:ACTION:*:#TorViet: {
 if ($strip($3) == !XiDach) {
   msg $chan !xidach 1000
   }
 elseif ($strip($3) == !War) {
   msg $chan !war 1000
   }
}

it does not work.


IF:
Code:
on *:TEXT:*:#TorViet: {
 if ($strip($3) == !XiDach) {
   msg $chan !xidach 1000
   }
 elseif ($strip($3) == !War) {
   msg $chan !war 1000
   }
}

it also does not work

Therefore, the exact script should look like?

Last edited by AzN; 18/09/15 02:09 PM.