| View previous topic :: View next topic |
| Author |
Message |
COBRa Halfop
Joined: 04 Jan 2013 Posts: 49
|
Posted: Fri Apr 04, 2014 4:25 pm Post subject: putdccraw is deprecated. Please use putdcc/putnow instead. |
|
|
hi im getting tht error in my tcl i think its this proc thts causing it any help would be appreciated
| Code: | proc putnow {a {options "0"}} {
append a "\n"
putdccraw 0 [string length $a] $a
}
rename putserv ""
rename putquick ""
rename puthelp ""
proc putserv {text {options "0"}} {
putnow $text
}
proc putquick {text {options "0"}} {
putnow $text
}
proc puthelp {text {options "0"}} {
putnow $text
} |
|
|
| Back to top |
|
 |
SpiKe^^ Owner

Joined: 12 May 2006 Posts: 792 Location: Tennessee, USA
|
Posted: Fri Apr 04, 2014 9:28 pm Post subject: |
|
|
Just try that code without the putnow proc... | Code: | proc putnow {a {options "0"}} {
append a "\n"
putdccraw 0 [string length $a] $a
} |
and run the code looking more like this... | Code: |
rename putserv ""
rename putquick ""
rename puthelp ""
proc putserv {text {options "0"}} {
putnow $text
}
proc putquick {text {options "0"}} {
putnow $text
}
proc puthelp {text {options "0"}} {
putnow $text
}
|
_________________ SpiKe^^
Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
or visit the New Tcl Acrhive at www.tclarchive.org
. |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Sat Apr 05, 2014 5:59 pm Post subject: |
|
|
I'd suggest removing all that code alltogether...
Those queue-commands do exist for a reason. If you really want to spew out text unthrottled, you should use the putnow command in the first place... _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
|