Guest User

Untitled

a guest
Feb 21st, 2015
1,213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.99 KB | None | 0 0
  1. #Autor: EndDragos
  2. #Zezwalam na edytowanie wszystkiego oprócz tego co @up :P czyli autora.
  3. #Version: 2.0
  4. options:
  5. tag: &f[&aSKLEP&6SMS&f]
  6. # NEXT info #
  7. ranga1: vip # nazwa rangi
  8. ranga1nr: 91955 # numer pod który nalezy wyslac sms'a
  9. ranga1kod: HPAY.ENCH # tresc smsa na tą range
  10. # NEXT info #
  11. ranga2: svip
  12. ranga2nr: 91955
  13. ranga2kod: HPAY.ENCH
  14. # NEXT info #
  15. ranga3: mod
  16. ranga3nr: 91955
  17. ranga3kod: HPAY.ENCH
  18. czas: 1800
  19.  
  20. variables:
  21. {spam.%player%} = false
  22.  
  23. command /kod [<text>] [<text>]:
  24. trigger:
  25. if arg 1 is set:
  26. if arg 2 is set:
  27. if length of arg 2 = 8:
  28. if {spam.%player%} is false:
  29. if arg 1 is "{@ranga1}" or "{@ranga2}" or "{@ranga3}": # aby dodac wiecej daj za "{@ranga3}" or "TWOJARANGA": itd #
  30. log "-------------------------------------------------" to "kody/kod"
  31. log "Gracz: %player% Ranga: %arg 1% Kod: %arg 2%" to "kody/kod"
  32. log "-------------------------------------------------" to "kody/kod"
  33. send "{@tag}"
  34. send "&fJezeli kod bedzie poprawny to dostaniesz range w ciagu &c10-60min "
  35. set {spam.%player%} to true
  36. wait {@czas} seconds
  37. set {spam.%player%} to false
  38. else:
  39. send "{@tag}"
  40. send "&eNie ma takiej rangi!"
  41. else:
  42. send "&eProsze nie spamic"
  43. else:
  44. send "{@tag}"
  45. send "&eBledny kod!"
  46. else:
  47. send "{@tag}"
  48. send "&ePoprawne uzycie to /kod [ranga] [kod]"
  49. else:
  50. send "{@tag}"
  51. send "&ePoprawne uzycie to /kod [ranga] [kod]"
  52. send "&eDostepne rangi:"
  53. send "&e1.{@ranga1}"
  54. send "&e2.{@ranga2}"
  55. send "&e3.{@ranga3}"
  56. # Oczywiscie mozesz dodac swoje rangi dodajac wczesniej w options lub po prostu wpisujac
  57.  
  58. command /sms [<text>]:
  59. trigger:
  60. if arg 1 is set:
  61. if arg 1 is "{@ranga1}" or "{@ranga2}" or "{@ranga3}":
  62. if arg 1 is "{@ranga1}":
  63. send "{@tag}"
  64. send "&6Wyslij SMS'a o tresci&8: &c{@ranga1kod} &6na numer&8: &c{@ranga1nr}"
  65. send "&eKod wprowadz komenda /kod {@ranga1} [kod]"
  66. send "&7Koszt sms'a to&8: &c1,23zl"
  67. if arg 1 is "{@ranga2}":
  68. send "{@tag}"
  69. send "&6Wyslij SMS'a o tresci&8: &c{@ranga2kod} &6na numer&8: &c{@ranga2nr}"
  70. send "&eKod wprowadz komenda /kod {@ranga2} [kod]"
  71. send "&7Koszt sms'a to&8: &c2,64zl"
  72. if arg 1 is "{@ranga3}":
  73. send "{@tag}"
  74. send "&6Wyslij SMS'a o tresci&8: &c{@ranga3kod} &6na numer&8: &c{@ranga3nr}"
  75. send "&eKod wprowadz komenda /kod {@ranga3} [kod]"
  76. send "&7Koszt sms'a to&8: &c6,46zl"
  77. # Aby dodać wiecej rang COPY to co wyzej i wklej ponizej zmnieniajac if arg 1 is "RANGA" #
  78.  
  79. if arg 1 is not set:
  80. send "&ePoprawne uzycie to /sms [ranga]"
  81. else:
  82. send "{@tag}"
  83. send "&eNie ma takiej rangi!"
  84. else:
  85. send "{@tag}"
  86. send "&ePoprawne uzycie /sms [ranga]"
  87. send "&eDostepne rangi:"
  88. send "&e1.{@ranga1}"
  89. send "&e2.{@ranga2}"
  90. send "&e3.{@ranga3}"
  91. # Oczywiscie mozesz dodac swoje rangi dodajac wczesniej w options lub po prostu wpisujac
Advertisement
Add Comment
Please, Sign In to add comment