Board Thread:Wiki Running/@comment-3225604-20150613065312/@comment-26235098-20150628064315

Hmmm... (does better arithmetic) ok...

It looks like it uses 12-hour time format... that could be what was throwing me off. Either that or it is UTC +/- 12 hours

... hmmm... according to the code it fetches UTC.

.... hmmm.... oh great! It does this bit: if (UTChour<1) { UTChour = 12+UTChour; } else if (UTChour>12) { UTChour = UTChour-12; } So it will turn a UTC 00:00 into 12:00

and it will turn the range 13:00 - 23:59 into 01:00 - 11:59

So much for that.

..... I'lll look into it more later re: intercepting actions... leave/enter/kick etc, but need to sleep some now.

Oh btw, I did find a python one that does handle that, dunno if you wanna take a look... I have not looked into it yet... only the capability (including the bot kicking or banning users):

http://community.wikia.com/wiki/User:Hairr/Chatbot