Originally Posted by
Treacles
Id like to ask how i would make something happen if something was said in the chat box kinda like a / command
Add a hook to a function that checks what letter is being pressed, bind it to key_down. Then simply check if they happen in order.
In pseudocode: If key == / then stage = 1 end
if key == p then stage = 2 end
if key == m then stage = 3 end
if stage == 3 then //code to send the pm end
Obviously not exactly like I said. And more conditions. But you should get the basic of how it's done.
PS. Questions shouldn't go there. I'll make a new topic for that, I guess.
-------
Updated above. Documentation now on the wiki. Added joint and state list.