no offence thats not even close to what its supose to be...
|
iin publicchat.java
i have this
but when i doCode:}else if (p.cat > 0 && p.chatText.startsWith("/")) { String chatMessage = p.chatText.substring(2); p.frames.sendMessage(p, Misc.capitalize(p.username) +":" + Misc.capitalize(chatMessage));
/test
every word i say after that comes as
Soul:est
yes i do have animal clans..
no offence thats not even close to what its supose to be...
not taken at all
its not mine i took from a friend
could you tell me how to do ?
would be really great if you do!
here you go
Code:if (chatText.startsWith("/")) { if (ClanChat.inClan(p)) { chatText = chatText.substring(1,chatText.length()); ClanChat.sendClanMessage(p, Misc.capitalize(chatText)); } else { p.frames.sendMessage(p, "You are not in a clan."); } } else { p.chatText = chatText; p.chatTextUpdateReq = true; p.updateReq = true; } } }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |