Advertisement
Guest User

SignEdit

a guest
Dec 12th, 2018
349
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. # Lavet af skriptshop
  2.  
  3. command /signedit [<text>] [<text>] :
  4. permission: se.sk
  5. aliases: /se
  6. trigger:
  7. if arg-1 is not set:
  8. send "&8[&4&lSignEdit&8] &7Hvilken linje skal du ændre?"
  9. else:
  10. if arg-1 is "1" or "2" or "3" or "4":
  11. if arg-2 is not set:
  12. send "&8[&4&lSignEdit&8] &7Hvad skal der stå på linje &c%arg-1%?"
  13. else:
  14. if arg-2 is set:
  15. target block is sign:
  16. if arg-1 is "1":
  17. set line 1 of targeted block to "%coloured arg-2%"
  18. if arg-1 is "2":
  19. set line 2 of targeted block to "%coloured arg-2%"
  20. if arg-1 is "3":
  21. set line 3 of targeted block to "%coloured arg-2%"
  22. if arg-1 is "4":
  23. set line 4 of targeted block to "%coloured arg-2%"
  24. send "&8[&4&lSignEdit&8] &7Du ændrede linje &c%arg-1% &7til &c%arg-2%"
  25. else:
  26. send "&8[&4&lSignEdit&8] &7Du skal kikke på et skilt!"
  27. else:
  28. send "&8[&4&lSignEdit&8] &7Du kan vælge mellen linje &c1&7,&c 2&7,&c 3&7, &c4&7!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement