Results 1 to 3 of 3

Thread: Chankey... error... help

  1. #1
    Junior Member vR|Ar's Avatar
    Join Date
    Mar 2007
    Location
    PHIL
    Posts
    6
    Rep Power
    0

    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

  2. #2
    Member lsn's Avatar
    Join Date
    Jun 2004
    Location
    In the NeXuS
    Posts
    161
    Rep Power
    92

    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

  3. #3
    Junior Member vR|Ar's Avatar
    Join Date
    Mar 2007
    Location
    PHIL
    Posts
    6
    Rep Power
    0

    Default error... :(

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



    bind raw - 475 chankey:key
    v R | A r

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Correct script] putchan error
    By SoLLo in forum Tcl scripting
    Replies: 4
    Last Post: 30-06-2007, 12:45
  2. eggdrop 1.6.17 error
    By OryNider in forum Eggdrop
    Replies: 5
    Last Post: 10-09-2006, 11:54
  3. Replies: 3
    Last Post: 17-07-2004, 14:03
  4. Replies: 8
    Last Post: 17-07-2004, 03:46

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •