mIRC Homepage
Posted By: holbrook on snotice - 02/08/13 07:56 AM
when using on snotice, which $var has the name of the server which sent the notice?
Posted By: Crinul Re: on snotice - 02/08/13 08:53 AM
Originally Posted By: holbrook
when using on snotice, which $var has the name of the server which sent the notice?


$server
Posted By: holbrook Re: on snotice - 02/08/13 10:08 AM
$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.
Posted By: Crinul Re: on snotice - 02/08/13 10:40 AM
Code:
ON *:SNOTICE:*:echo -sct info Snotice from: $server


Connect to more than one network.
© mIRC Discussion Forums