Skip to main content

ADVANCED HELP NEEDED: String to Command?

No replies
vaishnavsm
Offline
Joined: 2013-03-11
Points: 0

I have a string, and want to use that to derive a command, in Java.
Ex:
The string "obj.uid bot"
Should return the 'uid' field of the object 'bot'.

To make things clear, the command "obj.uid (obj)" or something can't be hard-coded in,
it HAS to be derived from the string.

Please help.