mIRC Home    About    Download    Register    News    Help

Print Thread
#20168 20/04/03 12:28 PM
Joined: Jan 2003
Posts: 44
T
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Jan 2003
Posts: 44
Which identifer could I use to refer to user's quit message ? For example in an UNOTIFY event.
Ex.:
Code:
on ^*:UNOTIFY:{
  .raw WHO $nick
  echo 9 -a * $nick ( $+ $address($nick,0) $+ ) has left IRC ( $+ THE QUIT MSG  $+ ).
  halt
}
 


Regards, ThE_mASk.
#20169 20/04/03 02:43 PM
Joined: Dec 2002
Posts: 1,527
_
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
your only going to get there quit message if they are in a channel your in ..... or if u are an ircop ....... if the second is the case then in ur quits listing that ud see thru the server ..... you would then store that quit message from the user into a variable........ either way its gotta come from the quit message and be set into a variable as unotify i dont think has the ability to find a quit message


D3m0nnet.com
#20170 20/04/03 03:27 PM
Joined: Jan 2003
Posts: 44
T
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Jan 2003
Posts: 44
OK so how can I get the message if I am in the channel he/she is in ?


Regards, ThE_mASk.
#20171 20/04/03 03:44 PM
Joined: Dec 2002
Posts: 699
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 699
Code:
on *:quit:{
  var %i = 1
  while $comchan($nick,%i) {
    echo 9 -tir $ifmatch * $nick ( $+ $address $+ ) has left IRC ( $+ $1-  $+ ).
    inc %i
  }
}

#20172 20/04/03 06:09 PM
Joined: Dec 2002
Posts: 332
C
Fjord artisan
Offline
Fjord artisan
C
Joined: Dec 2002
Posts: 332
/ns info $nick

on 1:notice:*quit*:?:
then you could echo it or maybe set it to a variable and use the variable in your existing script ?
or something of the sort that would get you the quit msg even if you were not on the same channel


Link Copied to Clipboard