Help Page for varBot - Printable Version +- Forums - Open Redstone Engineers (https://forum.openredstone.org) +-- Forum: Off-Topic (https://forum.openredstone.org/forum-4.html) +--- Forum: Programming (https://forum.openredstone.org/forum-8.html) +--- Thread: Help Page for varBot (/thread-11918.html) |
Help Page for varBot - qwerasd205 - 03-10-2017 Name - Description - Syntax
Type - Description - Syntax
Variable names are restricted to 0-9a-zA-Z_~!*- Example commands: Setting a constant variable for pi: set !pi 3.14159 Setting a temporary variable that will be deleted after someone `get`s it: set _myPassword ∆ Setting a dynamic variable that can be deleted after a few people see it, and then deleting it: set ~dynamic ThisIsASecret del ~dynamic Setting and getting a password protected variable and then deleting it: set #password123#varNameOfPassProtVar This is the value within the passport var. unlock #varNameOfPassProtVar password123 del #varNameOfPassProtVar Setting a read/write variable that anyone can modify and can't be deleted: set MyVar Getting a variable's value: get MyVar Finding out the date and time of creation of a variable (useful for finding out when a const will expire): when ThisVariableName Listing all variable names: keys Getting the link to this thread: help RE: Help Page for varBot - Phase - 03-17-2017 Code: let x = 7 RE: Help Page for varBot - qwerasd205 - 03-17-2017 (03-17-2017, 05:09 AM)Phase Wrote: ew what, no, that's so gross for an irc bot command. RE: Help Page for varBot - Apuly - 03-17-2017 (03-17-2017, 05:09 AM)Phase Wrote: what he said ^^ RE: Help Page for varBot - Nickster258 - 03-17-2017 (03-17-2017, 09:17 AM)Apuly Wrote:(03-17-2017, 05:09 AM)Phase Wrote: Inb4 "use var instead". RE: Help Page for varBot - LambdaPI - 03-17-2017 var x = 7 RE: Help Page for varBot - qwerasd205 - 03-17-2017 I am disappoint. RE: Help Page for varBot - Nickster258 - 03-17-2017 (03-17-2017, 04:38 PM)qwerasd205 Wrote: I am disappoint. no, you are qwerasd205 |