Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {foolsgold} = false
- command /foolsgold <text="toggle">:
- usage: /foolsgold <enable:disable>
- permission: skript.uhcbasic
- aliases: /fg
- trigger:
- if arg 1 is "enable":
- {foolsgold} is false:
- set {foolsgold} to true
- broadcast "&6[FoolsGold] &cEnabled!"
- else:
- message "&6[FoolsGold] &cFools Gold is already enabled!"
- if arg 1 is "disable":
- {foolsgold} is true:
- set {foolsgold} to false
- broadcast "&6[FoolsGold] &cDisabled!"
- else:
- message "&6[FoolsGold] &cFools Gold is already disabled!"
- if arg 1 is "toggle":
- {foolsgold} is true:
- set {foolsgold} to false
- broadcast "&6[FoolsGold] &cDisabled!"
- {foolsgold} is false:
- set {foolsgold} to true
- broadcast "&6[FoolsGold] &cEnabled!"
- on mine of gold ore:
- set the block to air
- cancel the event
- chance of 25%:
- drop 1 iron ore
- stop
- drop 1 gold ore
Advertisement
Add Comment
Please, Sign In to add comment