Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Options:
- P: &8[&7Spectate&8]&7
- C: &7
- H: &a
- command /spec <player>:
- permission: skript.op
- usage: /spec <player>
- trigger:
- if arg-1 is set:
- command "/gmsp %arg-1%"
- set {spec::%arg-1%} to true
- message "{@P}{@C} Spec Mode Enabled For {@H}%arg-1%{@C}!"
- message "{@P}{@C} You Are Now In Spectator Mode!" to arg-1
- message " "
- message "{@P}{@C} Spectator Commands:"
- message " "
- message "{@P} &b - {@H}/sc &8| {@C}Comunicate With The Other Spectators."
- message "{@P} &b - {@H}/seespecs &8| {@C}See Who Else Is Spectating."
- message "{@P} &b - {@H}/tp <player> &8| {@C}Teleport To a Certain Player."
- message "{@P} &b - {@H}/t &8| {@C}Teleport To a Random Player."
- message "{@P} &b - {@H}/invsee &8| {@C}See a Certain Players Inventory!"
- message "{@P} &b - {@H}/invsee &8| {@C}See a Certain Players Inventory!"
- message " "
- message "{@P}{@C} Spectator Features:"
- message " "
- message "{@P} &b - {@C}Left Click To Teleport To a Random Player."
- message "{@P} &b - {@C}Left Click On a Mob For Their Prospective, Or On a Player For Their Prospective."
- command /unspec <player>:
- permission: skript.op
- usage: /unspec <player>
- trigger:
- if arg-1 is set:
- {spec::%arg-1%} is true
- delete {spec::%arg-1%}
- message "{@P}{@C} Spec Mode Disabled For {@H}%arg-1%{@C}!"
- message "{@P}{@C} You Are No Longer In Spectator Mode!" to arg-1
- command "/gms %arg-1%"
- command "/spawn %arg-1%"
- clear inventory of arg-1
- heal arg-1
- on command "/tp":
- {spec::%command sender%} is set
- command sender does not have permission "skript.op"
- cancel the event
- command sender command "/t %arguments%"
- on command "/invsee":
- {spec::%command sender%} is set
- command sender does not have permission "skript.op"
- cancel the event
- command sender command "/inv %arguments%"
- command /inv <player>:
- trigger:
- if {spec::%command sender%} is true:
- open arg 1's inventory to command sender
- message "{@P}{@C} Opened {@H}%arg-1%'s inventory."
- else:
- message "{@P}{@C} Your not spectating!"
- command /sc <text>:
- aliases: /specchat, /specc
- trigger:
- if {spec::%command sender%} is not set:
- send "{@P}{@C} You are not spectating!"
- stop trigger
- loop all players:
- {spec::%loop-player%} is true
- send "&8[&bSC&8] &e%command sender%: &b%arg-1%" to loop-player
- on gamemode change:
- {spec::%event-player%} is set
- cancel the event
- command /seespecs:
- trigger:
- if {spec::%command sender%} is not set:
- send "{@P}{@C} You are not spectating!"
- stop trigger
- if {spec::*} is set:
- send "{@P}{@C} Current Spectators:"
- loop {spec::*}:
- send " &e- &b%loop-index%"
- else:
- send "{@P}{@C} No current spectators!"
- on quit:
- {spec::%player%} is true
- command "/unspec %player%"
- command /t [<player>]:
- usage: /t [<player>]
- trigger:
- if {spec::%command sender%} is true:
- if arg-1 is not set:
- loop all players:
- {spec::%loop-player%} is not set
- add loop-player to {_tp::*}
- set {_player} to (a random element out of {_tp::*})
- if {_player} is not set:
- send "{@P} Nobody to teleport to."
- send "{@P} Teleported to %{_player}%"
- teleport command sender to {_player}
- else:
- send "{@P} Teleported to %arg-1%"
- teleport command sender to arg-1
- else:
- send "{@P} You are not spectating!"
- on left click:
- if {spec::%command sender%} is true:
- loop all players:
- {spec::%loop-player%} is not set
- add loop-player to {_tp::*}
- set {_player} to (a random element out of {_tp::*})
- teleport command sender to {_player}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement