Sorry OrFeAsGr and Loki. I still can not finish his script.
I have screenshots illustrate:
command to be sent is:
!xidach 1000 (for the first photo)
and:
!war 1000 (for second image)
In the above case, my script is:
on *:ACTION:*:#TorViet: {
if ($strip($3) == !XiDach) {
msg $chan !xidach 1000
}
elseif ($strip($3) == !War) {
msg $chan !war 1000
}
}
it does not work.
IF:
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?