Scrap/JADEN IS MAD AT ME AUG 14 9 58/Super Clan Codes/Codes Form FD COOKIE!/banblock.txt
Richard Wright 5f35433c9b Scrap codes
2015-03-01 17:03:11 +00:00

18 lines
No EOL
556 B
Text

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