/* This program is free software; you can redistribute it and/or modify */ package net.sf.l2j.gameserver.handler.voicedcommandhandlers; import net.sf.l2j.gameserver.handler.IVoicedCommandHandler; import net.sf.l2j.gameserver.serverpackets.SystemMessage; import net.sf.l2j.gameserver.serverpackets.ConfirmDlg;; /** * @author evill33t * */ public class testme implements IVoicedCommandHandler { private static String[] _voicedCommands = { "testme" }; /* (non-Javadoc) * @see net.sf.l2j.gameserver.handler.IUserCommandHandler#useUserCommand(int, net.sf.l2j.gameserver.model.L2PcInstance) */ public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target) { if(command.startsWith("testme")) sendPacket(new ConfirmDlg(9999,"this is a test"); return true; } /* (non-Javadoc) * @see net.sf.l2j.gameserver.handler.IUserCommandHandler#getUserCommandList() */ public String[] getVoicedCommandList() { return _voicedCommands; } }