mIRC Home    About    Download    Register    News    Help

Print Thread
#50316 20/09/03 02:36 AM
D
Dylan666
Dylan666
D
Is it possible to create a script that reacts to query message even if the query window was opened before the script was"turned on"?
I mean nothing like on *:open:?: but something to use to say I'm away to the people were chatting with me in query...

Joined: Apr 2003
Posts: 426
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Apr 2003
Posts: 426
Code:
on *:TEXT:*:?:{
  if (($away == $true) && (%nick. [ $+ [ $me ] ] != $nick)) {
    set %nick. [ $+ [ $me ] ] $nick
    notice $nick I'm away. Back soon.
  }
}


Thats a very simple one.

read the on TEXT help (/help on TEXT) and read up about variables (so you can send the message once to the nick).


Link Copied to Clipboard