mIRC Home    About    Download    Register    News    Help

Print Thread
#81170 29/04/04 02:26 AM
Joined: May 2003
Posts: 9
E
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
E
Joined: May 2003
Posts: 9
Is there any way to convert the address of a person in my notify list to a useable variable when the Notify event is triggered?
Thanks

#81171 29/04/04 02:44 AM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
I'm not sure what you mean. Do you have an example?

#81172 29/04/04 03:11 AM
Joined: Aug 2003
Posts: 325
W
Fjord artisan
Offline
Fjord artisan
W
Joined: Aug 2003
Posts: 325
$fulladdress contains the address of the nick that triggered your notify script

Hope that helps.

#81173 29/04/04 02:07 PM
Joined: Feb 2004
Posts: 714
Z
Hoopy frood
Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
I think what he means is something like $notifynick or $nnick (just like $opnick and $vnick).



"All we are saying is give peace a chance" -- John Lennon
#81174 29/04/04 03:17 PM
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
If the server uses the "Watch" notify system you can use $address (user@host) or $fulladdress (nck!user@host) $site, $wildsite, $maddress etc as well
If the server uses the older "ISON" style notify, there is no address supplied.

This will work on those servers using WATCH
  • on *:notify:echo -a Notify: $nick - Fulladdress: $fulladdress


You can determine if Watch is used from the raw 005 sent when you connect
This is dalnets 005
NOQUIT SAFELIST MODES=6 MAXCHANNELS=15 MAXBANS=100 NICKLEN=30 TOPICLEN=307 KICKLEN=307 CHANTYPES=# PREFIX=(ov)@+ NETWORK=DALnet SILENCE=10 WATCH=128 CASEMAPPING=ascii ELIST=cmntu CHANMODES=b,k,jl,ciLmMnOprRst :are available on this server

Last edited by Iori; 29/04/04 03:20 PM.
#81175 29/04/04 08:36 PM
Joined: Aug 2003
Posts: 325
W
Fjord artisan
Offline
Fjord artisan
W
Joined: Aug 2003
Posts: 325
Is that 128 names.. or 128 characters? grin I would hope 128 names, because otherwise ya could run out of space for names like almost immedi(ran out of space to type if ya get the pun)

#81176 29/04/04 08:57 PM
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
The number is how many entries you may have in your watch list. wink

#81177 29/04/04 09:38 PM
Joined: Aug 2003
Posts: 325
W
Fjord artisan
Offline
Fjord artisan
W
Joined: Aug 2003
Posts: 325
* Wolfie rubs his hands evul like
grin
Thanks


Link Copied to Clipboard