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.

Uptime script

Old posts that have not been replied to for several years.
Locked
t
tuffno

Uptime script

Post by tuffno »

I need a uptime script that shows the bot uptime in channel on my command......I've tried Status.tcl (http://www.egghelp.org/files/tcl/Statusv100.zip)

but when I try it I get this error:
Tcl error [asus_msg_status]: can't read "timezone": no such variable

could someone help me with this script or can someone give me another script that works??

thanks alot!
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Actualy you have the timezone in the .conf file. Remove the # from it's front then .rehash your eggdrop and should be working..
Once the game is over, the king and the pawn go back in the same box.
t
tuffno

Cant find

Post by tuffno »

No I cant find any timezone...not in the script file and not in the bots config file....where did you mean?
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

I mean this lines taken from the eggdrop's conf file:
# This setting defines the timezone is your bot in. It's used for internal
# routines as well as for logfile timestamping and scripting purposes.
# The timezone string specifies the name of the timezone and must be three
# or more alphabetic characters. For example, Central European Time(UTC+1)
# should be "CET".
set timezone "EST"
Once the game is over, the king and the pawn go back in the same box.
t
tuffno

Post by tuffno »

okej didnt have that in my conf file....but my conf file is very simple...I will try that one
t
tuffno

Post by tuffno »

Yes it worked :) thanks alot pal!
Locked