Bot sets modes when owner joins.

General support and discussion of Eggdrop bots.
Post Reply
S
StarLion
Voice
Posts: 16
Joined: Tue Dec 20, 2005 6:15 pm

Bot sets modes when owner joins.

Post by StarLion »

Whenever an owner (current flags: jlmnoptx global, no channel) joins a channel my bot has ops on, the bot procedes to try and set modes on the channel equal to the owner's name. IE: Cecilia joins the channel, the bot tries to set +Cecila on the channel, which on my particular network gets truncated to +ci for invalid modes. This is extremely annoying and NOT what the bot is supposed to do.

Any ideas?
User avatar
Sir_Fz
Revered One
Posts: 3793
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Do you have any scripts loaded that might be causing this conflict?
S
StarLion
Voice
Posts: 16
Joined: Tue Dec 20, 2005 6:15 pm

Post by StarLion »

The only non-standard scripts:
dice.tcl (A die roller that doesnt even contain the word 'mode' in it)
av.tcl :

Code: Select all

bind join - * join:auto_voice

proc join:auto_voice {nick host hand chan} {
 pushmode $chan +v $nick
}
Though judging by the 'timing' of the mode change (I've noticed it also triggers whenever the owner is deoped), i dont think this script is the problem.
User avatar
BarkerJr
Op
Posts: 104
Joined: Sun Mar 30, 2003 1:25 am
Contact:

Post by BarkerJr »

What IRC server version is the network? See /version.
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

StarLion wrote:The only non-standard scripts:
dice.tcl (A die roller that doesnt even contain the word 'mode' in it)
av.tcl :

Code: Select all

bind join - * join:auto_voice

proc join:auto_voice {nick host hand chan} {
 pushmode $chan +v $nick
}
Though judging by the 'timing' of the mode change (I've noticed it also triggers whenever the owner is deoped), i dont think this script is the problem.
What does your Global Channel options look like? And exactly what scripts are you loading?
Post Reply