Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Autor: EndDragos
- #Zezwalam na edytowanie wszystkiego oprócz tego co @up :P czyli autora.
- #Version: 2.0
- options:
- tag: &f[&aSKLEP&6SMS&f]
- # NEXT info #
- ranga1: vip # nazwa rangi
- ranga1nr: 91955 # numer pod który nalezy wyslac sms'a
- ranga1kod: HPAY.ENCH # tresc smsa na tą range
- # NEXT info #
- ranga2: svip
- ranga2nr: 91955
- ranga2kod: HPAY.ENCH
- # NEXT info #
- ranga3: mod
- ranga3nr: 91955
- ranga3kod: HPAY.ENCH
- czas: 1800
- variables:
- {spam.%player%} = false
- command /kod [<text>] [<text>]:
- trigger:
- if arg 1 is set:
- if arg 2 is set:
- if length of arg 2 = 8:
- if {spam.%player%} is false:
- if arg 1 is "{@ranga1}" or "{@ranga2}" or "{@ranga3}": # aby dodac wiecej daj za "{@ranga3}" or "TWOJARANGA": itd #
- log "-------------------------------------------------" to "kody/kod"
- log "Gracz: %player% Ranga: %arg 1% Kod: %arg 2%" to "kody/kod"
- log "-------------------------------------------------" to "kody/kod"
- send "{@tag}"
- send "&fJezeli kod bedzie poprawny to dostaniesz range w ciagu &c10-60min "
- set {spam.%player%} to true
- wait {@czas} seconds
- set {spam.%player%} to false
- else:
- send "{@tag}"
- send "&eNie ma takiej rangi!"
- else:
- send "&eProsze nie spamic"
- else:
- send "{@tag}"
- send "&eBledny kod!"
- else:
- send "{@tag}"
- send "&ePoprawne uzycie to /kod [ranga] [kod]"
- else:
- send "{@tag}"
- send "&ePoprawne uzycie to /kod [ranga] [kod]"
- send "&eDostepne rangi:"
- send "&e1.{@ranga1}"
- send "&e2.{@ranga2}"
- send "&e3.{@ranga3}"
- # Oczywiscie mozesz dodac swoje rangi dodajac wczesniej w options lub po prostu wpisujac
- command /sms [<text>]:
- trigger:
- if arg 1 is set:
- if arg 1 is "{@ranga1}" or "{@ranga2}" or "{@ranga3}":
- if arg 1 is "{@ranga1}":
- send "{@tag}"
- send "&6Wyslij SMS'a o tresci&8: &c{@ranga1kod} &6na numer&8: &c{@ranga1nr}"
- send "&eKod wprowadz komenda /kod {@ranga1} [kod]"
- send "&7Koszt sms'a to&8: &c1,23zl"
- if arg 1 is "{@ranga2}":
- send "{@tag}"
- send "&6Wyslij SMS'a o tresci&8: &c{@ranga2kod} &6na numer&8: &c{@ranga2nr}"
- send "&eKod wprowadz komenda /kod {@ranga2} [kod]"
- send "&7Koszt sms'a to&8: &c2,64zl"
- if arg 1 is "{@ranga3}":
- send "{@tag}"
- send "&6Wyslij SMS'a o tresci&8: &c{@ranga3kod} &6na numer&8: &c{@ranga3nr}"
- send "&eKod wprowadz komenda /kod {@ranga3} [kod]"
- send "&7Koszt sms'a to&8: &c6,46zl"
- # Aby dodać wiecej rang COPY to co wyzej i wklej ponizej zmnieniajac if arg 1 is "RANGA" #
- if arg 1 is not set:
- send "&ePoprawne uzycie to /sms [ranga]"
- else:
- send "{@tag}"
- send "&eNie ma takiej rangi!"
- else:
- send "{@tag}"
- send "&ePoprawne uzycie /sms [ranga]"
- send "&eDostepne rangi:"
- send "&e1.{@ranga1}"
- send "&e2.{@ranga2}"
- send "&e3.{@ranga3}"
- # Oczywiscie mozesz dodac swoje rangi dodajac wczesniej w options lub po prostu wpisujac
Advertisement
Add Comment
Please, Sign In to add comment