mIRC Home    About    Download    Register    News    Help

Print Thread
#242547 02/08/13 07:56 AM
Joined: Mar 2012
Posts: 10
H
Pikka bird
OP Offline
Pikka bird
H
Joined: Mar 2012
Posts: 10
when using on snotice, which $var has the name of the server which sent the notice?

holbrook #242548 02/08/13 08:53 AM
Joined: Feb 2006
Posts: 181
C
Vogon poet
Offline
Vogon poet
C
Joined: Feb 2006
Posts: 181
Originally Posted By: holbrook
when using on snotice, which $var has the name of the server which sent the notice?


$server

Crinul #242549 02/08/13 10:08 AM
Joined: Mar 2012
Posts: 10
H
Pikka bird
OP Offline
Pikka bird
H
Joined: Mar 2012
Posts: 10
$server returns the value of the server you are connected to (according to the help file). Using $server wouldn't work correctly unless the server sending the notice was the one you are connected to.

holbrook #242550 02/08/13 10:40 AM
Joined: Feb 2006
Posts: 181
C
Vogon poet
Offline
Vogon poet
C
Joined: Feb 2006
Posts: 181
Code:
ON *:SNOTICE:*:echo -sct info Snotice from: $server


Connect to more than one network.


Link Copied to Clipboard