Bot Data Buckets¶
- Bot data buckets allow Server Operators to limit the spells a Bot will cast based on different data bucket comparisons and the bucket name and value provided.
Using Bot Data Buckets¶
- To use a Bot Data Bucket you will need to set the
bucket_name,bucket_value, andbucket_comparisonfields in thebot_spells_entriestable for your intended spell.
How the Data Buckets are Used¶
- Data Buckets used by the Bot use a
bucket_key-bucket_nameformat. - Meaning if your Bot ID is
7and the bucket name istestyour Data Bucket Key will bebot-7. -
If the Data Bucket's name is
testthe Bot will attempt to find a Data Bucket calledbot-7-test. -
The Bot will also use it's Owners Data Buckets to provide additional flexability.
- Meaning if your Character ID is
9and the bucket name istestyour Data Bucket Key will becharacter-9. -
If the Data Bucket's name is
testthe Bot will attempt to find a Data Bucket calledcharacter-9-test. -
The Bot grabs all of their Data Buckets, along with the owner's Data Buckets when spawned and then compares values to the field values noted above.
Comparison Types¶
- Bot Data Buckets have 10 different comparison types.
Standard Comparison Types¶
- There are six standard comparison types.
0 (==)checks your value and the Bot value forequality1 (!=)checks your value and the Bot value forinequality2 (>=)checks if your value isgreater than or equal tothe Bot value3 (<=)checks if your value islesser than or equal tothe Bot value4 (>)checks if your value isgreater thanthe Bot value5 (<)checks if your value islesser thanthe Bot value
Special Comparsion Types¶
- There are four special comparison types.
- These values are pipe
|separated.6 (Any)checks if your value isanyof the pipe-separated Bot values(Example: 1|2|3)7 (Not Any)checks if your value isnot anyof the pipe-separated Bot values(Example: 4|5|6)8 (Between)checks if your value isbetweentwo pipe-separated Bot values(Example: 1|3)9 (Not Between)checks if your value isnot betweentwo pipe-separated Bot values(Example: 4|6)