mIRC Home    About    Download    Register    News    Help

Print Thread
#9698 04/02/03 09:48 PM
S
Sabby
Sabby
S
Just thought of this,

maybe multiple on commands would be usefull..
example:

on *:Part,Quit:#:{ commands }
or...
on *:Op,Deop:#:{ mode # $iif($event == op,+o,-o) $nick }

and etc..

the point of this would be saving usage space..

#9699 04/02/03 09:59 PM
Joined: Dec 2002
Posts: 1,253
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,253
on QUIT has no :#: associated with it, just like on NICK. laugh I'm not sure if it still works or not (haven't tested it in ages), but you used to be able to do:

on *:*:#:{ }

and then parse the $event yourself. Ditto for on TEXT/NOTICE/ACTION events with:

on *:*:*:#:{ }

#9700 04/02/03 10:51 PM
B
Bytestorm
Bytestorm
B
Or use aliases wich you call in the events smile

on *:part:#:/partquit $nick $chan $1-
on *:quit:#:/partquit $nick $chan $1-

#9701 05/02/03 03:03 AM
S
Sabby
Sabby
S
didnt even know there was a $event...

hmm.. just was a thought that poped up..


Link Copied to Clipboard