script that changes my public hub in privatehub has a precise hour
 

script that changes my public hub in privatehub has a precise hour

Started by Djdirect, 22 August, 2007, 11:25:50

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Djdirect

hello  all  :)
I look for a script that changes my public hub in private hub  has a precise hour 

ex:  23h - 8h clock in private hub
       8h - 23h clock go to public hub

I hope that I bore you not too much thank you ;D
sorry for my english

Leun


Djdirect

merci
but i have this error
is this script in lua 5.1 ?

scripts\LoginBlock with time settings.lua:175: attempt to call a table value

i have make logintimer.dat file in script directory
and paste this
bSettings = {
   ["login"] = {
      ["message"] = "None",
      ["end"] = 0,
      ["enable"] = 0,
      ["start"] = 0,
   },
}

is ok the script was in lua 5
no more error  merci Leun and CrazyGuy  ;)

CrazyGuy

in function Serialize change

for key, value in tTable do


to

for key, value in pairs(tTable) do


that should do it  8)

SMF spam blocked by CleanTalk