Advertisement
Guest User

Untitled

a guest
Dec 17th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.21 KB | None | 0 0
  1. on command "/manuadd [<offlineplayer>] [<teskt>]"
  2. if arg-1 is a player:
  3. if arg-2 is "hjælper":
  4. execute console command "/staff add %arg-1% Hjælper"
  5. execute console command "/staff remove %arg-1% Mod"
  6. execute console command "/staff remove %arg-1% Admin"
  7. execute console command "/staff remove %arg-1% Head-Admin"
  8. execute console command "/staff remove %arg-1% Bygger"
  9. execute console command "/staff remove %arg-1% Tekniker"
  10. execute console command "/staff remove %arg-1% Ejer"
  11. cancel event
  12.  
  13. if arg-2 is "mod":
  14. execute console command "/staff add %arg-1% Mod"
  15. execute console command "/staff remove %arg-1% Hjælper"
  16. execute console command "/staff remove %arg-1% Admin"
  17. execute console command "/staff remove %arg-1% Head-Admin"
  18. execute console command "/staff remove %arg-1% Bygger"
  19. execute console command "/staff remove %arg-1% Tekniker"
  20. execute console command "/staff remove %arg-1% Ejer"
  21. cancel event
  22.  
  23. if arg-2 is "Admin":
  24. execute console command "/staff add %arg-1% Admin"
  25. execute console command "/staff remove %arg-1% Hjælper"
  26. execute console command "/staff remove %arg-1% Mod"
  27. execute console command "/staff remove %arg-1% Head-Admin"
  28. execute console command "/staff remove %arg-1% Bygger"
  29. execute console command "/staff remove %arg-1% Tekniker"
  30. execute console command "/staff remove %arg-1% Ejer"
  31. cancel event
  32.  
  33. if arg-2 is "Head-Admin":
  34. execute console command "/staff add %arg-1% Head-Admin"
  35. execute console command "/staff remove %arg-1% Hjælper"
  36. execute console command "/staff remove %arg-1% Mod"
  37. execute console command "/staff remove %arg-1% Admin"
  38. execute console command "/staff remove %arg-1% Bygger"
  39. execute console command "/staff remove %arg-1% Tekniker"
  40. execute console command "/staff remove %arg-1% Ejer"
  41. cancel event
  42.  
  43. if arg-2 is "Bygger":
  44. execute console command "/staff add %arg-1% Bygger"
  45. execute console command "/staff remove %arg-1% Hjælper"
  46. execute console command "/staff remove %arg-1% Mod"
  47. execute console command "/staff remove %arg-1% Admin"
  48. execute console command "/staff remove %arg-1% Head-Admin"
  49. execute console command "/staff remove %arg-1% Tekniker"
  50. execute console command "/staff remove %arg-1% Ejer"
  51. cancel event
  52.  
  53. if arg-2 is "Tekniker":
  54. execute console command "/staff add %arg-1% Tekniker"
  55. execute console command "/staff remove %arg-1% Hjælper"
  56. execute console command "/staff remove %arg-1% Mod"
  57. execute console command "/staff remove %arg-1% Admin"
  58. execute console command "/staff remove %arg-1% Head-Admin"
  59. execute console command "/staff remove %arg-1% Bygger"
  60. execute console command "/staff remove %arg-1% Ejer"
  61. cancel event
  62.  
  63. if arg-2 is "Ejer":
  64. execute console command "/staff add %arg-1% Ejer"
  65. execute console command "/staff remove %arg-1% Hjælper"
  66. execute console command "/staff remove %arg-1% Mod"
  67. execute console command "/staff remove %arg-1% Admin"
  68. execute console command "/staff remove %arg-1% Head-Admin"
  69. execute console command "/staff remove %arg-1% Bygger"
  70. execute console command "/staff remove %arg-1% Tekniker"
  71. cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement