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 

Problem with Identify Script

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
darton
Op


Joined: 21 Jan 2006
Posts: 155

PostPosted: Sat Feb 04, 2006 10:37 am    Post subject: Problem with Identify Script Reply with quote

Hello!
I have a problem with my Identify Script. It seems to me that my bot tries to identify itself every minute. And so the partyline is full with: "You are already identified."
How can I change it? This is my script:
Code:
#############################################################################################
##################### Identify Script for Eggdrop 1.3.x, 1.4.x, 1.5.x #######################
#############################################################################################


################################# HOW TO INSTALL #######################################
# Just type in the Settings and add Nickserv as a user in the userlist with the right host
# and give him the flag "I".. and you're done :)
########################################################################################



####### SETTINGS ########
set botnick_pass "hidden"
set bot_nick "hidden"
set nickserv_nick "NickServ"
#########################


###############################################################################
set keep-nick 1
bind notc - "*you*nick*" nick_in_use
bind notc - "*nick*use*" nick_in_use
bind notc - "*ill*nick*" nick_in_use
bind notc I "*msg*IDENTIFY*pass*" identify_to_nickserv

proc nick_in_use { nick uhost hand args rest } {
    global botnick botnick_pass bot_nick nickserv_nick
     if { $botnick != "$bot_nick" } {
      putserv "PRIVMSG $nickserv_nick :ghost $bot_nick $botnick_pass"
      putlog "Nick \002\[$bot_nick\]\002 is in use... Ghosting..."
      }
}

proc identify_to_nickserv { nick uhost hand args rest } {
 global botnick botnick_pass bot_nick nickserv_nick
  if { $botnick == "$bot_nick" } {
   putserv "PRIVMSG $nickserv_nick :identify $botnick_pass"
   putlog "Identifying for nick \002\[$bot_nick\]\002"
  } else {
   putlog "The nick \002\[$botnick\]\002 is not the nick specified in identify.tcl"
  }
}

bind dcc o identify manual_identify

proc manual_identify { hand idx mascara } {
 global nickserv_nick botnick_pass bot_nick
 putserv "PRIVMSG $nickserv_nick :identify $botnick_pass"   
 putlog "Identifying manualy for nick \002\[$bot_nick\]\002"
}
#######################################################################################
putlog "NickServ Identify Script by DrLinux - Loaded."
Back to top
View user's profile Send private message
CrazyEgg
Halfop


Joined: 28 Jul 2005
Posts: 47

PostPosted: Mon Feb 06, 2006 11:15 am    Post subject: Reply with quote

read this first:

http://forum.egghelp.org/viewtopic.php?t=11009
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Page 1 of 1

 
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