Author Topic: Hub Clock  (Read 2720 times)

0 Members and 1 Guest are viewing this topic.

Offline TZB

  • Double Ace
  • *
  • Posts: 119
  • Karma: +13/-1
  • ||-T-z-B-||
    • FastFix Support
Hub Clock
« on: 24 February, 2010, 16:24:19 »
Made it simple Haven't Completed fully since i haven't come across any ASCII clock :)
Code: [Select]
--[[
-- Hub Clock v 1.0 By T-z-B
-- Requested By ultrajo
-- Made it simple and sweet since i had not seen any previous script.
-- Haven't added any Decorations yet will add later if i get an idea of what kind to be added.
-- Time interval is kept 1 minute you can edit it as per your choice.
-- Thanks to C??o?y?? instructions in Current time Script.
]]--

-- "Botname" [Add as you wish]
bot = "Hub-Clock"
-- "BotDesc" [Describe]
botDesc = "I Send Time"
-- "Tag" [Version.DO NOT CHANGE]
botTag = "version.1.0"


function OnStartup()
TmrMan.AddTimer(1*60000) --[Time interval change as per needed]
        Core.RegBot(bot,botDesc,botTag,true)
end

function OnTimer()
Core.SendToAll("<"..bot..">".." Local Hub Time is "..os.date("%I.%M.%S.%p").." on "..os.date("%A").." , "..os.date("%d.%B.%Y"))
end
« Last Edit: 24 February, 2010, 18:16:07 by TZB »

PtokaX forum

Hub Clock
« on: 24 February, 2010, 16:24:19 »

Offline TZB

  • Double Ace
  • *
  • Posts: 119
  • Karma: +13/-1
  • ||-T-z-B-||
    • FastFix Support
Re: Hub Clock
« Reply #1 on: 24 February, 2010, 18:23:26 »
After intense searching came across a script in Archived section and i think this script is not what that was requested so changed the name :) haven't yet got any full script.If anyone can find it would like go through it.

PtokaX forum

Re: Hub Clock
« Reply #1 on: 24 February, 2010, 18:23:26 »