This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

I have a small problem.. plz help

Old posts that have not been replied to for several years.
Locked
T
Taxi[USA]

I have a small problem.. plz help

Post by Taxi[USA] »

Guy's i need a script for Windrop: When he join the $chan he automaticly identify himslef to nickserv...
All scripts i tryed, witch u have here, in tcl archive doesnt work, so plz...

I dont need a script with this line tho:
< what nickserv says on connection
b ind notc - "*This nick is owned by someone else*">

It doesnt work if i chage it.....

I had a nice identify script , witch one i downloaded from here, but now,
i can find it....
On that script i had, i suposed to change just Bot nickname, his pass, and channel,

So if somebody know or have this script plz post it here in full..
Thx...
I hope u understand everything i ask for...
User avatar
CrazyCat
Revered One
Posts: 1359
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

Code: Select all

set nickserv "nickserv"
set chanserv "chanserv"
set hostserv "hostserv"
set pass "your_egg_pass"
set username "eggdrop_name

bind evnt - "init-server" ident:on
bind notc - "*IDENTIFY*" init:ident

proc ident:on { type } {
    global botnick nickserv hostserv pass username
    putserv "MODE $botnick +iB-ws"
    putquick "PRIVMSG $nickserv :GHOST $username $pass"
    putquick "PRIVMSG $nickserv :IDENTIFY $pass"
    putquick "PRIVMSG $hostserv :ON"
}

proc init:ident {nick uhost handle text {dest ""}} {
    global botnick nickserv hostserv pass 
    if {$dest == ""} {
	set dest $botnick
    }
    putserv "PRIVMSG $nickserv :identify $pass"
    putserv "PRIVMSG $hostserv :ON"
}
putlog "Initialization loaded"
You may ask "why using username and not botnick?"
Just because on a ping timeout, the eggdrop reconnects but his ghost is seen, so the eggdrop will use the alt-nick :)
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

to make it identify when joining $channel :

Code: Select all

set channel "#channel"

bind join - * identify:self

proc identify:self {nick uhost hand chan} {
if {[string match -nocase $::channel $chan] && [string match -nocase $::botnick $nick]} {
 putserv "PRIVMSG nickserv :identify PASSWORD"
 }
}
edit the nickserv-nick and identification command to suite you.
User avatar
user
&nbsp;
Posts: 1452
Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway

Post by user »

Sir_Fz wrote:

Code: Select all

[string match -nocase $::channel $chan] && [string match -nocase $::botnick $nick]
Using 'string match' to compare strings is not a good idea. Nicks and channel names might contain chars that have a special meaning when used in a mask. Use 'string equal' OR convert both strings to lowercase and use ==
Have you ever read "The Manual"?
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

ok then if {[string tolower $::channel] == [string tolower $chan] && [string tolower $::botnick] == [string tolower $nick]} { would be better :P
User avatar
BarkerJr
Op
Posts: 104
Joined: Sun Mar 30, 2003 1:25 am
Contact:

Post by BarkerJr »

Well, actually, the nick is always the same case. So, no need to lowercase it.
T
Taxi[USA]

hm

Post by Taxi[USA] »

Crazy Cat : Well, i have nickserv, chanserv and memoserv on my irc, so... i dont know if that gonna work, but thx anyway ill try and let u know...

And thx for every post, for answers... if it not gonna work i will post this problem here....

If u have any idia's without use'g chanserv and others services, just nickserv , post it here too....

Thx...
T
Taxi[USA]

hey

Post by Taxi[USA] »

After i loaded Sir_Fz script bot gets I -lined from server...
:( How can we fix it?

About CrazyCat script, with hostserv it doesnt work at all: i do have nickserv chanserv and memoserv....

Plz help me...
T
Taxi[USA]

hey guys...

Post by Taxi[USA] »

hey , i got another script: look>

------------------------------------------------------------------------------------
####### SETTINGS ########
set botnick_pass "*****"
set bot_nick "*****"
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 - Loaded."

-----------------------------------------------------------------------------------

but, problem is> Bot join channel, gets opped, and then i lined... how can i fix it? i havnt problem before with it....


[22:41:07] * Reject (~none@68.185.102.85) has joined #Taxi
[22:41:23] * ChanServ sets mode: +o Reject
[22:41:23] * Reject (~none@68.185.102.85) Quit (Quit: i-lines suck)


plz help me!!! Thx.. :cry:
e
egghead
Master
Posts: 481
Joined: Mon Oct 29, 2001 8:00 pm
Contact:

Re: hey guys...

Post by egghead »

Taxi[USA] wrote: [snip]
but, problem is> Bot join channel, gets opped, and then i lined... how can i fix it? i havnt problem before with it....

[22:41:07] * Reject (~none@68.185.102.85) has joined #Taxi
[22:41:23] * ChanServ sets mode: +o Reject
[22:41:23] * Reject (~none@68.185.102.85) Quit (Quit: i-lines suck)


plz help me!!! Thx.. :cry:
This usually is the result of the irc server setting a +r mode on a user, which has a different meaning on different networks.
On most networks it indicates a restricted connection, but on e.g. Dalnet it has a different meaning.
Check that you set nettype to the correct network.
T
Taxi[USA]

waw

Post by Taxi[USA] »

Thx >egghead< It help me a lot... I changed my Ircnet to Dalnet and it works, no more i - lines...
Thank u.... :lol:
Locked