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.

voice - devoice - unban

General support and discussion of Eggdrop bots.
Post Reply
User avatar
Cr4sh
Halfop
Posts: 63
Joined: Sat Jan 14, 2006 5:16 pm
Contact:

voice - devoice - unban

Post by Cr4sh »

Hi guys, i've a eggdrop v1.6.18 on a win machine.
I' ve set in the config -dynamicexempts, -dynamicbans, -nodesynch and the ban time to 0.
I use a tcl script to give +v at all user who join in the channel.

Code: Select all

## allvoice.tcl
##  - voices everyone in a channel when they join


# What channels should this work on?
#  - note, "" is for all channels
set avchan ""

## Begin the code

bind join - * avjoin

proc avjoin {nick uhost hand chan} {
 global avchan botnick
 if {$nick == $botnick} {return 0}
 if {$avchan == "" && [botisop $chan]} {
  pushmode $chan +v $nick
  return 0
 }
 set chan [string tolower $chan]
 foreach i [string tolower $avchan] {
  if {$i == $chan && [botisop $chan]} {
   pushmode $chan +v $nick
   return 0
  }
 }
}
Now, when the bot join in the channel give the +v to himself (error), remove all the ban in the channel list and if I give +v to anybody remove it it in any case...
In the party line i can see a message: Abusing desync.
What can i do to resolve?

P.S. excuse me for my poor english...
Last edited by Cr4sh on Sat Jan 21, 2006 3:48 pm, edited 1 time in total.
User avatar
Cr4sh
Halfop
Posts: 63
Joined: Sat Jan 14, 2006 5:16 pm
Contact:

Post by Cr4sh »

Probably my problem it's not interesting or very difficult to resolve...
In any case thank you to everybody. :(
User avatar
Sir_Fz
Revered One
Posts: 3793
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Make sure your net-type setting is correct (in the .conf file), if it's correct then try
.chanset #channel +nodesynch
User avatar
Cr4sh
Halfop
Posts: 63
Joined: Sat Jan 14, 2006 5:16 pm
Contact:

Post by Cr4sh »

Sir_Fz wrote:Make sure your net-type setting is correct (in the .conf file), if it's correct then try
.chanset #channel +nodesynch
Thx Sir_Fz :D

Probably my question is stupid...what did you mean with "net-type setting is correct"? :?

Again...if you say to try

Code: Select all

.chanset #channel +nodesynch
and it seems to work good, then i must set in the config +nodesync and not -nodesync.... :oops:
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

# What is your network?
# 0 = EFnet
# 1 = IRCnet
# 2 = Undernet
# 3 = DALnet
# 4 = +e/+I/max-modes 20 Hybrid
# 5 = Others
set net-type 0
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
Cr4sh
Halfop
Posts: 63
Joined: Sat Jan 14, 2006 5:16 pm
Contact:

Post by Cr4sh »

Alchera wrote:
# What is your network?
# 0 = EFnet
# 1 = IRCnet
# 2 = Undernet
# 3 = DALnet
# 4 = +e/+I/max-modes 20 Hybrid
# 5 = Others
set net-type 0
Thx Alchera, probably i don't read good all the forum..
These informations are here?
User avatar
caesar
Mint Rubber
Posts: 3776
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

No, the 'net-type' setting is in the eggdrop's .conf file. Also, do what you where sugested to fix your problem.
Once the game is over, the king and the pawn go back in the same box.
User avatar
Cr4sh
Halfop
Posts: 63
Joined: Sat Jan 14, 2006 5:16 pm
Contact:

Post by Cr4sh »

Ok, but I mean if informations as the code-net list are somewhere here in the forum. :)
User avatar
Sir_Fz
Revered One
Posts: 3793
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

If you searched the forum, you would've quickly found the solution.
User avatar
Cr4sh
Halfop
Posts: 63
Joined: Sat Jan 14, 2006 5:16 pm
Contact:

Post by Cr4sh »

Thank you very much for all, of course i'll can search when i'll know what to search. :P
Post Reply