Tutorials_for_BDFD

onlyIf EN

Dec 4th, 2022
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. if you want to do something in an "if case" you can use $if and $endIf to create a block of sorts this way.
  2. This can also be used with select menus
  3.  
  4. variable
  5.  
  6. Premium = false
  7.  
  8. $onlyIf[$getServerVar[Premium]==yes;Premium requied]
  9.  
  10. This checks whether the variable has the value "yes" if this is not the case, the message after the ; issued in the case
  11.  
  12. Premium required.
  13.  
  14. If you want more information about the premium system, have a look here
  15.  
  16. https://www.youtube.com/watch?v=EVPeVjjQT2M
Advertisement
Add Comment
Please, Sign In to add comment