mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-14 00:02:07 -04:00
17 lines
410 B
Python
17 lines
410 B
Python
import sys
|
|
|
|
def setup():
|
|
return
|
|
|
|
def run(core, actor, target, commandString):
|
|
parsedMsg = commandString.split(' ', 3)
|
|
objService = core.objectService
|
|
containerID = long(parsedMsg[1])
|
|
container = objService.getObject(containerID)
|
|
if target and container and target.getContainer():
|
|
print 'Equip Test'
|
|
oldContainer = target.getContainer()
|
|
oldContainer.transferTo(actor, container, target)
|
|
|
|
return
|
|
|