mIRC Homepage
Posted By: mok Custom query reply on and off? - 04/08/04 08:55 PM
I got this script #scripts. I was wondering if there's a way to actually make this to have an ON and OFF option. I don't really know what exactly i have to change in the coding to make this query feature to turn on whenever i am away. and turn off after i am back. Can anyone please help me with it? Thanks!


;; ---------------- CUSTOM QUERY REPLIES ------------------

on *:open:?:{
if ($query(0) == 1) {
var %queryword = query
}
else {
var %queryword = queries
}
msg $nick Hello $nick $+ , I currently have $query(0) %queryword open.
msg $nick Please don't ask me for peon or to idle anywhere.
}
;; ---------------------------------------------------------
Posted By: theRat Re: Custom query reply on and off? - 04/08/04 09:02 PM
try seeing /help groups



raw 306:*: .disable #queryreply
raw 305:*: .enable #queryreply

#queryreply on
on *:open:?:{
if ($query(0) == 1) {
var %queryword = query
}
else {
var %queryword = queries
}
msg $nick Hello $nick $+ , I currently have $query(0) %queryword open.
msg $nick Please don't ask me for peon or to idle anywhere.
}
#queryreply end



that one works if you're actually setting yourself away with /away
© mIRC Discussion Forums