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 

problems with sentinel.tcl

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive
View previous topic :: View next topic  
Author Message
CrazyEgg
Halfop


Joined: 28 Jul 2005
Posts: 47

PostPosted: Fri Aug 12, 2005 4:21 pm    Post subject: problems with sentinel.tcl Reply with quote

well today i make update to one of the bots with
netbots.tcl v4.10
and sentinel.tcl component script

i find out minnor errors like:

missing proc and giving error: invalid command name "nb_killutimer"

this is the proc what missing:

Code:
proc nb_killutimer {cmd} {
  set n 0
  regsub -all -- {\[} $cmd {\[} cmd ; regsub -all -- {\]} $cmd {\]} cmd
  foreach tmr [utimers] {
    if {[string match $cmd [join [lindex $tmr 1]]]} {
      killutimer [lindex $tmr 2]
      incr n
    }
  }
  return $n
}


next error was :
Tcl error [sl_pfloodk]: can't read "sl_flooded(#......)": no such variable
Tcl error [sl_jflood]: can't read "sl_locked(#......)": no such variable

I found this mistake:
Code:
nb_killutimer "sl_unlock $chan*"


the correct code i thing that is :

Code:
nb_killutimer "sl_unlock $chan *"


cause Slennox is bussy as i read to the forum can someone tell me if that what i made was correct?
If are correct then is mutch better to upload netbots4.10 corrected.
Thanks a lot
Back to top
View user's profile Send private message
Alchera
Revered One


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

PostPosted: Fri Aug 12, 2005 6:14 pm    Post subject: Reply with quote

From netbots.tcl:
Code:
proc nb_killutimer {cmd} {
....... etc
}

From sentinel.tcl:
Code:
set sl_flooded($chan) ... etc


I'd suggest downloading netbots archive again and start from scratch.
_________________
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
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive 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