Code: Select all
/* * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License along with * this program. If not, see <http://www.gnu.org/licenses/>. */package handlers.voicedcommandhandlers; import net.sf.l2j.gameserver.handler.IVoicedCommandHandler;import net.sf.l2j.gameserver.instancemanager.CastleManager;import net.sf.l2j.gameserver.model.L2World;import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;import handlers.voicedcommandhandlers.wannapwn; public class wannapwn implements IVoicedCommandHandler{public static final String[] _voicedCommands = { "wannapwn" };/** * * @see net.sf.l2j.gameserver.handler.IVoicedCommandHandler#useVoicedCommand(java.lang.String, net.sf.l2j.gameserver.model.actor.instance.L2PcInstance, java.lang.String) */public boolean wannapwn(String command, L2PcInstance activeChar, String target){ if (command.equalsIgnoreCase("wannapwn")){ if (activeChar == null){return false;} L2PcInstance player;String targetName = command.substring(17);player = L2World.getInstance().getPlayer(targetName); if(player == null){activeChar.sendMessage("Your target is not online.");return false;}else if(player.isInJail()){activeChar.sendMessage("Your target is in Jail.");return false;}else if(player.isInOlympiadMode()){activeChar.sendMessage("Your target is in the Olympiad now.");return false;}else if(player.atEvent){activeChar.sendMessage("Your target is in an event.");return false;}else if (player.isInDuel()){activeChar.sendMessage("Your target is in a duel.");return false;}else if (player.isFestivalParticipant()){activeChar.sendMessage("Your target is in a festival.");return false;}else if (player.isInParty() && player.getParty().isInDimensionalRift()){activeChar.sendMessage("Your target is in dimensional rift.");return false;}else if (player.inObserverMode()){activeChar.sendMessage("Your target is in the observation.");}else if(player.getClan() != null&& CastleManager.getInstance().getCastleByOwner(player.getClan()) != null&& CastleManager.getInstance().getCastleByOwner(player.getClan()).getSiege().getIsInProgress()){activeChar.sendMessage("Your target is in siege, you can't go to your leader.");return false;} else if(activeChar.isInJail()){activeChar.sendMessage("You are in Jail!");return false;}else if(activeChar.isInOlympiadMode()){activeChar.sendMessage("You are in the Olympiad now.");return false;}else if(activeChar.atEvent){activeChar.sendMessage("You are in an event.");return false;}else if (activeChar.isInDuel()){activeChar.sendMessage("You are in a duel!");return false;}else if (activeChar.inObserverMode()){activeChar.sendMessage("You are in the observation.");}else if(activeChar.getClan() != null&& CastleManager.getInstance().getCastleByOwner(activeChar.getClan()) != null&& CastleManager.getInstance().getCastleByOwner(activeChar.getClan()).getSiege().getIsInProgress()){activeChar.sendMessage("You are in siege, you can't go to your target.");return false;}else if (activeChar.isFestivalParticipant()){activeChar.sendMessage("You are in a festival.");return false;}else if (activeChar.isInParty() && activeChar.getParty().isInDimensionalRift()){activeChar.sendMessage("You are in the dimensional rift.");return false;}else if (activeChar == player){activeChar.sendMessage("You cannot teleport to yourself.");return false;} int playerx;int playery;int playerz; playerx = player.getX();playery = player.getY();playerz = player.getZ(); activeChar.teleToLocation(playerx,playery,playerz);activeChar.sendMessage("You have been teleported to fight!");}return true;}/** * * @see net.sf.l2j.gameserver.handler.IVoicedCommandHandler#getVoicedCommandList() */public String[] getVoicedCommandList(){return _voicedCommands;;}public static void main(String[] args) { new wannapwn(); }@Overridepublic boolean useVoicedCommand(String command, L2PcInstance activeChar, String target) { // TODO Auto-generated method stub return false;}}/* * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License along with * this program. If not, see <http://www.gnu.org/licenses/>. */package handlers.voicedcommandhandlers; import net.sf.l2j.gameserver.handler.IVoicedCommandHandler;import net.sf.l2j.gameserver.instancemanager.CastleManager;import net.sf.l2j.gameserver.model.L2World;import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;import handlers.voicedcommandhandlers.wannapwn; public class wannapwn implements IVoicedCommandHandler{public static final String[] _voicedCommands = { "wannapwn" };/** * * @see net.sf.l2j.gameserver.handler.IVoicedCommandHandler#useVoicedCommand(java.lang.String, net.sf.l2j.gameserver.model.actor.instance.L2PcInstance, java.lang.String) */public boolean wannapwn(String command, L2PcInstance activeChar, String target){ if (command.equalsIgnoreCase("wannapwn")){ if (activeChar == null){return false;} L2PcInstance player;String targetName = command.substring(17);player = L2World.getInstance().getPlayer(targetName); if(player == null){activeChar.sendMessage("Your target is not online.");return false;}else if(player.isInJail()){activeChar.sendMessage("Your target is in Jail.");return false;}else if(player.isInOlympiadMode()){activeChar.sendMessage("Your target is in the Olympiad now.");return false;}else if(player.atEvent){activeChar.sendMessage("Your target is in an event.");return false;}else if (player.isInDuel()){activeChar.sendMessage("Your target is in a duel.");return false;}else if (player.isFestivalParticipant()){activeChar.sendMessage("Your target is in a festival.");return false;}else if (player.isInParty() && player.getParty().isInDimensionalRift()){activeChar.sendMessage("Your target is in dimensional rift.");return false;}else if (player.inObserverMode()){activeChar.sendMessage("Your target is in the observation.");}else if(player.getClan() != null&& CastleManager.getInstance().getCastleByOwner(player.getClan()) != null&& CastleManager.getInstance().getCastleByOwner(player.getClan()).getSiege().getIsInProgress()){activeChar.sendMessage("Your target is in siege, you can't go to your leader.");return false;} else if(activeChar.isInJail()){activeChar.sendMessage("You are in Jail!");return false;}else if(activeChar.isInOlympiadMode()){activeChar.sendMessage("You are in the Olympiad now.");return false;}else if(activeChar.atEvent){activeChar.sendMessage("You are in an event.");return false;}else if (activeChar.isInDuel()){activeChar.sendMessage("You are in a duel!");return false;}else if (activeChar.inObserverMode()){activeChar.sendMessage("You are in the observation.");}else if(activeChar.getClan() != null&& CastleManager.getInstance().getCastleByOwner(activeChar.getClan()) != null&& CastleManager.getInstance().getCastleByOwner(activeChar.getClan()).getSiege().getIsInProgress()){activeChar.sendMessage("You are in siege, you can't go to your target.");return false;}else if (activeChar.isFestivalParticipant()){activeChar.sendMessage("You are in a festival.");return false;}else if (activeChar.isInParty() && activeChar.getParty().isInDimensionalRift()){activeChar.sendMessage("You are in the dimensional rift.");return false;}else if (activeChar == player){activeChar.sendMessage("You cannot teleport to yourself.");return false;} int playerx;int playery;int playerz; playerx = player.getX();playery = player.getY();playerz = player.getZ(); activeChar.teleToLocation(playerx,playery,playerz);activeChar.sendMessage("You have been teleported to fight!");}return true;}/** * * @see net.sf.l2j.gameserver.handler.IVoicedCommandHandler#getVoicedCommandList() */public String[] getVoicedCommandList(){return _voicedCommands;;}public static void main(String[] args) { new wannapwn(); }@Overridepublic boolean useVoicedCommand(String command, L2PcInstance activeChar, String target) { // TODO Auto-generated method stub return false;}}/* * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License along with * this program. If not, see <http://www.gnu.org/licenses/>. */package handlers.voicedcommandhandlers; import net.sf.l2j.gameserver.handler.IVoicedCommandHandler;import net.sf.l2j.gameserver.instancemanager.CastleManager;import net.sf.l2j.gameserver.model.L2World;import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;import handlers.voicedcommandhandlers.wannapwn; public class wannapwn implements IVoicedCommandHandler{public static final String[] _voicedCommands = { "wannapwn" };/** * * @see net.sf.l2j.gameserver.handler.IVoicedCommandHandler#useVoicedCommand(java.lang.String, net.sf.l2j.gameserver.model.actor.instance.L2PcInstance, java.lang.String) */public boolean wannapwn(String command, L2PcInstance activeChar, String target){ if (command.equalsIgnoreCase("wannapwn")){ if (activeChar == null){return false;} L2PcInstance player;String targetName = command.substring(17);player = L2World.getInstance().getPlayer(targetName); if(player == null){activeChar.sendMessage("Your target is not online.");return false;}else if(player.isInJail()){activeChar.sendMessage("Your target is in Jail.");return false;}else if(player.isInOlympiadMode()){activeChar.sendMessage("Your target is in the Olympiad now.");return false;}else if(player.atEvent){activeChar.sendMessage("Your target is in an event.");return false;}else if (player.isInDuel()){activeChar.sendMessage("Your target is in a duel.");return false;}else if (player.isFestivalParticipant()){activeChar.sendMessage("Your target is in a festival.");return false;}else if (player.isInParty() && player.getParty().isInDimensionalRift()){activeChar.sendMessage("Your target is in dimensional rift.");return false;}else if (player.inObserverMode()){activeChar.sendMessage("Your target is in the observation.");}else if(player.getClan() != null&& CastleManager.getInstance().getCastleByOwner(player.getClan()) != null&& CastleManager.getInstance().getCastleByOwner(player.getClan()).getSiege().getIsInProgress()){activeChar.sendMessage("Your target is in siege, you can't go to your leader.");return false;} else if(activeChar.isInJail()){activeChar.sendMessage("You are in Jail!");return false;}else if(activeChar.isInOlympiadMode()){activeChar.sendMessage("You are in the Olympiad now.");return false;}else if(activeChar.atEvent){activeChar.sendMessage("You are in an event.");return false;}else if (activeChar.isInDuel()){activeChar.sendMessage("You are in a duel!");return false;}else if (activeChar.inObserverMode()){activeChar.sendMessage("You are in the observation.");}else if(activeChar.getClan() != null&& CastleManager.getInstance().getCastleByOwner(activeChar.getClan()) != null&& CastleManager.getInstance().getCastleByOwner(activeChar.getClan()).getSiege().getIsInProgress()){activeChar.sendMessage("You are in siege, you can't go to your target.");return false;}else if (activeChar.isFestivalParticipant()){activeChar.sendMessage("You are in a festival.");return false;}else if (activeChar.isInParty() && activeChar.getParty().isInDimensionalRift()){activeChar.sendMessage("You are in the dimensional rift.");return false;}else if (activeChar == player){activeChar.sendMessage("You cannot teleport to yourself.");return false;} int playerx;int playery;int playerz; playerx = player.getX();playery = player.getY();playerz = player.getZ(); activeChar.teleToLocation(playerx,playery,playerz);activeChar.sendMessage("You have been teleported to fight!");}return true;}/** * * @see net.sf.l2j.gameserver.handler.IVoicedCommandHandler#getVoicedCommandList() */public String[] getVoicedCommandList(){return _voicedCommands;;}public static void main(String[] args) { new wannapwn(); }@Overridepublic boolean useVoicedCommand(String command, L2PcInstance activeChar, String target) { // TODO Auto-generated method stub return false;}}/* * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License along with * this program. If not, see <http://www.gnu.org/licenses/>. */package handlers.voicedcommandhandlers; import net.sf.l2j.gameserver.handler.IVoicedCommandHandler;import net.sf.l2j.gameserver.instancemanager.CastleManager;import net.sf.l2j.gameserver.model.L2World;import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;import handlers.voicedcommandhandlers.wannapwn; public class wannapwn implements IVoicedCommandHandler{public static final String[] _voicedCommands = { "wannapwn" };/** * * @see net.sf.l2j.gameserver.handler.IVoicedCommandHandler#useVoicedCommand(java.lang.String, net.sf.l2j.gameserver.model.actor.instance.L2PcInstance, java.lang.String) */public boolean wannapwn(String command, L2PcInstance activeChar, String target){ if (command.equalsIgnoreCase("wannapwn")){ if (activeChar == null){return false;} L2PcInstance player;String targetName = command.substring(17);player = L2World.getInstance().getPlayer(targetName); if(player == null){activeChar.sendMessage("Your target is not online.");return false;}else if(player.isInJail()){activeChar.sendMessage("Your target is in Jail.");return false;}else if(player.isInOlympiadMode()){activeChar.sendMessage("Your target is in the Olympiad now.");return false;}else if(player.atEvent){activeChar.sendMessage("Your target is in an event.");return false;}else if (player.isInDuel()){activeChar.sendMessage("Your target is in a duel.");return false;}else if (player.isFestivalParticipant()){activeChar.sendMessage("Your target is in a festival.");return false;}else if (player.isInParty() && player.getParty().isInDimensionalRift()){activeChar.sendMessage("Your target is in dimensional rift.");return false;}else if (player.inObserverMode()){activeChar.sendMessage("Your target is in the observation.");}else if(player.getClan() != null&& CastleManager.getInstance().getCastleByOwner(player.getClan()) != null&& CastleManager.getInstance().getCastleByOwner(player.getClan()).getSiege().getIsInProgress()){activeChar.sendMessage("Your target is in siege, you can't go to your leader.");return false;} else if(activeChar.isInJail()){activeChar.sendMessage("You are in Jail!");return false;}else if(activeChar.isInOlympiadMode()){activeChar.sendMessage("You are in the Olympiad now.");return false;}else if(activeChar.atEvent){activeChar.sendMessage("You are in an event.");return false;}else if (activeChar.isInDuel()){activeChar.sendMessage("You are in a duel!");return false;}else if (activeChar.inObserverMode()){activeChar.sendMessage("You are in the observation.");}else if(activeChar.getClan() != null&& CastleManager.getInstance().getCastleByOwner(activeChar.getClan()) != null&& CastleManager.getInstance().getCastleByOwner(activeChar.getClan()).getSiege().getIsInProgress()){activeChar.sendMessage("You are in siege, you can't go to your target.");return false;}else if (activeChar.isFestivalParticipant()){activeChar.sendMessage("You are in a festival.");return false;}else if (activeChar.isInParty() && activeChar.getParty().isInDimensionalRift()){activeChar.sendMessage("You are in the dimensional rift.");return false;}else if (activeChar == player){activeChar.sendMessage("You cannot teleport to yourself.");return false;} int playerx;int playery;int playerz; playerx = player.getX();playery = player.getY();playerz = player.getZ(); activeChar.teleToLocation(playerx,playery,playerz);activeChar.sendMessage("You have been teleported to fight!");}return true;}/** * * @see net.sf.l2j.gameserver.handler.IVoicedCommandHandler#getVoicedCommandList() */public String[] getVoicedCommandList(){return _voicedCommands;;}public static void main(String[] args) { new wannapwn(); }@Overridepublic boolean useVoicedCommand(String command, L2PcInstance activeChar, String target) { // TODO Auto-generated method stub return false;}}/* * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License along with * this program. If not, see <http://www.gnu.org/licenses/>. */package handlers.voicedcommandhandlers; import net.sf.l2j.gameserver.handler.IVoicedCommandHandler;import net.sf.l2j.gameserver.instancemanager.CastleManager;import net.sf.l2j.gameserver.model.L2World;import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;import handlers.voicedcommandhandlers.wannapwn; public class wannapwn implements IVoicedCommandHandler{public static final String[] _voicedCommands = { "wannapwn" };/** * * @see net.sf.l2j.gameserver.handler.IVoicedCommandHandler#useVoicedCommand(java.lang.String, net.sf.l2j.gameserver.model.actor.instance.L2PcInstance, java.lang.String) */public boolean wannapwn(String command, L2PcInstance activeChar, String target){ if (command.equalsIgnoreCase("wannapwn")){ if (activeChar == null){return false;} L2PcInstance player;String targetName = command.substring(17);player = L2World.getInstance().getPlayer(targetName); if(player == null){activeChar.sendMessage("Your target is not online.");return false;}else if(player.isInJail()){activeChar.sendMessage("Your target is in Jail.");return false;}else if(player.isInOlympiadMode()){activeChar.sendMessage("Your target is in the Olympiad now.");return false;}else if(player.atEvent){activeChar.sendMessage("Your target is in an event.");return false;}else if (player.isInDuel()){activeChar.sendMessage("Your target is in a duel.");return false;}else if (player.isFestivalParticipant()){activeChar.sendMessage("Your target is in a festival.");return false;}else if (player.isInParty() && player.getParty().isInDimensionalRift()){activeChar.sendMessage("Your target is in dimensional rift.");return false;}else if (player.inObserverMode()){activeChar.sendMessage("Your target is in the observation.");}else if(player.getClan() != null&& CastleManager.getInstance().getCastleByOwner(player.getClan()) != null&& CastleManager.getInstance().getCastleByOwner(player.getClan()).getSiege().getIsInProgress()){activeChar.sendMessage("Your target is in siege, you can't go to your leader.");return false;} else if(activeChar.isInJail()){activeChar.sendMessage("You are in Jail!");return false;}else if(activeChar.isInOlympiadMode()){activeChar.sendMessage("You are in the Olympiad now.");return false;}else if(activeChar.atEvent){activeChar.sendMessage("You are in an event.");return false;}else if (activeChar.isInDuel()){activeChar.sendMessage("You are in a duel!");return false;}else if (activeChar.inObserverMode()){activeChar.sendMessage("You are in the observation.");}else if(activeChar.getClan() != null&& CastleManager.getInstance().getCastleByOwner(activeChar.getClan()) != null&& CastleManager.getInstance().getCastleByOwner(activeChar.getClan()).getSiege().getIsInProgress()){activeChar.sendMessage("You are in siege, you can't go to your target.");return false;}else if (activeChar.isFestivalParticipant()){activeChar.sendMessage("You are in a festival.");return false;}else if (activeChar.isInParty() && activeChar.getParty().isInDimensionalRift()){activeChar.sendMessage("You are in the dimensional rift.");return false;}else if (activeChar == player){activeChar.sendMessage("You cannot teleport to yourself.");return false;} int playerx;int playery;int playerz; playerx = player.getX();playery = player.getY();playerz = player.getZ(); activeChar.teleToLocation(playerx,playery,playerz);activeChar.sendMessage("You have been teleported to fight!");}return true;}/** * * @see net.sf.l2j.gameserver.handler.IVoicedCommandHandler#getVoicedCommandList() */public String[] getVoicedCommandList(){return _voicedCommands;;}public static void main(String[] args) { new wannapwn(); }@Overridepublic boolean useVoicedCommand(String command, L2PcInstance activeChar, String target) { // TODO Auto-generated method stub return false;}}/* * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License along with * this program. If not, see <http://www.gnu.org/licenses/>. */package handlers.voicedcommandhandlers; import net.sf.l2j.gameserver.handler.IVoicedCommandHandler;import net.sf.l2j.gameserver.instancemanager.CastleManager;import net.sf.l2j.gameserver.model.L2World;import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;import handlers.voicedcommandhandlers.wannapwn; public class wannapwn implements IVoicedCommandHandler{public static final String[] _voicedCommands = { "wannapwn" };/** * * @see net.sf.l2j.gameserver.handler.IVoicedCommandHandler#useVoicedCommand(java.lang.String, net.sf.l2j.gameserver.model.actor.instance.L2PcInstance, java.lang.String) */public boolean wannapwn(String command, L2PcInstance activeChar, String target){ if (command.equalsIgnoreCase("wannapwn")){ if (activeChar == null){return false;} L2PcInstance player;String targetName = command.substring(17);player = L2World.getInstance().getPlayer(targetName); if(player == null){activeChar.sendMessage("Your target is not online.");return false;}else if(player.isInJail()){activeChar.sendMessage("Your target is in Jail.");return false;}else if(player.isInOlympiadMode()){activeChar.sendMessage("Your target is in the Olympiad now.");return false;}else if(player.atEvent){activeChar.sendMessage("Your target is in an event.");return false;}else if (player.isInDuel()){activeChar.sendMessage("Your target is in a duel.");return false;}else if (player.isFestivalParticipant()){activeChar.sendMessage("Your target is in a festival.");return false;}else if (player.isInParty() && player.getParty().isInDimensionalRift()){activeChar.sendMessage("Your target is in dimensional rift.");return false;}else if (player.inObserverMode()){activeChar.sendMessage("Your target is in the observation.");}else if(player.getClan() != null&& CastleManager.getInstance().getCastleByOwner(player.getClan()) != null&& CastleManager.getInstance().getCastleByOwner(player.getClan()).getSiege().getIsInProgress()){activeChar.sendMessage("Your target is in siege, you can't go to your leader.");return false;} else if(activeChar.isInJail()){activeChar.sendMessage("You are in Jail!");return false;}else if(activeChar.isInOlympiadMode()){activeChar.sendMessage("You are in the Olympiad now.");return false;}else if(activeChar.atEvent){activeChar.sendMessage("You are in an event.");return false;}else if (activeChar.isInDuel()){activeChar.sendMessage("You are in a duel!");return false;}else if (activeChar.inObserverMode()){activeChar.sendMessage("You are in the observation.");}else if(activeChar.getClan() != null&& CastleManager.getInstance().getCastleByOwner(activeChar.getClan()) != null&& CastleManager.getInstance().getCastleByOwner(activeChar.getClan()).getSiege().getIsInProgress()){activeChar.sendMessage("You are in siege, you can't go to your target.");return false;}else if (activeChar.isFestivalParticipant()){activeChar.sendMessage("You are in a festival.");return false;}else if (activeChar.isInParty() && activeChar.getParty().isInDimensionalRift()){activeChar.sendMessage("You are in the dimensional rift.");return false;}else if (activeChar == player){activeChar.sendMessage("You cannot teleport to yourself.");return false;} int playerx;int playery;int playerz; playerx = player.getX();playery = player.getY();playerz = player.getZ(); activeChar.teleToLocation(playerx,playery,playerz);activeChar.sendMessage("You have been teleported to fight!");}return true;}/** * * @see net.sf.l2j.gameserver.handler.IVoicedCommandHandler#getVoicedCommandList() */public String[] getVoicedCommandList(){return _voicedCommands;;}public static void main(String[] args) { new wannapwn(); }@Overridepublic boolean useVoicedCommand(String command, L2PcInstance activeChar, String target) { // TODO Auto-generated method stub return false;}}
this code is a wannapwn. it teleport a player to another player
test and repair please
help me
