egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Server says bot's nick is invalid
Goto page Previous  1, 2
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Thu Sep 23, 2004 1:42 am    Post subject: Reply with quote

Given the second scenario would ghosting the nick be an easier solution?
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
awyeah
Revered One


Joined: 26 Apr 2004
Posts: 1580
Location: Switzerland

PostPosted: Thu Sep 23, 2004 8:39 pm    Post subject: Reply with quote

Alchera wrote:
Given the second scenario would ghosting the nick be an easier solution?


I guesss so. But that would always be handy if someone is using the bot's nick at anytime, not only when it has an enforcer or when it is held.
_________________
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
devilsoulblack
Halfop


Joined: 19 Nov 2003
Posts: 62
Location: Chile

PostPosted: Fri Sep 24, 2004 6:21 pm    Post subject: Reply with quote

awyeah wrote:
What you can do here is directly bind to the raw number as you have done, 432 if its correct or string match the $arg or $text var.

Quote:

This is the raw and not 'Server say nick is invalid.' You will need to match for the following text:

The nick asskicker is currently being held by a Services Enforcer. If you are the nicks owner, use /msg NickServ@services.dal.net RELEASE asskicker password to release the nickname. If the nickname recently expired, please wait patiently and try again later. [asskicker]


Code:

bind raw - 432 nickserv:release

proc nickserv:release {from keyword arg} {
 global botnick nickpass nick altnick
  putquick "NICK $altnick" -next
  #putquick "NICK $nick[rand 10][rand 10]" #for alternative nick
  puthelp "PRIVMSG NickServ@services.dal.net :RELEASE $nick $nickpass"
  return 0
}

or

bind raw - * nickserv:release

proc nickserv:release {from keyword arg} {
 global botnick nickpass nick altnick
 if {([string match "*The nick * is currently being held by a Services Enforcer. If you are the nicks owner*" $arg])} {
  putquick "NICK $altnick" -next
  #putquick "NICK $nick[rand 10][rand 10]" #for alternative nick
  puthelp "PRIVMSG NickServ@services.dal.net :RELEASE $nick $nickpass"
  return 0
  }
}


Note: I used puthelp for the delay in releasing the nick after you are connected and putquick -next for the nick change when you are connecting, which might solve it, if possible.

The thing is, mostly it doesn't let you kill the enforcer or release the nick when it gives you the raw message. You have to switch to an alternative nick, then bind init-server or something then go ahead and release that nick after you have connected to the server, not while you are connecting to it or when it is giving you that error message.

You cannot release the nick enforcer when it gives you that error message, and that is really crappy I say, the coders should atleast let people release it when they get the error while connecting.

The thing is that you are not fully connected to the client server, hence you cannot message nickserv to release your nick while you get that message. Untill you are fully connected then only you can.


where put the nick of the eggdrop and the passwd of the eggdrop ?¿
_________________
---------
Add [SOLVED] to the thread title if your issue has been.
Search - FAQ
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
awyeah
Revered One


Joined: 26 Apr 2004
Posts: 1580
Location: Switzerland

PostPosted: Sat Sep 25, 2004 9:25 am    Post subject: Reply with quote

This is not tested, though.
Replace the nick password with $nickpass.

You don't have to set $botnick as will be read as the bots current nick which is being used on irc either it will be $nick or $altnick or any other nick. As for $nick it will be the bots main nick set in the configuration file and $altnick will be the alternate nick (will be used if main nick, $nick is in use) which is also defined in the configuration file.
_________________
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
qwek
Voice


Joined: 21 Sep 2004
Posts: 35
Location: space

PostPosted: Mon Oct 04, 2004 6:53 am    Post subject: Reply with quote

awyeah: i have a problem same with you, all my bot can't get in to dalnet. i really hate this way that dalnet threat this way.

is that code really works? how about setup in conf file using
putserv "privmsg nickserv@services.dal.net :release <yourbotnick> <passwdnickbot>"

hehe that's a manual for me.


regards,
qwek
Back to top
View user's profile Send private message
awyeah
Revered One


Joined: 26 Apr 2004
Posts: 1580
Location: Switzerland

PostPosted: Mon Oct 04, 2004 7:07 am    Post subject: Reply with quote

Read the posts above and utilize the scripts posted by some users and myself. Some ought to work!
_________________
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
cachak
Voice


Joined: 31 Jan 2006
Posts: 2

PostPosted: Tue Jan 31, 2006 9:15 pm    Post subject: script nickrelease.tcl Reply with quote

i create this script after i know raw 432 Smile
thanks

Code:

set aslinick $nick
set needrelease 0
bind raw - 432 release_nick
proc release_nick {from key text} {
   global botnick nick altnick needrelease
   if {[string match "*Services*RELEASE*nickname*please wait patiently and try again later*" " $text "]} {
      set keep-nick 0
      set needrelease 1
      set nick "$altnick"
      putlog "Change nick to $altnick and then jump."
      jump
   }
}

bind notc - "*Do not share your password with anyone*" releasenick2
proc releasenick2 {n uhost hand text dest} {
        global nickbot passwordbot needrelease aslinick
        set nickserv "nickserv"
   if {$needrelease == 1} {
        if {[string match [string tolower $n] [string tolower $nickserv]]} {
                putlog "Release to NickServ for $aslinick."
                putserv "PRIVMSG NickServ@services.dal.net :release $aslinick $passwordbot"
        }
   }
}

bind notc - "The nickname * has been released." success_release
proc success_release {n uhost hand text dest} {
        global nickbot passwordbot needrelease aslinick
        set nickserv "nickserv"
   if {$needrelease == 1} {
        if {[string match [string tolower $n] [string tolower $nickserv]]} {
                putlog "Success Release."
      putserv "NICK $aslinick"
      set keep-nick 1
      set needrelease 0
      set nick "$aslinick"
      putlog "Change nick to $aslinick"
        }
   }
}
bind notc - "*is currently being held by a Services Enforcer. If you are the nicks owner, use *msg NickServ@services.dal.net RELEASE*" notc_nick_release
proc notc_nick_release {n uhost hand text dest} {
        global nickbot passwordbot needrelease aslinick
        set nickserv "nickserv"
   if {$needrelease == 0} {
        if {[string match [string tolower $n] [string tolower $nickserv]]} {
      putlog "Release to NickServ for $aslinick."
      putserv "PRIVMSG NickServ@services.dal.net :release $aslinick $passwordbot"
      set keep-nick 0
      set needrelease 1
      set nick "$altnick"
      putlog "Change nick to $altnick"
      putserv "NICK $altnick"
        }
   }
}
putlog "nick release v 0.1"

Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Wed Feb 01, 2006 10:11 am    Post subject: Reply with quote

This script could be of great assistance to those on DALnet using eggdrop.
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Mon Mar 13, 2006 5:18 pm    Post subject: Reply with quote

Minor fix to the above script; the author left out the 'passwordbot' setting:
Change:
Code:
set aslinick $nick
set needrelease 0

to:
Code:
set aslinick $nick
set needrelease 0
set passwordbot "PutYourBotPassHere"

... replacing 'PutYourBotPassHere' with your actual botnick password.
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber