Advertisement
IchinoseYuki

IY-Airpos.sk v1.0

Oct 25th, 2019
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. #Written by IchinoseYuki (Discord:一ノ瀬雪#1027)
  2. #Request: IY-Core Ver:1.0 or later
  3.  
  4. on script load:
  5. broadcast "&e&l&k|||&9&l[&b&lIchinoseYuki Skript - Airpos&9&l]&e&l&k|||&r &7Ver.1.0"
  6.  
  7. command /airpos:
  8. aliases: ap
  9. trigger:
  10. if player don't have permission "worldedit.selection.pos":
  11. send "&4Error: &rYou don't have permission." if {IY::config::%uuid of player%::language} is "en"
  12. send "&4失敗: &rそのコマンドを使用する権限がありません。" if {IY::config::%uuid of player%::language} is "ja"
  13. if {AP::%player%} is true:
  14. set {AP::%player%} to false
  15. send "&aSuccess: &rChanged your Airpos status to false." if {IY::config::%uuid of player%::language} is "en"
  16. send "&a成功: &rAirpos機能を使えないようにしました。" if {IY::config::%uuid of player%::language} is "ja"
  17. else:
  18. set {AP::%player%} to true
  19. send "&aSuccess: &rChanged your Airpos status to true." if {IY::config::%uuid of player%::language} is "en"
  20. send "&a成功: &rAirpos機能を使えるようにしました。" if {IY::config::%uuid of player%::language} is "ja"
  21.  
  22. on leftclick on a air holding wooden axe:
  23. {AP::%player%} is true
  24. execute player command "//pos1"
  25.  
  26.  
  27. on rightclick on a air holding wooden axe:
  28. {AP::%player%} is true
  29. execute player command "//pos2"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement