PtokaX forum

Archive => Archived 4.0 boards => Request for Lua 4 scripts => Topic started by: Themaster on 18 December, 2004, 21:09:09

Title: Hubtime stat
Post by: Themaster on 18 December, 2004, 21:09:09
Hey ppl....i just need a script that are counting hubuptime and user and all just like HubTime-V.1.63
but is save in dat fil...plz help
Title:
Post by: [NL]Pur on 18 December, 2004, 23:25:06
maby you should check . //www.plop.nl

load of scripts there ;)
Title:
Post by: Themaster on 18 December, 2004, 23:31:33
i do have try all...but i can't get them what i want it to do

1 +myhubtime
2 +allhubtime
3 +hubtotaluptime..(IS NOT JUST uptime)
Title:
Post by: n1ck on 19 December, 2004, 01:56:00
Nsx-3 Version: 3.9a, has a really good inbuilt one, im sure if you ask NightLitch or Dyzan, they could dig it out for ya!
Title:
Post by: 6Marilyn6Manson6 on 19 December, 2004, 09:57:13
NXS 39a is the best bot :P
Title:
Post by: Themaster on 19 December, 2004, 12:33:48
I will try to dig it out else thx
Title:
Post by: Themaster on 19 December, 2004, 12:41:38
I can't dig it out some whon help me
Title:
Post by: bastya_elvtars on 19 December, 2004, 13:50:12
QuoteOriginally posted by Themaster
I can't dig it out some whon help me

http://www.plop.nl/ptokaxbots/bastya_elvtars/user_welcome_UPD.zip

will update again so check frequently
Title:
Post by: Themaster on 19 December, 2004, 17:50:54
K...but i have a bug on it
Syntax error: attempt to concat global `tmp' (a nil value)
stack traceback:
   1:  function `NewUserConnected' at line 376 [file `...ettings\Hub\scripts\Blade1.1.lua']


  local _, day, hr, mn = GetUpTime()
tmp = tmp.."\tUptime: "..day.." days, "..hr.." hours, "..mn.." minutes.\r\n"
if(SendPM) then
user:SendPM(BotName,tmp)
else
user:SendData(BotName,tmp)
      end
Title:
Post by: bastya_elvtars on 19 December, 2004, 19:39:56
bah, i posted it because of the routine only.
Title:
Post by: Themaster on 19 December, 2004, 21:53:57
k....but i do have try to past some hubuptime on my script..
Title:
Post by: Themaster on 20 December, 2004, 12:59:48
plz .. i will be happy if i can get a time script...that are saving in dat....