Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Lavet af skriptshop
- command /signedit [<text>] [<text>] :
- permission: se.sk
- aliases: /se
- trigger:
- if arg-1 is not set:
- send "&8[&4&lSignEdit&8] &7Hvilken linje skal du ændre?"
- else:
- if arg-1 is "1" or "2" or "3" or "4":
- if arg-2 is not set:
- send "&8[&4&lSignEdit&8] &7Hvad skal der stå på linje &c%arg-1%?"
- else:
- if arg-2 is set:
- target block is sign:
- if arg-1 is "1":
- set line 1 of targeted block to "%coloured arg-2%"
- if arg-1 is "2":
- set line 2 of targeted block to "%coloured arg-2%"
- if arg-1 is "3":
- set line 3 of targeted block to "%coloured arg-2%"
- if arg-1 is "4":
- set line 4 of targeted block to "%coloured arg-2%"
- send "&8[&4&lSignEdit&8] &7Du ændrede linje &c%arg-1% &7til &c%arg-2%"
- else:
- send "&8[&4&lSignEdit&8] &7Du skal kikke på et skilt!"
- else:
- 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