686970717273747576
if (type == 2) { tgt = msg.substring(0, index); } Singleton.get().getClientFacade().sendGamePacket(new Say(type, text, tgt)); log.finest("Sending chat message of type:" + type + " text:" + text + " target:" + tgt); }
370371372373374375376377
if(msg == null){ throw new WrappedException(new ScriptusRuntimeException("no message argument to say function")); } ContinuationPending pending = Context.getCurrentContext().captureContinuation(); pending.setApplicationState(new Say(msg, who)); throw pending; }