Advertisement
Guest User

Untitled

a guest
Oct 14th, 2013
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.14 KB | None | 0 0
  1. On first join:
  2. message "<red>%player% <green> please choose a race. By typing /race pick"
  3.  
  4. command /race pick <text>:
  5. usage: <green>/race pick (<red>Dwarf, <green>Elf, <Red>Vampire <green>, <grey>Spirit <green>Argonian)
  6. description: Pick a race
  7. trigger:
  8. set {race-.%player%} to "%text-argument%"
  9. {race-.%player%} is equal to "Dwarf":
  10. make player execute command "/Dwarf"
  11. message "<green>You are now a <red>Dwarf"
  12. {race-.%player%} is equal to "Elf":
  13. make player execute command "/Elf"
  14. message "<green>You are now an <green>Elf"
  15. {race-.%player%} is equal to "Vampire":
  16. make player execute command "/Vampire"
  17. message "<green>You are now a <black><bold>Vampire"
  18. {race-.%player%} is equal to "Argonian":
  19. make player execute command "/Argonian"
  20. message "<green>You are now a <grey>Argonian"
  21.  
  22. on login:
  23. remove the potion effect jumpboost from the player
  24. remove the potion effect waterbreathing from the player
  25. remove the potion effect strength from the player
  26.  
  27. command /Dwarf:
  28. description: Pick the Dwarf class
  29. trigger:
  30. set {race.%player%} to "Dwarf"
  31. wait 3 seconds
  32. set the player's walk speed to 0.12
  33. set Max Health of player to 15
  34. remove potion effect jumpboost from the player
  35. remove potion effect waterbreathing from the player
  36. remove potion effect strength from the player
  37.  
  38. command /Elf:
  39. description: Pick the Elf race
  40. trigger:
  41. set {race.%player%} to "Elf"
  42. wait 3 seconds
  43. set the player's walk speed to 0.3
  44. apply potion effect jumpboost to the player
  45. remove potion effect waterbreathing from the player
  46. remove potion effect strength from the player
  47.  
  48. command /Vampire:
  49. description: Pick the Vampire race
  50. trigger:
  51. set {race.%player%} to "Vampire"
  52. wait 3 seconds
  53. set the player's walk speed to 0.27
  54. remove potion effect jumpboost from the player
  55. remove potion effect waterbreathing from the player
  56. remove potion effect strength from the player
  57.  
  58. command /Argonian:
  59. description: Pick the Argonian race
  60. trigger:
  61. set {race.%player%} to "Argonian"
  62. wait 3 seconds
  63. set the player's walk speed to 0.25
  64. apply potion effect water breathing to the player
  65. remove potion effect jumpboost from the player
  66. remove potion effect strength from the player
  67.  
  68. on login:
  69. {race.%player%} is "Dwarf":
  70. make player execute command "/Dwarf"
  71. {race.%player%} is "Elf":
  72. make player execute command "/Elf"
  73. {race.%player%} is "Vampire":
  74. make player execute command "/Vampire"
  75. {race.%player%} is "Argonian":
  76. make player execute command "/Argonian"
  77.  
  78. on mine of iron ore:
  79. if {race.%player%} is "dwarf":
  80. chance of 50%:
  81. drop 2 iron ingots
  82. default:
  83. drop 1 iron ingot
  84.  
  85. on mine of gold ore:
  86. if {race.%player%} is "dwarf":
  87. chance of 50%:
  88. drop 2 gold ingots
  89. default:
  90. drop 1 gold ingot
  91.  
  92. on mine of diamond ore:
  93. if {race.%player%} is "dwarf":
  94. chance of 50%:
  95. drop 2 diamonds
  96. default:
  97. drop 1 diamond
  98.  
  99. at time 0:
  100. if {rage.%player%} is "vampire"
  101. apply potion of weakness tier 1 to player for 999 days
  102.  
  103. at time 6:00:
  104. if {rage.%player%} is "vampire"
  105. remove potion of weakness form player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement