From 64090e3abd358eeff8212074bfc7c7aa192930ea Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 12 Jun 2013 14:18:56 -0700 Subject: [PATCH] Updated Lua Parser (markdown) --- Lua-Parser.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Lua-Parser.md b/Lua-Parser.md index abfc043..589d73b 100644 --- a/Lua-Parser.md +++ b/Lua-Parser.md @@ -354,6 +354,7 @@ Note: Encounter scripts cannot properly catch EVENT_COMMAND or EVENT_TRADE unles > Integer skill_id; > } > ``` +> Returning a non-zero value will cancel the death. * event_timer * event_signal @@ -390,6 +391,17 @@ Note: Encounter scripts cannot properly catch EVENT_COMMAND or EVENT_TRADE unles * event_duel_win * event_duel_lose * event_command +> Triggered when a client enters a #command +> Passes an event table as an argument: +> ``` +> { +> Client self; +> String command; +> IntegerArray args; +> } +> ``` +> Returning a non-zero value will suppress the command not found message + * event_feign_death