SHARE
TWEET

Untitled

a guest Jan 26th, 2020 88 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. command /rank [<text>] [<player>]:
  2.     permission: op
  3.     permission message: No Permission
  4.     trigger:
  5.         if arg 1 is "default":
  6.             add arg 2 to {default::*}
  7.             remove arg 2 from {owner::*}
  8.             remove arg 2 from {admin::*}
  9.             remove arg 2 from {mod::*}
  10.             remove arg 2 from {srmod::*}
  11.             remove arg 2 from {trial::*}
  12.             send "&eYou've set %arg 2%&e's Group to %arg 1%"
  13.         if arg 1 is "trial":
  14.             add arg 2 to {trial::*}
  15.             remove arg 2 from {owner::*}
  16.             remove arg 2 from {admin::*}
  17.             remove arg 2 from {mod::*}
  18.             remove arg 2 from {srmod::*}
  19.             remove arg 2 from {default::*}
  20.             send "&eYou've set %arg 2%&e's Group to %arg 1%"
  21.         if arg 1 is "mod":
  22.             add arg 2 to {mod::*}
  23.             remove arg 2 from {owner::*}
  24.             remove arg 2 from {admin::*}
  25.             remove arg 2 from {default::*}
  26.             remove arg 2 from {srmod::*}
  27.             remove arg 2 from {trial::*}
  28.             send "&eYou've set %arg 2%&e's Group to %arg 1%"
  29.         if arg 1 is "srmod":
  30.             add arg 2 to {srmod::*}
  31.             remove arg 2 from {owner::*}
  32.             remove arg 2 from {admin::*}
  33.             remove arg 2 from {mod::*}
  34.             remove arg 2 from {default::*}
  35.             remove arg 2 from {trial::*}
  36.             send "&eYou've set %arg 2%&e's Group to %arg 1%"
  37.         if arg 1 is "admin":
  38.             add arg 2 to {admin::*}
  39.             remove arg 2 from {owner::*}
  40.             remove arg 2 from {default::*}
  41.             remove arg 2 from {mod::*}
  42.             remove arg 2 from {srmod::*}
  43.             remove arg 2 from {trial::*}
  44.             send "&eYou've set %arg 2%&e's Group to %arg 1%"
  45.         if arg 1 is "owner":
  46.             add arg 2 to {owner::*}
  47.             remove arg 2 from {default::*}
  48.             remove arg 2 from {admin::*}
  49.             remove arg 2 from {mod::*}
  50.             remove arg 2 from {srmod::*}
  51.             remove arg 2 from {trial::*}
  52.             send "&eYou've set %arg 2%&e's Group to %arg 1%"
  53.  
  54. on chat:
  55.   if player is {owner::*}:
  56.     cancel event
  57.     broadcast "&c[OWNER] &7%player% &8| &f%coloured message%"
  58.   if player is {default::*}:
  59.     cancel event
  60.     broadcast "&7%player% &8| &7%message%"
  61.   if player is {admin::*}:
  62.     cancel event
  63.     broadcast "&c[ADMIN] &7%player% &8| &f%message%"
  64.  
  65. on first join:
  66.   add player to {default::*}
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