Parse

bool Parse(heapPtr event, string text)

Parse parses the specified text and creates a parse event, returning it in the event object specified. It returns TRUE if the text is successfully parsed, otherwise, FALSE.

Example
(var hEvent)

= hEvent (Event:new())
(
if(Parse(hEvent "open door"))
    (
if(Said('open/door')
        Display("The door is now open")
    )
)