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 

Keepout Script Error

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


Joined: 15 Oct 2005
Posts: 8

PostPosted: Thu Oct 20, 2005 5:38 am    Post subject: Keepout Script Error Reply with quote

i get this error when i try to use keepout script

Quote:
Tcl error [::keepout::joinchan]: can't read "arguments": no such variable


Code:
proc keepout::joinchan {nickname hostname handle channel} {
 if {[channel get $channel keepout] && ![matchattr $handle $keepout::flags $channel] && [botisop $channel]} {
  putquick "MODE $channel +b [ban $hostname]"
  set kickmsg [lindex $keepout::kickmsg [rand [llength $keepout::kickmsg]]]
  putquick "KICK $channel $nickname :[string map "%nick $nickname %host $hostname %chan $channel" $kickmsg]"
 }
}


rest of the script
http://www.nomorepasting.com/paste.php?pasteID=50838
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Thu Oct 20, 2005 7:41 pm    Post subject: Reply with quote

Wrong forum! Moved!
_________________
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
De Kus
Revered One


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Sat Oct 22, 2005 7:55 am    Post subject: Reply with quote

error is there Razz
Code:
113      proc keepout::ban {host} {
114       if {![string match *users.quakenet* $host]} {
115        return "[string map "~ *" *!$host]"
116       } else {
117        return "*!*@[lindex [split $arguments] 0]"
118       }
119      }

thats why you should use the '.set errorInfo' for debugging.
_________________
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
Back to top
View user's profile Send private message MSN Messenger
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