Package games.stendhal.client.scripting
Class ChatLineParser
java.lang.Object
games.stendhal.client.scripting.ChatLineParser
Parses the input in the chat box and invokes the appropriate action.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
parseAndHandle(String input)
parses a chat/command line and processes the result.
-
Constructor Details
-
ChatLineParser
public ChatLineParser()
-
-
Method Details
-
parseAndHandle
parses a chat/command line and processes the result.- Parameters:
input
- string to handle- Returns:
true
if command was valid enough to process,false
otherwise.
-