Files
NGECore2/scripts/commands/toggleawayfromkeyboard.py
2013-12-28 16:14:52 +00:00

11 lines
224 B
Python

from resources.datatables import PlayerFlags
import sys
def setup():
return
def run(core, actor, target, commandString):
ghost = actor.getSlottedObject('ghost')
ghost.toggleFlag(PlayerFlags.AFK)
return