SHARE
TWEET

[Skript]・Sudo

K2Rk1o Jan 20th, 2019 (edited) 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Options:
  2. #=============#
  3. #Sudo Skript
  4. #=============#
  5. #Config:
  6.     error: &9[&5Error&9]&f: &6&lコマンドが違います!
  7.     help: &6command /sudo (player) (command)
  8.  
  9. command /sudo [<player>] [<text>]:
  10.     permission: skript
  11.     trigger:
  12.         if arg-1 is set:
  13.             if arg-2 is set:
  14.                 set {_player} to argument 1
  15.                 loop all players:
  16.                     set {_player2} to loop-player
  17.                     if {_player2} is {_player}:
  18.                         make loop-player execute command "%arg-2%"
  19.                         stop
  20.         else:
  21.             send "{@error}"
  22.             stop
  23.  
  24. command /sudo-help:
  25.     permission: skript
  26.     trigger:
  27.         send "{@help}"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top