Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- SE: &f[&bSignEdit&f]
- command /signedit [<text>] [<text>]:
- permission: sk.signedit
- permission message: permission message here
- trigger:
- if targeted block is not sign:
- send "{@SE} &cYou must be looking at a sign to use this."
- stop
- player cannot build at the targeted block:
- send "{@SE} &cYou cannot edit that sign."
- stop
- if argument 1 is not "1" or "2" or "3" or "4":
- send "{@SE} &cInvalid line number. Line numbers are 1-4"
- stop
- if argument 1 is not set:
- send "{@SE} &3Usage&7: &b/signedit <line> <text>"
- stop
- if argument 2 is not set:
- send "{@SE} &cPlease specify new sign text."
- stop
- if argument 1 is "1":
- set line 1 of targeted block to "%colored argument 2%"
- send "{@SE} &7Line changed."
- if argument 1 is "2":
- set line 2 of targeted block to "%colored argument 2%"
- send "{@SE} &7Line changed."
- if argument 1 is "3":
- set line 3 of targeted block to "%colored argument 2%"
- send "{@SE} &7Line changed."
- if argument 1 is "4":
- set line 4 of targeted block to "%colored argument 2%"
- send "{@SE} &7Line changed."
- hope you like it if you ever see it
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement