botlending forum  

Go Back   botlending forum > Eggdrop & TCL > a&a light script

a&a light script a&a light script support, suggestions & discussions

Reply
 
LinkBack Thread Tools Display Modes
Old 21-04-2007, 03:49   #1 (permalink)
Junior Member
 
vR|Ar's Avatar
 
Join Date: Mar 2007
Location: PHIL
Posts: 6
Rep Power: 0
vR|Ar is an unknown quantity at this point
Send a message via Yahoo to vR|Ar
Default Chankey... error... help

Code:
proc chankey {chan args} {
  if {[channel get $chan chankey] && [botisop $chan]} {
  set chan [lindex $args 2]
  set chan [lindex $chan 1]
  set chankey [::stats::channel -get $chan chankey]
  if {[info exists chankey]} {
    putserv "JOIN $chan $chankey"
  }
}
}

Code:
bind raw - 475 chankey
!chanset chankey blabla
!chanset +chankey already executed





Help.. plz
__________________
v R | A r
vR|Ar is offline   Reply With Quote
Old 25-04-2007, 00:40   #2 (permalink)
lsn
Member
 
lsn's Avatar
 
Join Date: Jun 2004
Location: In the NeXuS
Posts: 160
Rep Power: 37
lsn will become famous soon enough
Default

Code:
proc chankey {chan args} {
  set chan [lindex $args 2]
  set chan [lindex $chan 1]
  set chankey [::stats::channel -get $chan chankey]
  if {[llength chankey]} {
    putserv "JOIN $chan $chankey"
  }
}
__________________
RESTRICTED AREA
lsn is offline   Reply With Quote
Old 03-05-2007, 13:27   #3 (permalink)
Junior Member
 
vR|Ar's Avatar
 
Join Date: Mar 2007
Location: PHIL
Posts: 6
Rep Power: 0
vR|Ar is an unknown quantity at this point
Send a message via Yahoo to vR|Ar
Default error... :(

Quote:
<AI-TCL> [09:24] Tcl error [chankey:key]: no such channel record



bind raw - 475 chankey:key
__________________
v R | A r
vR|Ar is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Correct script] putchan error SoLLo Tcl scripting 4 30-06-2007 13:45
eggdrop 1.6.17 error OryNider Eggdrop 5 10-09-2006 12:54


All times are GMT +3. The time now is 15:45.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.