from protocol.swg import ChatOnGetFriendsList import sys def setup(): return def run(core, actor, target, commandString): ghost = actor.getSlottedObject('ghost') friendsListMessage = ChatOnGetFriendsList(ghost) actor.getClient().getSession().write(friendsListMessage.serialize()) return