SHARE
TWEET

prefix skript

K2Rk1o Nov 15th, 2018 (edited) 91 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #------------------------------#
  2. #     prefix skript            #
  3. #  version 0.1                 #
  4. #  mc ver 1.12.2               #
  5. #------------------------------#
  6.  
  7. on chat:
  8.     cancel event
  9.     if {prefix::%uuid of player%} is set:
  10.         if {suffix::%uuid of player%} is set:
  11.             broadcast "%{prefix::%uuid of player%}%%player%%{suffix::%uuid of player%}% &f≫ %message%"
  12.         else:
  13.             broadcast "%{prefix::%uuid of player%}%%player% &f≫ %message%"
  14.     else:
  15.         if {suffix::%uuid of player%} is set:
  16.             broadcast "&7%player%%{suffix::%uuid of player%}% &f≫ %message%"
  17.         else:
  18.             broadcast "&7%player% &f≫ %message%"
  19.  
  20. command /prefix [<offline player>] [<text>]:
  21.     permission: admin
  22.     permission message: あなたは権限を持っていません。
  23.     trigger:
  24.         set {prefix::%uuid of arg-1%} to colored arg-2
  25.         send "&b%arg 1% の前を %colored arg 2% &bにしました!"
  26.  
  27. command /clearprefix [<offline player>]:
  28.     permission: admin
  29.     permission message: あなたは権限を持っていません。
  30.     trigger:
  31.         clear {prefix::%uuid of arg-1%}
  32.         send "&b%arg 1% の称号をリセットしました。"
  33.  
  34. command /suffix [<offline player>] [<text>]:
  35.     permission: admin
  36.     permission message: あなたは権限を持っていません。
  37.     trigger:
  38.         set {suffix::%uuid of arg-1%} to coloured arg-2
  39.         send "&b%arg 1% の称号を%colored arg 2% &bにしました!"
  40.  
  41. command /clearsuffix [<offline player>]:
  42.     permission: admin
  43.     permission message: あなたは権限を持っていません。
  44.     trigger:
  45.         clear {suffix::%uuid of arg-1%}
  46.         send "&b%arg 1% の称号をリセットしました。"
  47.  
  48. command /prefixhelp:
  49.     permission: skript.admin
  50.     permission message: あなたは権限を持っていません。
  51.     trigger:
  52.         send "&b&m================================="
  53.         send "&b&lPREFIX &eSKRIPT Version:1.12.2   "
  54.         send "&b&l/prefix (名前) (称号)             "
  55.         send "&b&l/clearprefix (名前)               "
  56.         send "&b&l/setsuffix (名前) (称号)          "
  57.         send "&b&l/clearsuffix (名前)"
  58.         send "&b&m================================="
  59.  
  60.  
  61. command /playerrank [<offline player>]:
  62.     trigger:
  63.         if arg-1 is not set:
  64.             send " &e&l %player%"
  65.             send " &a&lランク≫ %{prefix::%uuid of player%}%"
  66.             send " &a"
  67.         if arg-1 is set:
  68.             send " &e&l %arg-1%"
  69.             send " &a&lランク≫ %{prefix::%uuid of arg-1%}%"
  70.             send " &a"
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