Advertisement
doyouevenbanter_

Untitled

May 10th, 2015
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. options:
  2. P: &7[&bAlerting Diamonds&7]&f
  3.  
  4.  
  5.  
  6.  
  7.  
  8. command /alertdia [<text>]:
  9. usage: /alertdia help
  10. permission: alert.dia
  11. permission message: {@P} You do not have the permission to use this command.
  12. trigger:
  13. if arg 1 is not set:
  14. send "{@P} /alertdia help" to the command sender
  15. if arg 1 is "help":
  16. send "&b--------------------------------------" to the command sender
  17. send "{@P} &4INFO: &fWhen you mine a diamond, a ghast moan is played to all players." to the command sender
  18. send " " to the command sender
  19. send "{@P} Game Commands" to the command sender
  20. send " " to the command sender
  21. send "{@P} /alertdia &2on: &f Enables the gamemode." to the command sender
  22. send "{@P} /alertdia &coff: &f Disables the gamemode." to the command sender
  23. send "&b--------------------------------------" to the command sender
  24. if arg 1 is "on":
  25. set {alerted} to true
  26. broadcast "{@P} Alerting Diamonds has been &2enabled &fby &e%command sender%!"
  27. if arg 1 is "off":
  28. set {alerted} to false
  29. broadcast "{@P} Alerting Diamonds has been &cdisabled &fby &e%command sender%!"
  30.  
  31.  
  32. on mine of diamond ore:
  33. {alerted} is true:
  34. loop all players:
  35. execute console command "/playsound mob.ghast.scream %loop-player%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement