Files
NGECore2/scripts/commands/guild.py
T

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