User Tools

Site Tools


Writing /app/www/public/data/meta/add_types.meta failed
add_types

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
add_types [2017/03/29 02:59] – [Full Check] megano0bodyadd_types [2021/11/15 16:43] (current) – external edit 127.0.0.1
Line 131: Line 131:
  
 // Check if the creature Rafzan is in a range smaller or equal to 3, if true the cavebot go to the next point, otherwise the cavebot reset to the first waypoint item. // // Check if the creature Rafzan is in a range smaller or equal to 3, if true the cavebot go to the next point, otherwise the cavebot reset to the first waypoint item. //
 +
  
   * **!MyVariable!<nowiki>==</nowiki>2**   * **!MyVariable!<nowiki>==</nowiki>2**
  
-// Check if the variable MyVariable is 3. Note: the left operant must be smaller than 100 (so MyVariable should be less than 100), otherwise it will consider as a item ID FullCheck. It is a good practice to put conditions on macros and only checking if their result is true on the fullcheck, e.g.: a macro updates a variable CanUseSDRune, and the FullCheck will be !CanUseSDRune!==1 (check if 1, or fails otherwise). +// Check if the variable MyVariable is 3. Note: the left operant must be smaller than 100 (so MyVariable should be less than 100), otherwise it will consider as a item ID FullCheck. It is a good practice to put conditions on macros and only checking if their result is true on the fullcheck, e.g.: a macro updates a variable CanUseSDRune, and the FullCheck will be !CanUseSDRune!==1 (check if 1, or fails otherwise). //
- +
  
  
 **Note:** if you need multiple conditions you **MUST** use the same fullcheck code grouping them like: **Note:** if you need multiple conditions you **MUST** use the same fullcheck code grouping them like:
- 
  
  
Line 150: Line 148:
  
 //Cap<100;Health Potion<10;3031>1500// //Cap<100;Health Potion<10;3031>1500//
 +
  
 ===== Full Check Label ===== ===== Full Check Label =====
add_types.1490756353.txt.gz · Last modified: (external edit)