Scrap/leech my ass off!/banblock.txt

18 lines
556 B
Text
Raw Permalink Normal View History

2015-03-01 11:03:11 -06:00
def blockBan(log):
ftf = "C:/Program Files/Disney/Disney Online/ToontownOnline/" + str(log)
rf = open('%s'%(ftf),'r')
trash = rf.read()
del trash
def blockBan():
ltp = str(rf.readline())
if "Server is booting us out" in ltp:
messenger.send('pandaRenderError')
else:
None
def loopBanCheck():
seq.append(Func(blockBan))
seq.append(Wait(0.1))
seq.append(Func(loopBanCheck))
seq.start()
loopBanCheck()
banBlock('toontown-110101_124605.log') <---- Logger there