Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /zaglosuj [<text>]:
- trigger:
- if {glosuj.%player%} is not set:
- set {glosuj.%player%} to false
- if arg 1 is not set:
- set {glosuj.total} to 0
- add {glosuj.1} to {glosuj.total}
- add {glosuj.2} to {glosuj.total}
- add {glosuj.3} to {glosuj.total}
- send "&a 1 - &2NNorbertPL &a(&c%{glosuj.1}%&a)"
- send "&a 2 - &2AdRiaNo_6_6 &a(&c%{glosuj.2}%&a)"
- send "&a 3 - &2Nitexx3 &a(&c%{glosuj.3}%&a)"
- send "&a Razem oddano &2%{glosuj.total}%&a glosow"
- if arg 1 is set:
- arg 1 is "1":
- if {glosuj.%player%} is true:
- stop
- send "&2Juz glosowales..."
- else:
- add 1 to {glosuj.1}
- send "&2Zaglosowano na: &cNNorbertPL"
- set {glosuj.%player%} to true
- arg 1 is "2":
- if {glosuj.%player%} is true:
- send "&2Juz glosowales..."
- stop
- else:
- add 1 to {glosuj.2}
- set {glosuj.%player%} to true
- send "&2Zaglosowano na: &cAdRiaNo_6_6"
- arg 1 is "3":
- if {glosuj.%player%} is true:
- send "&2Juz glosowales..."
- stop
- else:
- add 1 to {glosuj.3}
- set {glosuj.%player%} to true
- send "&2Zaglosowano na: &cNitexx3"
- arg 1 is not "1" or "2" or "3":
- send "&2Nie ma takiej osoby.."
Advertisement
Add Comment
Please, Sign In to add comment