Skip to main content

9. [Plugin] Bonus to Ref. Parent for Variables

[VARIABLES] 9. BONUS TO REF. PARENT FOR VARIABLES

Variables with this plugin will be able to add bonuses - up the referral system to the "parents" of the users who's variable was charged by Admin.

〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️
🔌 Plugin of functions:
«8. Additional Variables»
❗ Plugins are not working without the mother feature as they are its components.
〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️

❗️ Plugin works only with NUMERIC variables.

ADDING THE REF. PARENT BONUS TO VARIABLE

▪️ After you purchase this plugin create the Editor button for the variable you need (you supposed to have variable already).

☞ To create an Editor for variable go to:
🎛 Buttons Editor
⚪️ Select the button
⚪️ Press *️⃣ (Settings)
⚪️ Assign Editor

▪️ Buttons for «activation/deactivation» of bonus accrual, a well as «bonus settings» will appear after purchase of this plugin.

❗ The «Ref. parent bonus» amount is set in PERCENT ( % ) from sum ON which variable was changed.

❗ The bonus for every level shall be set separately on the new line.

Thus - first line meaning is: add X% from the main bonus to the referral parent of level 1, second line for the second level and so on.

▪ Accruals are processed same as in the referral system:
● No more than the number of levels of the referral system itself.
● If the lines are less than the levels of the referral, then the remaining levels will be set "zero" bonus.
● If there are more rows than the referral levels, the extra lines will be ignored.

➠ Example:
10
5
2.5
Where "10, 5, 2.5" is the bonus percent that will be accrued for the referral parents at their levels (first, second and third), from the accrual specified by admin for this variable.

❗ Use a dot ( . ) as a decimal divider, here as well as everywhere in a bot.
❗ A form of writing with a percent (%) sign is also possible.

❗ Bonus to the referral parent is NOT assigned for negative values of the user accrual.

To add feature go to your bot:
☞ 🔐Admin | 🧩Extensions | 📂 Variables
〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️
👾 For 1 bot