mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-14 00:02:07 -04:00
15 lines
360 B
Python
15 lines
360 B
Python
import sys
|
|
|
|
def setup():
|
|
return
|
|
|
|
def run(core, actor, target, commandString):
|
|
guild = core.guildService.getGuildById(actor.getGuildId())
|
|
|
|
if guild is None:
|
|
print ('none.')
|
|
return
|
|
|
|
core.chatService.sendChatRoomMessage(actor, guild.getChatRoomId(), 0, commandString)
|
|
print ('sent message')
|
|
return |