mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-14 00:02:07 -04:00
24 lines
392 B
Python
24 lines
392 B
Python
import sys
|
|
|
|
def setup():
|
|
return
|
|
|
|
def run(core, actor, target, commandString):
|
|
|
|
parsedMsg = commandString.split(' ')
|
|
for i in parsedMsg:
|
|
if len(i) == 0 or i == '-255':
|
|
continue
|
|
object = core.objectService.getObject(long(i))
|
|
if object:
|
|
core.attributeService.handleGetAttributes(object, actor)
|
|
|
|
return
|
|
|
|
def isLong(a):
|
|
try:
|
|
long(a)
|
|
return True
|
|
except:
|
|
return False
|
|
|