Advertisement
miguelmarleau

Untitled

Feb 15th, 2019
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.51 KB | None | 0 0
  1. options:
  2. pr: &8&l(&3&l!&8&l) #Prefix for when something goes right
  3. pw: &8&l(&4&l!&8&l) #prefix for when something goes wrong (ex. not enough money)
  4. #[LETTER] rank = upgrade to [LETTER] ex: b rank = a -> b
  5. b rank: 100
  6. c rank: 100
  7. d rank: 100
  8. e rank: 100
  9. f rank: 100
  10. g rank: 100
  11. h rank: 100
  12. i rank: 100
  13. j rank: 100
  14. k rank: 100
  15. l rank: 100
  16. m rank: 100
  17. n rank: 100
  18. o rank: 100
  19. p rank: 100
  20. q rank: 100
  21. r rank: 100
  22. s rank: 100
  23. t rank: 100
  24. u rank: 100
  25. v rank: 100
  26. w rank: 100
  27. x rank: 100
  28. y rank: 100
  29. z rank: 100
  30. command /rankup:
  31. trigger:
  32. if {rank.%player%} is not set:
  33. if player's balance >= {@b rank}:
  34. send "{@pr} &7You have ranked up to &bB&7."
  35. set {rank.%player%} to "B"
  36. else:
  37. send "{@pw} &7You don't have enough money to do this!"
  38. send "{@pw} &7You need &4$&c{@b rank}&7 to do this!"
  39. if {rank.%player%} is "b":
  40. if player's balance >= {@c rank}:
  41. send "{@pr} &7You have ranked up to &bC&7."
  42. set {rank.%player%} to "C"
  43. else:
  44. send "{@pw} &7You don't have enough money to do this!"
  45. send "{@pw} &7You need &4$&c{@c rank}&7 to do this!"
  46. if {rank.%player%} is "c":
  47. if player's balance >= {@d rank}:
  48. send "{@pr} &7You have ranked up to &bD&7."
  49. set {rank.%player%} to "D"
  50. else:
  51. send "{@pw} &7You don't have enough money to do this!"
  52. send "{@pw} &7You need &4$&c{@d rank}&7 to do this!"
  53. if {rank.%player%} is "d":
  54. if player's balance >= {@e rank}:
  55. send "{@pr} &7You have ranked up to &bE&7."
  56. set {rank.%player%} to "E"
  57. else:
  58. send "{@pw} &7You don't have enough money to do this!"
  59. send "{@pw} &7You need &4$&c{@e rank}&7 to do this!"
  60. if {rank.%player%} is "e":
  61. if player's balance >= {@f rank}:
  62. send "{@pr} &7You have ranked up to &bF&7."
  63. set {rank.%player%} to "F"
  64. else:
  65. send "{@pw} &7You don't have enough money to do this!"
  66. send "{@pw} &7You need &4$&c{@f rank}&7 to do this!"
  67. if {rank.%player%} is "f":
  68. if player's balance >= {@g rank}:
  69. send "{@pr} &7You have ranked up to &bG&7."
  70. set {rank.%player%} to "G"
  71. else:
  72. send "{@pw} &7You don't have enough money to do this!"
  73. send "{@pw} &7You need &4$&c{@g rank}&7 to do this!"
  74. if {rank.%player%} is "g":
  75. if player's balance >= {@h rank}:
  76. send "{@pr} &7You have ranked up to &bH&7."
  77. set {rank.%player%} to "H"
  78. else:
  79. send "{@pw} &7You don't have enough money to do this!"
  80. send "{@pw} &7You need &4$&c{@h rank}&7 to do this!"
  81. if {rank.%player%} is "h":
  82. if player's balance >= {@i rank}:
  83. send "{@pr} &7You have ranked up to &bI&7."
  84. set {rank.%player%} to "I"
  85. else:
  86. send "{@pw} &7You don't have enough money to do this!"
  87. send "{@pw} &7You need &4$&c{@i rank}&7 to do this!"
  88. if {rank.%player%} is "I":
  89. if player's balance >= {@j rank}:
  90. send "{@pr} &7You have ranked up to &bJ&7."
  91. set {rank.%player%} to "J"
  92. else:
  93. send "{@pw} &7You don't have enough money to do this!"
  94. send "{@pw} &7You need &4$&c{@j rank}&7 to do this!"
  95. if {rank.%player%} is "J":
  96. if player's balance >= {@k rank}:
  97. send "{@pr} &7You have ranked up to &bK&7."
  98. set {rank.%player%} to "K"
  99. else:
  100. send "{@pw} &7You don't have enough money to do this!"
  101. send "{@pw} &7You need &4$&c{@k rank}&7 to do this!"
  102. if {rank.%player%} is "K":
  103. if player's balance >= {@l rank}:
  104. send "{@pr} &7You have ranked up to &bL&7."
  105. set {rank.%player%} to "L"
  106. else:
  107. send "{@pw} &7You don't have enough money to do this!"
  108. send "{@pw} &7You need &4$&c{@l rank}&7 to do this!"
  109. if {rank.%player%} is "L":
  110. if player's balance >= {@m rank}:
  111. send "{@pr} &7You have ranked up to &bM&7."
  112. set {rank.%player%} to "M"
  113. else:
  114. send "{@pw} &7You don't have enough money to do this!"
  115. send "{@pw} &7You need &4$&c{@m rank}&7 to do this!"
  116. if {rank.%player%} is "m":
  117. if player's balance >= {@n rank}:
  118. send "{@pr} &7You have ranked up to &bJ&7."
  119. set {rank.%player%} to "N"
  120. else:
  121. send "{@pw} &7You don't have enough money to do this!"
  122. send "{@pw} &7You need &4$&c{@n rank}&7 to do this!"
  123. if {rank.%player%} is "n":
  124. if player's balance >= {@o rank}:
  125. send "{@pr} &7You have ranked up to &bO&7."
  126. set {rank.%player%} to "O"
  127. else:
  128. send "{@pw} &7You don't have enough money to do this!"
  129. send "{@pw} &7You need &4$&c{@o rank}&7 to do this!"
  130. if {rank.%player%} is "O":
  131. if player's balance >= {@p rank}:
  132. send "{@pr} &7You have ranked up to &bP&7."
  133. set {rank.%player%} to "P"
  134. else:
  135. send "{@pw} &7You don't have enough money to do this!"
  136. send "{@pw} &7You need &4$&c{@p rank}&7 to do this!"
  137. if {rank.%player%} is "p":
  138. if player's balance >= {@q rank}:
  139. send "{@pr} &7You have ranked up to &bQ&7."
  140. set {rank.%player%} to "Q"
  141. else:
  142. send "{@pw} &7You don't have enough money to do this!"
  143. send "{@pw} &7You need &4$&c{@q rank}&7 to do this!"
  144. if {rank.%player%} is "Q":
  145. if player's balance >= {@r rank}:
  146. send "{@pr} &7You have ranked up to &bR&7."
  147. set {rank.%player%} to "R"
  148. else:
  149. send "{@pw} &7You don't have enough money to do this!"
  150. send "{@pw} &7You need &4$&c{@r rank}&7 to do this!"
  151. if {rank.%player%} is "R":
  152. if player's balance >= {@s rank}:
  153. send "{@pr} &7You have ranked up to &bS&7."
  154. set {rank.%player%} to "S"
  155. else:
  156. send "{@pw} &7You don't have enough money to do this!"
  157. send "{@pw} &7You need &4$&c{@s rank}&7 to do this!"
  158. if {rank.%player%} is "I":
  159. if player's balance >= {@t rank}:
  160. send "{@pr} &7You have ranked up to &bT&7."
  161. set {rank.%player%} to "T"
  162. else:
  163. send "{@pw} &7You don't have enough money to do this!"
  164. send "{@pw} &7You need &4$&c{@t rank}&7 to do this!"
  165. if {rank.%player%} is "T":
  166. if player's balance >= {@u rank}:
  167. send "{@pr} &7You have ranked up to &bU&7."
  168. set {rank.%player%} to "U"
  169. else:
  170. send "{@pw} &7You don't have enough money to do this!"
  171. send "{@pw} &7You need &4$&c{@u rank}&7 to do this!"
  172. if {rank.%player%} is "U":
  173. if player's balance >= {@t rank}:
  174. send "{@pr} &7You have ranked up to &bV&7."
  175. set {rank.%player%} to "V"
  176. else:
  177. send "{@pw} &7You don't have enough money to do this!"
  178. send "{@pw} &7You need &4$&c{@v rank}&7 to do this!"
  179. if {rank.%player%} is "V":
  180. if player's balance >= {@w rank}:
  181. send "{@pr} &7You have ranked up to &bW&7."
  182. set {rank.%player%} to "W"
  183. else:
  184. send "{@pw} &7You don't have enough money to do this!"
  185. send "{@pw} &7You need &4$&c{@w rank}&7 to do this!"
  186. if {rank.%player%} is "W":
  187. if player's balance >= {@x rank}:
  188. send "{@pr} &7You have ranked up to &bX&7."
  189. set {rank.%player%} to "X"
  190. else:
  191. send "{@pw} &7You don't have enough money to do this!"
  192. send "{@pw} &7You need &4$&c{@x rank}&7 to do this!"
  193. if {rank.%player%} is "x":
  194. if player's balance >= {@y rank}:
  195. send "{@pr} &7You have ranked up to &bY&7."
  196. set {rank.%player%} to "Y"
  197. else:
  198. send "{@pw} &7You don't have enough money to do this!"
  199. send "{@pw} &7You need &4$&c{@y rank}&7 to do this!"
  200. if {rank.%player%} is "Y":
  201. if player's balance >= {@z rank}:
  202. send "{@pr} &7You have ranked up to &bZ&7."
  203. set {rank.%player%} to "Z"
  204. else:
  205. send "{@pw} &7You don't have enough money to do this!"
  206. send "{@pw} &7You need &4$&c{@z rank}&7 to do this!"
  207. if {rank.%player%} is "Z":
  208. send "{@r} &7Failed while executing, you are at the maximum rank!"
  209. command /rank:
  210. trigger:
  211. send "You are ""%{rank.%player%}%"""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement