mIRC Homepage

Personal Script - On NICK remote scripts...

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!
Posted By: SladeKraven

Re: Personal Script - On NICK remote scripts... - 22/08/03 08:37 PM

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 }
}
Posted By: Kijutsu

Re: Personal Script - On NICK remote scripts... - 22/08/03 08:39 PM

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
Posted By: SladeKraven

Re: Personal Script - On NICK remote scripts... - 22/08/03 08:44 PM

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.
Posted By: lammkott

Re: Personal Script - On NICK remote scripts... - 22/08/03 09:49 PM

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.
Posted By: Kijutsu

Re: Personal Script - On NICK remote scripts... - 22/08/03 10:17 PM

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
© 2019 mIRC Discussion Forums