Files
NGECore2/scripts/commands/stopwatching.py
T
Waverunner 9b3d822bc4 Added /covercharge, p. effect abilities use highest effect for your level, bug fixes
(Added) Entertainers can now add Cover Charges for their performance
(Feature) Using a performance effect that has multiple effect levels
will use the highest effect for the entertainers level
(Code) Added 2 new methods (Jython and Java version) for Input Boxes
that automatically adds the input text to return list.
(Code) Moved essential spectating code from /watch script to
startSpectating
(BugFix) Fixed Null Error when trying to cancel Experience tick if
leveled with a cheat.
(BugFix) Fixed system messages error on performance abilities
2014-03-24 11:07:30 -04:00

20 lines
505 B
Python

import sys
def setup():
return
def run(core, actor, target, commandString):
performer = target
if commandString is not None and target is None:
performer = core.chatService.getObjectByFirstName(commandString)
if performer is None:
return
performer.removeAudience(actor)
actor.setPerformanceWatchee(None)
if not actor.getPerformanceListenee():
actor.setMoodAnimation('')
actor.sendSystemMessage('@performance:dance_watch_stop_self',0)
return