can anyone help get this script to work. it used to work till i put latest ptokax on any help please.
-- timebot by WooshMan -- landofkaraoke.ath.cx
-- creates a dummy user at the top of the user list
-- and displays the time as the user name.
-- A clock which diplays the current time in Hours, Minutes and Seconds.
-- Converted to LUA 5 by nErBoS
current = os.date("%H:%M:%S")
sec = 1000
--------------------------------------------------------
function Main()
frmHub:RegBot("-=" ..current .."=-")
SetTimer(sec)
StartTimer()
end
--------------------------------------------------------
function OnTimer()
frmHub:UnregBot("-=" ..current .."=-")
time = os.date("%H:%M:%S")
current = time
frmHub:RegBot("-=" ..current .."=-")
end
--------------------------------------------------------
function OnExit()
frmHub:UnregBot("-=" ..current .."=-")
end
change the dividing Chars in this line ...
current = os.date("%H:%M:%S")
the : is refused by Ptokax
try something like this
current = os.date("%H_%M_%S")
??????Hawk??????
cheers hawk works great now thx any chance of makeing your hangman into a stand alone script