[Tutor] Hey. trying to set a data base.

2012-09-10 Thread Keitaro Kaoru
my imports are import json import time from tools import Arguments @Arguments(mincount = 0, maxcount = 2) def rank(mgr, room, user, msg, params): if mgr.isRoomLocked(room) and not user.name == "mr": return if len(params) < 2: if len(params) == 0: name = user.name

[Tutor] Hey.need help on time

2012-09-06 Thread Keitaro Kaoru
been trying to change this so it wont use my server time. but my actual time here in the us.EST. havent been able to figure it out def sstime(user, body, m): os.environ['TZ'] = 'US/Eastern' tstr1 = time.strftime("%a, %b-%d-%Y", time.tzset()) tstr2 = time.strftime("%I:%M:%S

[Tutor] TypeError: not all arguments converted during string formatting

2012-07-09 Thread Keitaro Kaoru
Traceback (most recent call last): File "bot.py", line 351, in mgr.main() File "/home/bot/bot/ch.py", line 1672, in main con._feed(data) File "/home/bot/bot/ch.py", line 628, in _feed self._process(food.decode("latin-1").rstrip("\r\n")) #numnumz ;3 File "/home/bot/bot/ch.py", l

Re: [Tutor] hello~

2012-05-14 Thread Keitaro Kaoru
i resent it but if that doesnt work. cause i sent it to myself also looks fine on my gmail.. but heres a link to pastebin http://pastebin.com/Jp7VJKGB maybe thatll help? On Mon, May 14, 2012 at 1:43 AM, Russel Winder wrote: > On Mon, 2012-05-14 at 00:19 +0100, Mark Lawrence wrote: > [...] >> Sor

Re: [Tutor] (no subject)

2012-05-14 Thread Keitaro Kaoru
and i also realized my real name isnt on google i am austin but im guessing u see keitaro kaoru or whatever yeha this is a very old email account and i cant change the name i use.. lol i made my signature austin tho maybe thatll help On Mon, May 14, 2012 at 5:58 AM, Keitaro Kaoru wrote: > so

Re: [Tutor] (no subject)

2012-05-14 Thread Keitaro Kaoru
his user.") as you can see i only use some of the command. it doesnt produce an error message tho.. just repeats "return Error("%s  I couldn't find %s anywhere", user.name.title(), name.title())" On Sat, May 12, 2012 at 10:28 PM, bob gailer wrote: > > On

[Tutor] sorry seems like it was sent in html

2012-05-13 Thread Keitaro Kaoru
, tdelta(data[2])) elif data[1] == "message": return Html("Last seen%s message in%s,%s ago: \"%s\"", name, data[0], tdelta(data[2]), data[3]) return Html("I have no records about this user.") as you can see i only use some of the command. it doesnt produce an

[Tutor] hello~

2012-05-13 Thread Keitaro Kaoru
hey. Austin here for some reason this command. all it does it produces the error message at the bottom.. itll say my name and the persons name im trying to send the message to but thats it. heres the command. mgr.addCommand("tell", 1, "send a person a message to the rooms he is in", tell, unlisted

[Tutor] (no subject)

2012-05-12 Thread Keitaro Kaoru
hey i keep having a problem with adding commands.. i get this error message Traceback (most recent call last): File "bot.py", line 23, in import modules.core, modules.ai, modules.dict, modules.fun, modules.kc, modules.games, modules.lulz2, modules.modding, modules.meta, modules.mpd, modules