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 

voice - devoice - unban

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
Cr4sh
Halfop


Joined: 14 Jan 2006
Posts: 63

PostPosted: Sun Jan 15, 2006 11:42 am    Post subject: voice - devoice - unban Reply with quote

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:
## 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
Back to top
View user's profile Send private message Visit poster's website
Cr4sh
Halfop


Joined: 14 Jan 2006
Posts: 63

PostPosted: Tue Jan 17, 2006 2:40 pm    Post subject: Reply with quote

Probably my problem it's not interesting or very difficult to resolve...
In any case thank you to everybody. Sad
Back to top
View user's profile Send private message Visit poster's website
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Tue Jan 17, 2006 3:32 pm    Post subject: Reply with quote

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

_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
Cr4sh
Halfop


Joined: 14 Jan 2006
Posts: 63

PostPosted: Tue Jan 17, 2006 3:50 pm    Post subject: Reply with quote

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


Thx Sir_Fz Very Happy

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

Again...if you say to try
Code:
.chanset #channel +nodesynch

and it seems to work good, then i must set in the config +nodesync and not -nodesync.... Embarassed
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: Tue Jan 17, 2006 5:02 pm    Post subject: Reply with quote

Quote:
# 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
Back to top
View user's profile Send private message Visit poster's website
Cr4sh
Halfop


Joined: 14 Jan 2006
Posts: 63

PostPosted: Tue Jan 17, 2006 5:16 pm    Post subject: Reply with quote

Alchera wrote:
Quote:
# 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?
Back to top
View user's profile Send private message Visit poster's website
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Tue Jan 17, 2006 5:54 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Cr4sh
Halfop


Joined: 14 Jan 2006
Posts: 63

PostPosted: Tue Jan 17, 2006 6:06 pm    Post subject: Reply with quote

Ok, but I mean if informations as the code-net list are somewhere here in the forum. Smile
Back to top
View user's profile Send private message Visit poster's website
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Tue Jan 17, 2006 7:33 pm    Post subject: Reply with quote

If you searched the forum, you would've quickly found the solution.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
Cr4sh
Halfop


Joined: 14 Jan 2006
Posts: 63

PostPosted: Wed Jan 18, 2006 1:30 pm    Post subject: Reply with quote

Thank you very much for all, of course i'll can search when i'll know what to search. Razz
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
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