mIRC Home    About    Download    Register    News    Help

Print Thread
hmm query.. .. #41891 15/08/03 01:58 AM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
Hi everyone. i trying to make a litle script that reacting on query..

on *:OPEN:?: <<-- that will be triggerd if somone msg me..

but any way i can set it to be triggerd on every query that i open or somone open to me?? smirk


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Re: hmm query.. .. #41892 15/08/03 02:06 AM
Joined: Dec 2002
Posts: 169
J
Jerk Offline
Vogon poet
Offline
Vogon poet
J
Joined: Dec 2002
Posts: 169
On open will only trigger on privmsgs sent to you, not when you manually open up a query window. To do that you can create a /query alias that calls a signal.
Code:
alias query {
  ; replace this line with a call to an alias or signal here
  query $1-
}

Re: hmm query.. .. #41893 15/08/03 02:10 AM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
Ahh.. didnt think of that.. thnx grin


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }