Basic Conditions



In this section we are going to describe the basic commands that are in the Condition tab of the command panel. All of these commands will open a block captioned by the command. You can see the block as a green box on your command list. The command that opens the block will refer to a condition, and all the commands you put inside the block will only be executed if the condition referred by the opening block command is met. (For example, if you add a 'if the slave is female' command, a new block will be opened, and all the commands you add inside this block will only execute if the slave running the script is female, and they won't be executed if the slave is male).



In all of these commands (except for the else case command) you will have the option to check a checkbox labeled 'Not'. If this option is selected, the block that opens the command will be executed only if the condition referred by the command is not met.



If the slave is male/female

This command will open a block that will be executed if the slave is male/female.



If the slave is attracted to men/women

This command will open a block that will be executed if the slave is attracted to men/women.



If slave has an item

This command will open a block that will be executed if the slave has an specified item, it can be a toy or a piece of clothing. You can select the item to check from a droplist.



If a chance is met

This command will open a block that will be executed if a probability of some specified percentage is randomly met. For example, if you specify a percentage of 25, the block will be executed only one quarter of the times you run the script on average.



If time is a value

This command will open a block that will be executed if a current time unit, that you can select from a droplist (year, month, day, hour, minute, second, millisecond), is in a range relative to specified value. That range can be selected from a droplist as equal to the value, smaller than the value, larger than the value, smaller or equal to the value or larger or equal to the value. Explained like this this commands seems confusing and hard to use, but it is in fact very simple. If you wish to check for example if the script is running at the evening (let's say after 3 pm) you only have to check if the hour is larger or equal to 15 (the hour goes from 0 to 23). If you wish to check, for example, if the script is running in the first half of the month (days 1 to 15) you only have to check if the day is smaller than 16. And so on.



Else Case

This command can only be added just at the end of a condition block (Select the line where the condition block ends to add it). It will open a new block attached to the above block that will be executed only if the above block that it is attached to is not executed. You cannot attach an else block to another else block.



return to the contents page