mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Aug 2003
Posts: 3
K
Kijutsu Offline OP
Self-satisified door
OP Offline
Self-satisified door
K
Joined: Aug 2003
Posts: 3
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!


Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
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 }
}

Joined: Aug 2003
Posts: 3
K
Kijutsu Offline OP
Self-satisified door
OP Offline
Self-satisified door
K
Joined: Aug 2003
Posts: 3
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


Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
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.

Joined: May 2003
Posts: 215
Fjord artisan
Offline
Fjord artisan
Joined: May 2003
Posts: 215
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.


- Jason
Joined: Aug 2003
Posts: 3
K
Kijutsu Offline OP
Self-satisified door
OP Offline
Self-satisified door
K
Joined: Aug 2003
Posts: 3
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



Link Copied to Clipboard