Advertisement
Guest User

kod.sk

a guest
Jul 11th, 2014
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. command /kod <text>:
  2. description: &a &l Jezeli trwa &1 event &l to wyswietli sie kod ktory musisz przepisac aby zdoyb nagrode.
  3. usage: /kod <kod>
  4. trigger:
  5. if {kod.start} is 1:
  6. if argument 1 is {kod}:
  7. if {kod.typ} is 5:
  8. broadcast "&b &l Gratulacje dla %player% ktory wygral 1000$!"
  9. add 1000 to the player's account
  10. set {kod.start} to 0
  11.  
  12. else:
  13. if {kod.typ} is 1:
  14. broadcast "&b &l Gratulacje dla %player% ktory wygral VIP'a!"
  15. console command "setrank %player% VIP 604800"
  16. set {kod.start} to 0
  17.  
  18. else:
  19. if {kod.typ} is 2:
  20. broadcast "&b &l Gratulacje dla %player% ktory wygral kit VIP!"
  21. console command "kit vip %player%"
  22. set {kod.start} to 0
  23.  
  24. else:
  25. if {kod.typ} is 3:
  26. broadcast "&b &l Gratulacje dla %player% ktory wygral SVIP'a!"
  27. console command "setrank %player% SVIP 604800"
  28. set {kod.start} to 0
  29.  
  30. else:
  31. if {kod.typ} is 4:
  32. broadcast "&b &l Gratulacje dla %player% ktory wygral kit SVIP!"
  33. console command "kit svip %player%"
  34. set {kod.start} to 0
  35.  
  36. else:
  37. if {kod.typ} is 6:
  38. broadcast "&b &l Gratulacje dla %player% ktory wygral itemki na gildie!"
  39. console command "kit vip %player%"
  40. set {kod.start} to 0
  41.  
  42. else:
  43. send "&4 &l Zle przepisany kod!" to player
  44. else:
  45. send "&4 Aktualnie nie trwa zaden event" to player
  46. stop trigger
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement