View Single Post
  #6 (permalink)  
Old 08-31-2008, 03:45 PM
Supamagier Supamagier is offline
Senior Member
 
Join Date: Aug 2008
Posts: 186
Supamagier is on a distinguished road
When you receive the message, use this:
Code:
if (receivedMessage.startsWith("/")) { System.out.println("message: "+receivedMessage); }
Just start debugging at the beginning; if the above code doesn't output anything, try outputting the message without an if statement. If it does go one step further. For example, in the if statement, put:
Code:
if (receivedMessage.startsWith("/#quit"))
. etc.
__________________
check out
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
, 100% made by me.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Reply With Quote