Changes

41 bytes added ,  17:27, 17 March 2020
→‎Basic format: mention %fork as input to fork
Line 375: Line 375:  
|-
 
|-
 
| <tt>fork {{t|event ID}} {{o|req}}</tt>
 
| <tt>fork {{t|event ID}} {{o|req}}</tt>
| End the current command script and starts a different script with the given ID, but only if the {{o|req}} condition is met. The {{o|req}} condition can be a mail ID or dialogue answer ID; if not specified, it checks if the <tt>specialEventVariable1</tt> variable was set (e.g. by a <tt>question</tt> command). The new script should have the same format as a normal event script, but without the mandatory three start fields.
+
| End the current command script and starts a different script with the given ID, but only if the {{o|req}} condition is met. The {{o|req}} condition can be a mail ID or dialogue answer ID; if not specified, it checks if the <tt>specialEventVariable1</tt> variable was set (e.g. by a <tt>question</tt> event command or <tt>%fork</tt> dialogue command). The new script should have the same format as a normal event script, but without the mandatory three start fields.
 
|-
 
|-
 
| <tt>friendship {{t|npc}} {{t|amount}}</tt>
 
| <tt>friendship {{t|npc}} {{t|amount}}</tt>
37

edits