mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-14 00:02:07 -04:00
20 lines
434 B
Python
20 lines
434 B
Python
import sys
|
|
|
|
def setup():
|
|
return
|
|
|
|
def run(core, actor, target, commandString):
|
|
|
|
commandArgs = commandString.split(' ')
|
|
newString = None
|
|
# removes the strange varying color arguments the client sends to server
|
|
for arg in commandArgs:
|
|
if 'color' not in arg:
|
|
if newString is None:
|
|
newString = arg
|
|
else:
|
|
newString = newString + ' ' + arg
|
|
|
|
|
|
core.commandService.callCommand(actor, 'waypoint', None, newString)
|
|
return |