Time banner
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

Time banner

Started by patamon90, 24 September, 2004, 18:06:21

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

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

Typhoon

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?



patamon90

I did more think to have the time in the name instead of description :P:P

patamon90


Psycho_Chihuahua

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
--------------------------------------------------------
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

patamon90

Thanks Psycho_Chihuahua It works very well, but I changed the code abit :) now it shows secounds too :))

Psycho_Chihuahua

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
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

patamon90

Yeah, I saw that when I tried :D
But thanks anyway!

_Satan_

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

BoJlk

No BUGs Here...All works fine.

Good one Psycho_Chihuahua

SMF spam blocked by CleanTalk