Sorry for the confusion. I forgot to mention
it will work only with 3.91 and upwards :/ This is not because I'm lazy but because it's not possible.
At first the settings:
/clock format 12 (sets display to 12h mode)
/clock format 24 (sets display to 24h mode)
/clock show seconds (shows seconds; you can leave the 'seconds' away, so /clock show will work as well)
/clock hide seconds (hides seconds; you can leave the 'seconds' away)
/clock size <number> (sets size; default is 10. ex: /clock size 20)
/clock autostart 0 (don't load on startup)
/clock autostart 1 (load on startup)
/clock color <red> <blue> <green> <alpha> (sets the color. alpha means transparency. ex: /clock color 0 1 0 1 will set it to green. /clock color 0.5 0.5 0.5 0.5 will set it to an semitransparent grey)
/clock reset (sets size to 10, color to red, sets 24h mode, position to lower right corner)
Use drag&drop to position the clock
Now to the errors:
If it says it's unable to read from or write to either profile.tbs or clock settings.txt that means, well, it's unable to read from or write to them. This can have many reasons:
The file doesn't exist.
Usually Lua creates files which don't exist.
If /toribash/profile.tbs or /toribash/data/script/clock settings.txt don't exist try creating them. Just open a simple editor and save empty files.
Watch the file type.
File names with spaces are not supported.
As far as I know Windows, Linux and MacOS do support file names with spaces.
But if you want to make sure that it will work, open clock.lua with any text editor and replace every "clock settings.txt" by "clock_settings.txt" (or what ever you like).
(There should be a function to do that. Usually ctrl+f or ctrl+h. May be different)
Then rename "clock settings.txt" to whatever you changed it to. Everything without the quotes of course.
Toribash isn't allowed to read of write files.
The simplest solution is to run Toribash as administrator.
But that's not very secure (although I don't think that TB spreads viruses).
On windows it probably works like this (if you have admin privileges; the translations are guesses):
That's actually it. You don't need to modify the text files.
Last edited by psycore; Dec 13, 2011 at 04:41 PM.