mIRC Home    About    Download    Register    News    Help

Print Thread
Identify #16146 20/03/03 07:45 AM
Joined: Dec 2002
Posts: 17
M
merc Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: Dec 2002
Posts: 17
I'd like to be recognised by the nickserv nomatter how many times i change my nick,while im connected.I have put in my remote:/ns identify pass but this seems to work only for the first time im connected to irc..Any ideas?
Thx!!

Re: Identify #16147 20/03/03 08:27 AM
Joined: Dec 2002
Posts: 843
P
Poppy Offline
Hoopy frood
Offline
Hoopy frood
P
Joined: Dec 2002
Posts: 843
Assuming your other nicks are registered, type /ns recover <nick> <password> smile


Never compare yourself to others - they're more screwed up than you think.
Re: Identify #16148 20/03/03 09:48 AM
Joined: Dec 2002
Posts: 17
M
merc Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: Dec 2002
Posts: 17
U mean type/ns recover nick pass every time?

Re: Identify #16149 20/03/03 10:24 AM
Joined: Dec 2002
Posts: 843
P
Poppy Offline
Hoopy frood
Offline
Hoopy frood
P
Joined: Dec 2002
Posts: 843
No, put it in 'perform on connect'.


Never compare yourself to others - they're more screwed up than you think.
Re: Identify #16150 20/03/03 12:32 PM
Joined: Dec 2002
Posts: 17
M
merc Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: Dec 2002
Posts: 17
Nope the cs asks for identify and after 20 kicks me out:((
All i do i change my nick to my other(s) nick which is of course register...

Re: Identify #16151 20/03/03 03:41 PM
Joined: Dec 2002
Posts: 17
M
merc Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: Dec 2002
Posts: 17
Iment the ns s_it!!!!

Re: Identify #16152 20/03/03 05:29 PM
Joined: Dec 2002
Posts: 3,127
P
ParaBrat Offline
Hoopy frood
Offline
Hoopy frood
P
Joined: Dec 2002
Posts: 3,127
ok, im confuzzled.
First, re perform: if you mean that when you connect you want to autoidentify to a nick, then you could put the /identify password into file/options/connect/perform and check the lil box that says "enable perform on connect" instead of putting it in a remote.

Next, do you mean you want to autoidentify for any nick you have registered that you connect with, or for any registered nicks you change to later on? or both?

Diff networks have diff commands, and im used to using recover to have my nick taken back if someone else is using it, i dunno what it means on the network you use, so i cant comment on putting that someplace.

i'm not a scripter, but maybe you want an if-then-else thingie, like if my nick is blah, then /identify thepasswordforthatnick. i know ppl use scripts that automatically identify to all their nicks every time they connect, i imagine they use the /identify nick password for each nick in a script somehow, (or maybe in perform) so that may be what would work best for you. Yeah, that would solve your problem, unless you have a bazillion nicks that would make nickserv cranky if you were identifying to them all at once when you connect.

We have lots of scripters, so im sure if you say exactly which of the above (or something i didnt guess) you want, that someone will help you do it.

disclaimer: brat has absolutely no clue whatsoever about scripting so any comments with words like "if-then-else" are given with eyes crossed and are guesses





ParaBrat @#mIRCAide DALnet
Re: Identify #16153 20/03/03 07:26 PM
Joined: Dec 2002
Posts: 843
P
Poppy Offline
Hoopy frood
Offline
Hoopy frood
P
Joined: Dec 2002
Posts: 843
In addition to perform on connect, you could put this in your remote for when you change nick:
on 1:NOTICE:*This nickname is owned by*:*:nickserv identify <password>
This will auto-identify you every time you change to any of your registered nicks.


Never compare yourself to others - they're more screwed up than you think.
Re: Identify #16154 21/03/03 01:58 AM
Joined: Mar 2003
Posts: 272
C
c0ldfusi0n Offline
Fjord artisan
Offline
Fjord artisan
C
Joined: Mar 2003
Posts: 272
Code:
On 1:NOTICE:*:?: {
  if ($nick == NickServ) {
    if ((is owned by someone else isin $1-) || (Please identify isin $1-)) {
      if ([ % $+ [ $me ] ] == $null) { echo -a Password unknown for ' $+ $me $+ ' Type /setpass &lt;Pass&gt; to store a pass for this nick | halt }
      else { .nickserv IDENTIFY $decode([ % $+ [ $me ] ]) }
      if ($me !isnotify) { .notify $me Do not delete this entry - used for auto-ghost }
    }
  }
}

on ^*:NOTIFY: { 
  if ($nick != $me) &amp;&amp; (% [ $+ [ $nick ] ] != $null) { .ns ghost $nick $decode(% [ $+ [ $nick ] ]) | halt }
  elseif ($nick == $me) { halt }
}

alias setpass { echo -a Password for $me set to $1 | set [ % $+ [ $me ] ] $encode($1) | .ns identify $me $1 }


In there you have an auto identifier and an auto ghost, make sure the services on the network you chat on use the syntax used above, that is /ns identify <pass> and /ns ghost <nick> <pass>.

I won't try to thouroughly explain what's this script doing, however i want you to take a look at it and try to understand what it's doing, otherwise you will never learn.

Briefly, here's what it does:
1) When nickserv asks you to identifiy, the script gets triggered and asks you to set a password for that nickname using /setpass <Password>. It then adds the nickname to your notify list.
2) Everything nickserv asks for your password, you will (probably) not see anything, but in the background, the script will send your password to nickserv.
3) Everytime a notify is triggered (your nick gets online) the script will automatically ghost it.


I may have forgot some parts of the script since this is taken from an alias file and two remotes files, if it doesn't work, just reply to the post and i'll look into it.

Hope it helps.


- cF
Dedicated helper for rent.
Re: Identify #16155 21/03/03 10:18 AM
Joined: Feb 2003
Posts: 8
S
ScripTeas Offline
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
S
Joined: Feb 2003
Posts: 8
coldfusion explains most every thing in his post but as most people know by now that there are many ways to code the same thing but in this case with a few diffences, as the code that will follow. This might give a little better example of how to make it function more securly and in my opinion a bit better by intagrating more network sevices
for example dreamnet dosnt have nickserv they have Nicksys
useing the statment if (Nick* iswm $nick) should solve this.
also i think its wise to check whom your sending your passwords to, the code below also does this by checkin if the network is the same as the wildsite requesting your indent. and last but not least we all know there are many lamers out there that try to get your passes, so you might try useing raw commands to send your pass dirctly to the server /!raw message.
these are just a few ideas on how to get your auto-ident scripts to be a bit more secure an network friendly.
note: this code work with all the networks i have tryed including the larger ones like dal down to the smaller networks
but still its ment to be an example and i hope it helps
;-----------------------------------------------
on *:NOTICE:*:?:{
if (Nick* iswm $nick) {
var %nwork = $remove($network,$chr(46)) | var %wsite = $remove($wildsite,$chr(46))
if ((%nickpass != $null) && (* $+ %nwork $+ * iswm %wsite) && (This nickname is registered and protected* iswm $1-)) { !raw $nick identify %nickpass }
if ((%nickpass != $null) && (* $+ %nwork $+ * iswm %wsite) && (This nick is owned by someone else* iswm $1-)) { !raw $nick identify %nickpass }
if (%nopass == nope) { halt }
if (!%nickpass) { set -u5 %nopass nope | echo 04 -a - Error No Pass to Send | echo 04 -a to set one now type type: /nickpass | return }
}
alias nickpass {
set %nickpass $$?="No PassWord Found For Nickserv $crlf $+ Enter Your PassWord For Auto Ident"
if (%nickpass) { !raw nickserv identify %nickpass }
}
;-------------------------------------------


This Isnt Your Moms Site! :P
Re: Identify #16156 21/03/03 11:51 AM
Joined: Mar 2003
Posts: 272
C
c0ldfusi0n Offline
Fjord artisan
Offline
Fjord artisan
C
Joined: Mar 2003
Posts: 272
I agree with your points, i should have used the RAW instead of a simple message. However my code allows an user to store more than one nickname, while yours allows only one alias to be set (%nickpass). Also, someone with the nickname 'Nicksevr' could easly trigger the script, fortunately you used RAWs blush) One last thing would be that not all networks will return something after calling the $Network identifier... i guess you could just $gettok the $server name...

I think both codes are good, with a few difference, but still good.


- cF
Dedicated helper for rent.
Re: Identify #16157 23/03/03 05:02 AM
Joined: Feb 2003
Posts: 8
S
ScripTeas Offline
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
S
Joined: Feb 2003
Posts: 8
Dont miss understand Coldfusion i wasnt flaming ya m8, just giving a hint or 2 on how people might make it more secure. like i said there are many ways to script the same thing.

tho i think i should say that someone useing nicksrve for a scam CAN NOT trigger it unless they can also match the $wildsite like --> nicksrve@dal.net
And using raw makes it impossible smile

Peace


This Isnt Your Moms Site! :P