mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-08 23:12:57 -04:00
20 lines
392 B
Python
20 lines
392 B
Python
from main import NGECore
|
|
import sys
|
|
|
|
def setup():
|
|
return
|
|
|
|
def run(core, actor, target, commandString):
|
|
|
|
group = core.objectService.getObject(actor.getGroupId())
|
|
|
|
if group is None:
|
|
return
|
|
|
|
room = core.chatService.getChatRoom(group.getChatRoomId())
|
|
|
|
if room is None:
|
|
return
|
|
|
|
core.chatService.sendChatRoomMessage(actor, room.getRoomId(), 0, commandString)
|
|
return |