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.

caps2.4

Old posts that have not been replied to for several years.
Locked
A
AW

Post by AW »

hi, i am using caps script, but getting the following error,
Caps-Guard: Added gggg with no attribs
<eggdrop> [19:47] Tcl error [caps_pubm]: invalid command name "date"

and date is in these few lines.

adduser $hand $uh
chattr $hand "-${default-flags}+${caps_flag}"
putlog "Caps-Guard: Added $hand with no attribs"
if {$numversion < 1030000} {
setcomment $hand "([date]) Used caps in $chan (${nick}!${uhost})"
} {
setuser $hand COMMENT "([date]) Used caps in $chan (${nick}!${uhost})"
}
}


thank you for your help
regards
AW
P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

proc date {} {
strftime "%d %b %Y"
}
A
AW

Post by AW »

Peterson:God bless ya, thanks it worked.
Locked