mIRC Home    About    Download    Register    News    Help

Print Thread
#9698 04/02/03 09:48 PM
Joined: Jan 2003
Posts: 94
S
Sabby Offline OP
Babel fish
OP Offline
Babel fish
S
Joined: Jan 2003
Posts: 94
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..


-
E-Mail: mirc_sabby@hotmail.com
Network: irc.enterthegame.com
Channel: #Helpdesk
#9699 04/02/03 09:59 PM
Joined: Dec 2002
Posts: 1,321
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
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 *:*:*:#:{ }


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
#9700 04/02/03 10:51 PM
Joined: Feb 2003
Posts: 3
B
Self-satisified door
Offline
Self-satisified door
B
Joined: Feb 2003
Posts: 3
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
Joined: Jan 2003
Posts: 94
S
Sabby Offline OP
Babel fish
OP Offline
Babel fish
S
Joined: Jan 2003
Posts: 94
didnt even know there was a $event...

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


-
E-Mail: mirc_sabby@hotmail.com
Network: irc.enterthegame.com
Channel: #Helpdesk

Link Copied to Clipboard