Facebook
From te, 5 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 278
  1. on join:
  2.         if {Qz.rank.%player%} is not set:
  3.                 set {Qz.rank.%player%} to "&7"
  4.                 set {Qz.chatformat.%player%} to "&7 »&7"
  5.                 set {Qz.tabrank.%player%} to "&7Default"
  6.                 make console execute command "nte player %player% prefix &7"
  7.                 make console execute command "nte player %player% priority 10"
  8.                 make console execute command "pex user %player% group set Default"
  9.                 set {Qz.rankcolor.%player%} to "&7"
  10.                
  11.  
  12. command /setrank [<offline player>] [<string>]:
  13.         permission: Qz.Staff+
  14.         permission message: &cYou don't have permission to do that
  15.         trigger:
  16.                 if argument 1 is not set:
  17.                         send "&b[Qz] Rank System is up to date!"
  18.                         send "&6/rank <rank> <player>"
  19.                         send "&6Ranks: &7Default, &aQz &dYT &5Famous &cStaff &4Staff+ &eOwner"
  20.                 else if argument 2 is "Default":
  21.                         if argument 1 is set:
  22.                                 send "&c[Qz] Rank %arg-1% updated to &7Default"
  23.                                 set {Qz.rankcolor.%arg-1%} to "&7"
  24.                                 set {Qz.rank.%arg-1%} to "&7"
  25.                                 set {Qz.tabrank.%arg-1%} to "&7Default"
  26.                                 make console execute command "nte player %arg-1% prefix &7"
  27.                                 make console execute command "nte player %arg-1% priority 10"
  28.                                 make console execute command "pex user %arg-1% group set Default"
  29.                                 set {Qz.chatformat.%arg-1%} to "&7 »&7"
  30.                                 set {Qz.chatcolor.%arg-1%} to "&7"
  31.                         else:
  32.                                 send "&cInvalid usage!"
  33.                 else if argument 2 is "YT":
  34.                         if argument 1 is set:
  35.                                 send "&c[Qz] Rank %arg-1% updated to &dYT"
  36.                                 set {Qz.rankcolor.%arg-1%} to "&d"
  37.                                 set {Qz.rank.%arg-1%} to "&d[YT] "
  38.                                 set {Qz.tabrank.%arg-1%} to "&dYT"
  39.                                 make console execute command "nte player %arg-1% prefix &d"
  40.                                 make console execute command "nte player %arg-1% priority 9"
  41.                                 make console execute command "pex user %arg-1% group set YT"
  42.                                 set {Qz.chatformat.%arg-1%} to "&7 »&f"
  43.                                 set {Qz.chatcolor.%arg-1%} to "&f"
  44.                         else:
  45.                                 send "&cInvalid usage!"
  46.                 else if argument 2 is "Qz":
  47.                         if argument 1 is set:
  48.                                 send "&c[Qz] Rank %arg-1% updated to &aQz"
  49.                                 set {Qz.rankcolor.%arg-1%} to "&a"
  50.                                 set {Qz.rank.%arg-1%} to "&a[Qz] "
  51.                                 set {Qz.tabrank.%arg-1%} to "&aQzARMY"
  52.                                 make console execute command "nte player %arg-1% prefix &a"
  53.                                 make console execute command "nte player %arg-1% priority 8"
  54.                                 make console execute command "pex user %arg-1% group set Qz"
  55.                                 set {Qz.chatformat.%arg-1%} to "&7 »&f"
  56.                                 set {Qz.chatcolor.%arg-1%} to "&f"
  57.                         else:
  58.                                 send "&cInvalid usage!"
  59.                 else if argument 2 is "Famous":
  60.                         if argument 1 is set:
  61.                                 send "&c[Qz] Rank %arg-1% updated to &5Famous"
  62.                                 set {Qz.rankcolor.%arg-1%} to "&5"
  63.                                 set {Qz.rank.%arg-1%} to "&5[Famous] "
  64.                                 set {Qz.tabrank.%arg-1%} to "&5Famous"
  65.                                 make console execute command "nte player %arg-1% prefix &5"
  66.                                 make console execute command "nte player %arg-1% priority 7"
  67.                                 make console execute command "pex user %arg-1% group set Famous"
  68.                                 set {Qz.chatformat.%arg-1%} to "&7 »&f"
  69.                                 set {Qz.chatcolor.%arg-1%} to "&f"
  70.                         else:
  71.                                 send "&cInvalid usage!"
  72.                 else if argument 2 is "Staff":
  73.                         if argument 1 is set:
  74.                                 send "&c[Qz] Rank %arg-1% updated to &cStaff"
  75.                                 set {Qz.rankcolor.%arg-1%} to "&c"
  76.                                 set {Qz.rank.%arg-1%} to "&c[Staff] "
  77.                                 set {Qz.tabrank.%arg-1%} to "&cStaff"
  78.                                 make console execute command "nte player %arg-1% prefix &c[S] &c"
  79.                                 make console execute command "nte player %arg-1% priority 3"
  80.                                 set {Qz.chatformat.%arg-1%} to "&7 »&f"
  81.                                 set {Qz.chatcolor.%arg-1%} to "&f"
  82.                                 make console execute command "pex user %arg-1% group set Staff"
  83.                         else:
  84.                                 send "&cInvalid usage!"
  85.                 else if argument 2 is "Staff+":
  86.                         if argument 1 is set:
  87.                                 send "&c[Qz] Rank %arg-1% updated to &4Staff+"
  88.                                 set {Qz.rankcolor.%arg-1%} to "&4"
  89.                                 set {Qz.rank.%arg-1%} to "&4[Staff+] &4"
  90.                                 set {Qz.tabrank.%arg-1%} to "&4Staff+"
  91.                                 make console execute command "pex user %arg-1% group set Staff+"
  92.                                 make console execute command "nte player %arg-1% prefix &4[S+] &4"
  93.                                 make console execute command "nte player %arg-1% priority 2"
  94.                                 set {Qz.chatformat.%arg-1%} to "&4 »&c"
  95.                                 set {Qz.chatcolor.%arg-1%} to "&f"
  96.                         else:
  97.                                 send "&cInvalid usage!"
  98.                 else if argument 2 is "Owner":
  99.                         if argument 1 is "F7l_H" or "F7l_i1":
  100.                                 send "&c[Qz] Rank %arg-1% updated to &eOwner"
  101.                                 set {Qz.rankcolor.%arg-1%} to "&e"
  102.                                 set {Qz.rank.%arg-1%} to "&e[Owner] "
  103.                                 set {Qz.tabrank.%arg-1%} to "&eOwner"
  104.                                 make console execute command "nte player %arg-1% prefix &e[O] &e"
  105.                                 make console execute command "pex user %arg-1% group set Owner"
  106.                                 make console execute command "nte player %arg-1% priority 1"
  107.                                 set {Qz.chatformat.%arg-1%} to "&e »&6"
  108.                                 set {Qz.chatcolor.%arg-1%} to "&f"
  109.                         else:
  110.                                 send "&cYou are not F7l_H, F7l_i1!"
  111.  
  112.  
  113. on chat:
  114.         cancel event
  115.         broadcast "%{Qz.rank.%player%}%%player%%{Qz.chatformat.%player%}% %message%"