mIRC Homepage
Posted By: Kijutsu Personal Script - On NICK remote scripts... - 22/08/03 08:00 PM
Code:
alias ident-esper .msg nickserv identify <password-entered-here>
on me:NICK: if (($me == <nickname>) && ($network == EsperNet)) { ident-esper }



I'm making a script for my own personal use. However.. I have problems. smirk The on NICK remote doesn't work quite right.. and I'm thinking the problem arises out of the use of 'me' for a userlevel.. if anyone could offer any advice, it'd be greatly appreciated. laugh Thanks!
Not sure if this would help but try. something like
/auser Esper <Your Nick>
Code:
alias ident-esper { .msg nickserv identify &lt;password-entered-here&gt; }
on Esper:NICK: {
if ($nick == Your nick&gt;) &amp;&amp; ($network == EsperNet) { ident-esper }
}
I don't follow what /auser EsperNet Kijutsu would do. I know it adds my nick to the user list. But I'm not sure what it does for the script confused

I thank you for the reply tho. wink
It adds a user yes, but that script would only trigger for is in the user list under the level "Esper" which would be you, and you're welcome.
You have the right idea prefixing the event with 'me', but you have forgotten to at the user level to the beginning of the event as well.

Code:
alias ident-esper .msg nickserv identify &lt;password-entered-here&gt;
on me:[color:blue]*:[/color]NICK: if ($me == &lt;nickname&gt;) &amp;&amp; ($network == EsperNet) { ident-esper }


Add the section in blue and it should work.
D'oh!!! That makes perfect sense. Thanks a bunch for your help! grin

Confucious say: He who try to script while tired is stupid, and should find a bed. smirk
© mIRC Discussion Forums