mIRC Home    About    Download    Register    News    Help

Print Thread
help me to quit on event #257616 27/04/16 11:51 PM
Joined: Sep 2015
Posts: 9
A
AzN Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
A
Joined: Sep 2015
Posts: 9
command to quit when one event is how?
Normal, command to quit is "/quit"
But on event, message "msg $chan /quit" is not working
Please help me.
EX:
Quote:
on *:TEXT:*:#chanel: {
if (*fulltime* iswm $1-) {
msg $chan /quit
}
}


when the event occurs, my nick do not quit, but simply appear message "/quit" in chanel

Last edited by AzN; 28/04/16 01:52 AM.
Re: help me to quit on event [Re: AzN] #257620 28/04/16 05:16 PM
Joined: Jun 2015
Posts: 84
F
Fonic_Artes Offline
Babel fish
Offline
Babel fish
F
Joined: Jun 2015
Posts: 84
If you mean to quite mIRC. Then just remove the msg $chan part and it'll work.

Re: help me to quit on event [Re: AzN] #257621 28/04/16 07:52 PM
Joined: Sep 2005
Posts: 2,881
H
hixxy Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
You are probably looking at Twitch scripts. My understanding is that you're supposed to use msg #channel <command> on Twitch, but on other networks you don't use msg #channel before a command.