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.

Script containing some abuse.

Old posts that have not been replied to for several years.
User avatar
Sir_Fz
Revered One
Posts: 3793
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

found these in a script:

Code: Select all

foreach chan [channels] {
  if {![info exists tslines([strlwr $chan])]} {
    set tslines([strlwr $chan]) 0
  }
  if {![info exists tsnotc([strlwr $chan])]} {
    set tsnotc([strlwr $chan]) 0
  }
} 
proc tsunami:pub {nick uhost hand chan text} {
  global tslines lineblist
[snip]

if {![info exists tslines([strlwr $chan])]} { set tslines([strlwr $chan]) 0 }
[snip]
incr tslines([strlwr $chan])
[snip]
if {$tslines([strlwr $chan]) >= $lines} { 
      putquick "MODE [strlwr $chan] +$::linemds" -next
[snip]
proc tsreset {args} {
  global tslines tsnotc
  switch -- [lindex $args 0] {
    "tlines" {
      incr tslines([strlwr [lindex $args 1]]) -1
      return
    }
[snip]
proc tsunami:part {nick uhost hand chan msg} {
  global tslines tsnotc
  if {$nick != $::botnick} {  
    return
  }
  foreach arr_part [array names tslines] {
[snip]
V
Volume
Halfop
Posts: 84
Joined: Fri May 23, 2003 5:08 am

Post by Volume »

i would test this script on eggdrop 1.6.15 but the bot go off
[00:28:37] <Pferd> [00:30] Tcl error in file 'pferd.conf':
[00:28:37] <Pferd> [00:30] can't read "cp_chans": no such variable
[00:28:37] <Pferd> while executing
[00:28:37] <Pferd> "string tolower $cp_chans"
[00:28:37] <Pferd> invoked from within
[00:28:37] <Pferd> "set cp_chans [string tolower $cp_chans] "
[00:28:37] <Pferd> (file "scripts/clonepro.tcl" line 76)
[00:28:37] <Pferd> invoked from within
[00:28:37] <Pferd> "source scripts/clonepro.tcl"
[00:28:37] <Pferd> (file "pferd.conf" line 1384)
[00:28:37] <Pferd> [00:30] * KONFIGURATIONSDATEI NICHT GELADEN (NICHT GEFUNDEN ODER FEHLER)
-
DCC session closed
[00:35] Tcl error in file 'pferd.conf':
[00:35] can't read "cp_chans": no such variable
while executing
"string tolower $cp_chans"
invoked from within
"set cp_chans [string tolower $cp_chans] "
(file "scripts/clonepro.tcl" line 76)
invoked from within
"source scripts/clonepro.tcl"
(file "pferd.conf" line 1384)
[00:35] * KONFIGURATIONSDATEI NICHT GELADEN (NICHT GEFUNDEN ODER FEHLER)
pferd@server1$
User avatar
Sir_Fz
Revered One
Posts: 3793
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

because its not the whole script. I just pasted some lines from the script.

anyway its very raire for that error to appear, I never saw it again after my last post in this thread.
Locked