Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(s.startsWith(".spam"))
- {
- try
- {
- boolean flag = false;
- String as[] = s.split("=");
- String s1 = as[1];
- int i = Integer.parseInt(as[2]);
- for(int j = 0; j < i; j++)
- {
- sendQueue.addToSendQueue(new Packet3Chat(s1));
- }
- }
- catch(Exception exception)
- {
- mc.thePlayer.addChatMessage("Invalid Syntax: .spam=<Message>=[Amount]");
- }
- }
Add Comment
Please, Sign In to add comment