Hello, i wounder if there is an script (bot) who shows the time in his username. Please it would be fun to have one :P
i found a oldie by Kepp ..Enloy it :)
--Live Timer bot by kepp
--Idea yepyepyep4711
--modded me.
bot = "TimE"
function Main()
frmHub:RegBot(bot)
SetTimer(1*1000)
StartTimer()
end
function OnTimer()
SendToAll("$MyINFO $ALL "..bot.." Local Time : "..date("%H:%M:%S").."$ $"..date("%H:%M:%S").."$Local Time : "..date("%H:%M:%S").."$$|")
end
Typhoon?
I did more think to have the time in the name instead of description :P:P
anyone? =P
QuoteOriginally posted by patamon90
Hello, i wounder if there is an script (bot) who shows the time in his username. Please it would be fun to have one :P
Try this - User with the Time as his Name
current = date("%H:%M")
min = 1000*60
--------------------------------------------------------
function Main()
frmHub:RegBot("---" ..current .."---")
SetTimer(min)
StartTimer()
end
--------------------------------------------------------
function OnTimer()
frmHub:UnregBot("---" ..current .."---")
time = date("%H:%M")
current = time
frmHub:RegBot("---" ..current .."---")
end
--------------------------------------------------------
function OnExit()
frmHub:UnregBot("---" ..current .."---")
end
--------------------------------------------------------
Thanks Psycho_Chihuahua It works very well, but I changed the code abit :) now it shows secounds too :))
QuoteOriginally posted by patamon90
Thanks Psycho_Chihuahua It works very well, but I changed the code abit :) now it shows secounds too :))
Well if u got a 100Mbit Connection then thats no Problem
I had that 2 once but it lamed the Mainchat for my Users, thats why i only use hours and minutes
Yeah, I saw that when I tried :D
But thanks anyway!
perhaps a little bug , everytime i restart the scripts i get a new time bot with the previous one showing the time of restart of scripts. thanx
No BUGs Here...All works fine.
Good one Psycho_Chihuahua