Guest User

BankSkrypt

a guest
Dec 13th, 2014
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.84 KB | None | 0 0
  1. options:
  2.  
  3. Prefix: &6[Bank]
  4. Prefix1: &c[BankError]
  5. Variables:
  6. {Bank.Kasa::%player%} = 0
  7.  
  8. on join:
  9. set {graczonline.%player%} to true
  10. set {dolaczenie.%player%} to true
  11. on quit:
  12. set {graczonline.%player%} to false
  13.  
  14. command /bank <text>:
  15. aliases: b
  16. trigger:
  17. arg 1 is not set:
  18. execute player command "/bank pomoc"
  19. if arg is "pomoc":
  20. send "{@Prefix}&2 Twoja liczba talarow to: &3%{Bank.Kasa::%player%}%"
  21. send "&e By wymienic cobble na talary uzyj:"
  22. send "&c /bank dodaj"
  23. send "&e Informacje o nagrodach:"
  24. send "&c /nagrody"
  25. send "&e Autor: OldisPL"
  26. if arg is "dodaj":
  27. if player has 256 cobblestone:
  28. remove 256 cobblestone from player
  29. send "{@Prefix}&2Pomyslnie dokonano wymiany"
  30. add 1 to {Bank.Kasa::%player%}
  31. stop
  32. else:
  33. send "{@Prefix1}&c Brak odpowiedniej ilosci cobble"
  34. command /nagroda <text>:
  35. trigger:
  36. if arg is "helm":
  37. if {Bank.Kasa::%player%} is bigger than 20:
  38. remove 20 from {Bank.Kasa::%player%}
  39. give diamond helmet of protection 4 and unbreaking 3 to player
  40. send "{@Prefix}&2 Dokonales wymiany"
  41. stop
  42. else:
  43. send "{@Prefix1} &c Halo halo a Talarki gdzie?"
  44.  
  45. if arg is "klata":
  46. if {Bank.Kasa::%player%} is bigger than 20:
  47. remove 20 from {Bank.Kasa::%player%}
  48. give diamond chestplate of protection 4 and unbreaking 3 to player
  49. send "{@Prefix}&2 Dokonales wymiany"
  50. stop
  51. else:
  52. send "{@Prefix1} &c Halo halo a Talarki gdzie?"
  53.  
  54. if arg is "spodnie":
  55. if {Bank.Kasa::%player%} is bigger than 20:
  56. remove 20 from {Bank.Kasa::%player%}
  57. give diamond leggings of protection 4 and unbreaking 3 to player
  58. send "{@Prefix}&2 Dokonales wymiany"
  59. stop
  60. else:
  61. send "{@Prefix1} &c Halo halo a Talarki gdzie?"
  62.  
  63. if arg is "buty":
  64. if {Bank.Kasa::%player%} is bigger than 20:
  65. remove 20 from {Bank.Kasa::%player%}
  66. give diamond boots of protection 4 and unbreaking 3 to player
  67. send "{@Prefix}&2 Dokonales wymiany"
  68. stop
  69. else:
  70. send "{@Prefix1} &c Halo halo a Talarki gdzie?"
  71.  
  72. if arg is "kox":
  73. if {Bank.Kasa::%player%} is bigger than 50:
  74. remove 50 from {Bank.Kasa::%player%}
  75. give enchanted golden apple to player
  76. send "{@Prefix}&2 Dokonales wymiany"
  77. stop
  78. else:
  79. send "{@Prefix1} &c Halo halo a Talarki gdzie?"
  80.  
  81. if arg is "kilof":
  82. if {Bank.Kasa::%player%} is bigger than 20:
  83. remove 20 from {Bank.Kasa::%player%}
  84. give diamond pickaxe of efficiency 4, fortune 3 and unbreaking 3 to player
  85. send "{@Prefix}&2 Dokonales wymiany"
  86. stop
  87. else:
  88. send "{@Prefix1} &c Halo halo a Talarki gdzie?"
Advertisement
Add Comment
Please, Sign In to add comment