Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- tag: &8[&3Walentynki&8]
- czas: 5
- command /walentynki [<text>] [<player>] [<text>]:
- trigger:
- if arg 1 is not set:
- send "&2&m-----------------------------------------------"
- send "&b bnValentine"
- send "&7- &e/walentynki wyslij [gracz] [tresc] &7- Wysyla walentynke dla gracza"
- send "&b by boleknowak"
- send "&2&m-----------------------------------------------"
- if arg 1 is "wyslij":
- if arg 2 is set:
- if arg 3 is set:
- if {bnValentine::player::%player%} is true:
- send "{@tag} &cDales juz walentynke! Odczekaj: {@czas} sek."
- stop
- else:
- set {bnValentine::player::%player%} to true
- send "{@tag} &7&oWysylanie walentynki..."
- wait 1 seconds
- send "{@tag}" to player-arg
- send "{@tag} &aDostales/as walentynke od &6%player%&a!" to player-arg
- send "{@tag}" to player-arg
- give rose named "&dKwiatek od &c%player%" to player-arg
- give paper named "&dWalentynka od &c%player%" with lore "&7%coloured arg 3%" to player-arg
- wait 1 seconds
- send "{@tag} &7&oWyslano!"
- wait {@czas} seconds
- set {bnValentine::player::%player%} to false
- else:
- send "{@tag} &cPodaj tresc walentynki."
- else:
- send "{@tag} &cPodaj nazwe osoby. &9(Jesli to wyskakuje to gracz moze tez byc offline)"
Advertisement
Add Comment
Please, Sign In to add comment