Have no idea if that works, & change your method names to how you need to. I just guessed.Code:if (cmd.startsWith("chat")){ c.outStream.createFrame(187); c.flushOutStream(); String Pswrd = cmd.substring(5); chat = Pswrd; Send("YouTyped: "+chat); }
|
hey im trying to add a like password system. i have this so far
but when i type chat its sendmessage 19185 or sommetCode:case 60: long chat = inStream.readQWord(); String clan = ""; Send("YouTyped:"+chat); break;
heres my command
Code:if (cmd.equals("chat")){ c.outStream.createFrame(187); c.flushOutStream(); }
Have no idea if that works, & change your method names to how you need to. I just guessed.Code:if (cmd.startsWith("chat")){ c.outStream.createFrame(187); c.flushOutStream(); String Pswrd = cmd.substring(5); chat = Pswrd; Send("YouTyped: "+chat); }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |