mIRC Home    About    Download    Register    News    Help

Topic Options
#43614 - 22/08/03 09:00 PM Personal Script - On NICK remote scripts...
Kijutsu Offline
Self-satisified door

Registered: 22/08/03
Posts: 3
Loc: Romulus, MI
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!
_________________________

Top
#43615 - 22/08/03 09:37 PM Re: Personal Script - On NICK remote scripts...
SladeKraven Offline
Planetary brain

Registered: 19/12/02
Posts: 3547
Loc: Kent, England
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 }
}

Top
#43616 - 22/08/03 09:39 PM Re: Personal Script - On NICK remote scripts...
Kijutsu Offline
Self-satisified door

Registered: 22/08/03
Posts: 3
Loc: Romulus, MI
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
_________________________

Top
#43617 - 22/08/03 09:44 PM Re: Personal Script - On NICK remote scripts...
SladeKraven Offline
Planetary brain

Registered: 19/12/02
Posts: 3547
Loc: Kent, England
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.

Top
#43618 - 22/08/03 10:49 PM Re: Personal Script - On NICK remote scripts...
lammkott Offline
Fjord artisan

Registered: 12/05/03
Posts: 215
Loc: Australia
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

Top
#43619 - 22/08/03 11:17 PM Re: Personal Script - On NICK remote scripts...
Kijutsu Offline
Self-satisified door

Registered: 22/08/03
Posts: 3
Loc: Romulus, MI
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
_________________________

Top