Difference between revisions of "Deep Notes"

From Catznip
Jump to navigation Jump to search
(Created page with "Here are a few tips tricks and quirks, I'm sure this will end up far more comprehensive ... <span id="ny"> ===Substitute add|rem for n|y.=== </span> Most commands take a bool...")
 
Line 7: Line 7:
  
 
<code>
 
<code>
@touchworld:<{{RLVaCommandType|UUID}}>=<{{RLVaCommandType|addrem}}>
+
@touchworld:<{{RLVaCommandType|UUID}}>=<add{{!}}rem>
  
@touchworld:<{{RLVaCommandType|UUID}}>=<{{RLVaCommandType|ny}}>
+
@touchworld:<{{RLVaCommandType|UUID}}>=<n{{!}}y}>
 
</code>
 
</code>
  
 
[[Category:RLVa]]
 
[[Category:RLVa]]

Revision as of 15:48, 7 January 2014

Here are a few tips tricks and quirks, I'm sure this will end up far more comprehensive ...

Substitute add|rem for n|y.

Most commands take a boolean option to enable or disable a certain viewer behaviour. As far as RLVa (and Marine's RLV) is concerned add=n and rem=y. The following commands are functionally identical, the latter saves you 2 bytes of script memory. If you're calling a lot of commands this can add up quickly.

@touchworld:<>=<add|rem>

@touchworld:<>=<n|y}>