This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Counter-strike script

Old posts that have not been replied to for several years.
Locked
Z
Zych3r

Counter-strike script

Post by Zych3r »

i can find out whats worng.. :o
i do get this error:

[12:35] bad type, should be one of: act, away, bcst, bot, chat, chjn, chof, chon, chpt, dcc, disc, evnt, filt, link, load, nkch, note, time, unld
while executing
"bind pub - cs cs"
(file "scripts/cs.tcl" line 9)
invoked from within
"source scripts/cs.tcl"
(file "zych3r.conf" line 1)
[12:35] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)


Code: Select all

set cs_server "213.187.168.47"
set cs_user ""
set cs_time ""

bind pub - cs cs
proc cs {nick userhost handle channel arg} {
  global cs_server cs_user cs_time
  if {$arg == "clear"} {
    set cs_server ""
    set cs_user ""
    set cs_time ""
    putquick "PRIVMSG $channel :CS Server cleared"
  } else {
    if {[lindex $arg 0] == ""} {
      if {[lindex $cs_server 0] == ""} {
        putquick "PRIVMSG $channel :There have been no servers set"
      } else {
        putquick "PRIVMSG $channel :$cs_server set by $cs_user at $cs_time"
      }
    } else {
      set cs_user "$nick"
      set cs_server "$arg"
      set cs_time [clock format [clock seconds] -format "%r on %a %B %d, %Y"]
      putquick "PRIVMSG $channel :Remembering server $arg"
    }
  }
}

set revision {$Revision: 1.2 $}
regexp {Revision: (.*) \$} $revision all ver
putlog "cs.tcl v$ver loaded..."
e
egghead
Master
Posts: 481
Joined: Mon Oct 29, 2001 8:00 pm
Contact:

Re: Counter-strike script

Post by egghead »

Zych3r wrote:i can find out whats worng.. :o
i do get this error:

[12:35] bad type, should be one of: act, away, bcst, bot, chat, chjn, chof, chon, chpt, dcc, disc, evnt, filt, link, load, nkch, note, time, unld
while executing
"bind pub - cs cs"
[snip]
[/code]
"bind PUB" requires the irc module to be loaded.
Z
Zych3r

Post by Zych3r »

tanks :D
C
Carnage69
Halfop
Posts: 64
Joined: Sat Jun 07, 2003 8:25 pm

ii

Post by Carnage69 »

i cant find anything wrong eather gj on that one :)
C
Carnage69
Halfop
Posts: 64
Joined: Sat Jun 07, 2003 8:25 pm

my bad

Post by Carnage69 »

i did find something wrong but it was corected earlyer DA :roll: :roll:
Locked