mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-14 00:02:07 -04:00
13 lines
336 B
Python
13 lines
336 B
Python
import sys
|
|
|
|
def setup():
|
|
return
|
|
|
|
def run(core, actor, target, commandString):
|
|
room = core.chatService.getChatRoomByAddress('SWG.' + core.getGalaxyName() + '.' + actor.getPlanet().getName() + '.Planet')
|
|
|
|
if room is None:
|
|
return
|
|
|
|
core.chatService.sendChatRoomMessage(actor, room.getRoomId(), 0, commandString)
|
|
return |