SHARE
TWEET

fyr/ansæt.2.0sk

skraldespanden Feb 14th, 2020 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. options:
  2.     Satrank: A #her skal den rank ham du fyres være der hvor der står A
  3.     setprefix: &aA &7 #dette skal det prefix han for
  4.  
  5.  
  6.  
  7.  
  8. command /fyr [<offline player>]:
  9.     permission: Admin
  10.     permission message: "&4&lFejl &7vi fandt en fejl da du prøvede at skrive denne command"
  11.     trigger:
  12.         if arg-1 is not set:
  13.             send "&cDu glemte vist at skrive en spiller"
  14.         if arg-1 is set:
  15.             if arg-1 is not a player:
  16.                 send "&cDette er ikke en spiller"
  17.                
  18.         if arg-1 is set:
  19.             if arg-1 is a player:
  20.                 execute console command "/manuadd %arg-1% {@Satrank}"
  21.                 execute console command "/nte player %arg-1% prefix {@setprefix}"
  22.                 execute console command "/nte player %arg-1% suffix &7
  23.                 execute console command "/deop %arg-1%"
  24.                 add 1 to {fyringtal.%player%}
  25.                 broadcast "&4&lFYRING"
  26.                 broadcast "&7"
  27.                 broadcast "&7Spillern &c%arg-1% &7er lige blevet fyret af &c%player%"
  28.                 broadcast "&7"
  29.                 wait 2 seconds
  30.                 send "&7du har nu fyret &b%{fyringtal.%player%}% &7personer"
  31.                 stop
  32.                
  33.                
  34.                
  35. command /ansæt [<offline player>] [<text>]:
  36.     permission: Admin
  37.     trigger:
  38.         if arg-2 is not set:
  39.             if arg-1 is not set:
  40.                 send "&c/snsæt (spiller) (rank)"
  41.                 send "&7Hjælper , mod , admin , h-admin , Ejer"
  42.         if arg-2 is "hjælper":
  43.             if arg-1 is a player:
  44.                 if arg-1 is set:
  45.                     execute console command "/manuadd %arg-1% hjælper"
  46.                     execute console command "/nte player %arg-1% prefix &3&lHjælper &7"
  47.                     broadcast "&a&lANSÆTELSE"
  48.                     broadcast "&7"
  49.                     broadcast "&7Spillern &2%arg-1% &7er lige blevet ansat som &3Hjælper &7af &2%player%"
  50.                     broadcast "&7"
  51.         if arg-2 is "mod":
  52.             if arg-1 is a player:
  53.                 if arg-1 is set:
  54.                     execute console command "/manuadd %arg-1% mod"
  55.                     execute console command "/nte player %arg-1% prefix &d&lMod &7"
  56.                     broadcast "&a&lANSÆTELSE"
  57.                     broadcast "&7"
  58.                     broadcast "&7Spillern &2%arg-1% &7er lige blevet ansat som &dMod &7af &2%player%"
  59.                     broadcast "&7"
  60.         if arg-2 is "admin":
  61.             if arg-1 is a player:
  62.                 if arg-1 is set:
  63.                     execute console command "/manuadd %arg-1% admin"
  64.                     execute console command "/nte player %arg-1% prefix &c&lAdmin"
  65.                     broadcast "&a&lANSÆTELSE"
  66.                     broadcast "&7"
  67.                     broadcast "&7Spillern &2%arg-1% &7er lige blevet ansat som &cAdmin &7af &2%player%"
  68.                     broadcast "&7"
  69.         if arg-2 is "H-Admin":
  70.             if arg-1 is a player:
  71.                 if arg-1 is set:
  72.                     execute console command "/manuadd %arg-1% H-Admin"
  73.                     execute console command "/nte player %arg-1% prefix &4&lH-Admin"
  74.                     broadcast "&a&lANSÆTELSE"
  75.                     broadcast "&7"
  76.                     broadcast "&7Spillern &2%arg-1% &7er lige blevet ansat som &4H-Admin &7af &2%player%"
  77.                     broadcast "&7"
  78.         if arg-2 is "Ejer":
  79.             if arg-1 is a player:
  80.                 if arg-1 is set:
  81.                     execute console command "/manuadd %arg-1% Ejer"
  82.                     execute console command "/nte player %arg-1% prefix &4&lEJER"
  83.                     broadcast "&a&lANSÆTELSE"
  84.                     broadcast "&7"
  85.                     broadcast "&7Spillern &2%arg-1% &7er lige blevet ansat som &4Ejer &7af &2%player%"
  86.                     broadcast "&7"
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