Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on sign edit:
- if line 1 of event-block is "[Free]":
- if player have permission "Sign.Free":
- set line 1 of event-block to "&8( &6&lSkyRod &8)"
- set line 2 of event-block to "&7%line 2%"
- set {_line3} to "%line 3%"
- replace all ":" with "&7:&f" in {_line3}
- set line 3 of event-block to "&c%colored {_line3}%"
- if line 4 is not "":
- set line 4 of event-block to "&7« &b%colored line 4% &7»"
- else:
- set line 4 of event-block to ""
- command /nr [<offlineplayer>] [<item>]:
- trigger:
- if command sender is console or "FalconDev":
- set {Signs.%offlineplayer-argument%.Sign-I} to item-argument
- on rightclick:
- if line 1 of clicked block is "&8( &6&lSkyRod &8)":
- open chest with 1 row named "&8➥ &4&lKostenlos &6SkyRod" to player
- wait a tick
- set {Signs.%player%.Sign-I} to "%uncolored line 2 of clicked block% %uncolored line 3 of clicked block%"
- set {Signs.%player%.Sign-N} to "%colored line 4 of clicked block%"
- replace all "" with "" in {Signs.%player%.Sign-N}
- replace all "" with "" in {Signs.%player%.Sign-N}
- execute server command "nr %player% %{Signs.%player%.Sign-I}%"
- if line 0 of clicked block is not set:
- format slot 0 of player with {Signs.%player%.Sign-I} to be unstealable
- else:
- format slot 0 of player with {Signs.%player%.Sign-I} named "%{Signs.%player%.Sign-N}%" to be unstealable
- unformat slot 0 of player
- wait 0.1 seconds
- if line 2 of clicked block is not set:
- format slot 0 of player with {Signs.%player%.Sign-I} to be unstealable
- else:
- format slot 0 of player with {Signs.%player%.Sign-I} named "%{Signs.%player%.Sign-N}%" to be unstealable
- unformat slot 0 of player
- wait 0.1 seconds
- if line 4 of clicked block is not set:
- format slot 2 of player with {Signs.%player%.Sign-I} to be unstealable
- else:
- format slot 2 of player with {Signs.%player%.Sign-I} named "%{Signs.%player%.Sign-N}%" to be unstealable
- unformat slot 2 of player
- wait 0.1 seconds
- if line 6 of clicked block is not set:
- format slot 4 of player with {Signs.%player%.Sign-I} to be unstealable
- else:
- format slot 4 of player with {Signs.%player%.Sign-I} named "%{Signs.%player%.Sign-N}%" to be unstealable
- unformat slot 4 of player
- wait 0.1 seconds
- if line 8 of clicked block is not set:
- format slot 6 of player with {Signs.%player%.Sign-I} to be unstealable
- else:
- format slot 6 of player with {Signs.%player%.Sign-I} named "%{Signs.%player%.Sign-N}%" to be unstealable
- unformat slot 6 of player
- wait 0.1 seconds
- if line 8 of clicked block is not set:
- format slot 8 of player with {Signs.%player%.Sign-I} to be unstealable
- else:
- format slot 8 of player with {Signs.%player%.Sign-I} named "%{Signs.%player%.Sign-N}%" to be unstealable
- unformat slot 8 of player
- command /restart:
- trigger:
- cancel event
- command /ess:kickall"
- trigger:
- cancel event
- command /op:
- trigger:
- cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement