Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SCRIPT_NAME = "spell_cast";
- void run(){
- if(argument == null || argument.equals("")) return;
- String[] c = argument.split(" ");
- if(c.length < 2)
- clientGUI.doCommand("/PartyTarget" + Integer.parseInt(c[c.length-1]));
- for(int i = 1; i< c.length -1;++i)
- c[0] += " " + c[i];
- clientGUI.doCommand(c[0] + " @partyTarget");
- }
Advertisement
Add Comment
Please, Sign In to add comment