Advertisement
Organized

Scenario Manager [SK]

Nov 2nd, 2016
582
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. #Scenario manager by /u/OrganizedMadness_
  2. #Message me if you want the none function version
  3. #Feel free to edit to your liking! :)
  4.  
  5. function Scen(var: text, name: text, send: player):
  6. if {%{_var}%} is true:
  7. send " &8»&a %{_name}% &8» &7/%{_var}% disable" to {_send}
  8. else:
  9. send " &8»&c %{_name}% &8» &7/%{_var}% enable" to {_send}
  10.  
  11. command /scenarios:
  12. permission: skript.op
  13. aliases: /scen
  14. trigger:
  15. send "&e&lEclipse &8» &6Scenarios"
  16.  
  17. #Scen("variable", "Display Name", sender) <-- Example format of how to use the function
  18.  
  19. Scen("fastsmelt", "Fast Smelting", sender)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement