What it's wrong with this script?# CTCP Ping Reply Changer
bind dcc n ctcp ctcp
set reply "-2secs"
unbind ctcp -|- PING *ctcp:PING
bind ctcp -|- PING edit_ping
proc edit_ping {nick host hand dest keyword text} {
global reply
putserv "NOTICE $nick :\001PING $reply"}
#unbind ctcp -|- PING edit_ping #useless line
putlog "CTCP Ping Reply Changer Loaded"
Stript working.... but if i rehash the bot, if script is already loaded, eggdrop die and get this error:
[00:38] no such binding
while executing
"unbind ctcp -|- PING *ctcp:PING"
(file "scripts/pingreply.tcl" line 7)
invoked from within
"source scripts/pingreply.tcl"
(file "eggdrop.conf" line 99)
[00:38] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)