###################################################################
# Tarot.tcl by Rosc (copyright C.Leonhardt 2006) rosc2112 at yahoo com
# http://members.dandy.net/~fbn/tarot.tcl.txt
#
# The *first* eggdrop tcl tarot script, well, at least the first I've seen ;)
# I whipped this up in about an hour, most of which was writing the card descriptions.
#
# Commands:
# .tarot 1 or .tarot single for a 1-card spread
# .tarot 3 or .tarot for a 3-card spread
# .tarot help brief helpfile
#
# History:
# June 10 2006 - Initial creation.
###################################################################
You will help the author when posting the full error from errorInfo and your TCL version. If the error occurs within a format or scan it should be not bad for anything 8.x at least.
chelle21 wrote:Tcl error [tarot]: bad format string "%s"
it appears when i try to do the tarot reading
I have the script, I don't need to see another copy of it. I need to see the output of .set errorInfo and I need to know what version of eggdrop and tcl you're using.
The script works fine for me, so if there is an error with the "format" command, I'd suspect it's your version of eggdrop and/or tcl.
I just looked over the TCL man pages and it seems %s for clock came with TCL 8.4, so you are encuraged to upgrade. If not possible just remove the clock format and just make [unixtime] the seed for the "randomness".