mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-01 02:16:15 -04:00
11 lines
277 B
Python
11 lines
277 B
Python
import sys
|
|
|
|
def setup():
|
|
return
|
|
|
|
def run(core, actor, target, commandString):
|
|
actorGhost = actor.getSlottedObject("ghost")
|
|
chatSrvc = core.chatService
|
|
if chatSrvc and actorGhost and commandString:
|
|
chatSrvc.addFriend(actorGhost, commandString, 1)
|
|
return |