mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-14 00:02:07 -04:00
15 lines
328 B
Python
15 lines
328 B
Python
import sys
|
|
|
|
def preRun(core, actor, target, command):
|
|
return
|
|
|
|
def run(core, actor, target, commandString):
|
|
return
|
|
|
|
def setup(core, actor, target, command):
|
|
args = command.getCommandArguments()
|
|
|
|
if args and args[1]:
|
|
weapon = core.objectService.getObject(long(args[1]))
|
|
core.objectService.useObject(actor, weapon)
|
|
return |