Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on join:
- if {bvn.%player%} is not set:
- set {lastplayer} to player
- set {bvn.%player%} to true
- wait 2 tick
- broadcast "&6[Bienvenue] &9%player% &3rejoints le serveur pour la première fois ! Souhaitez lui la bienvenue avec &c/bvn &3!"
- wait 20 seconds
- if {lastplayer} = player:
- clear {lastplayer}
- command /bvn:
- trigger:
- if {lastplayer} is not set:
- set action bar of player to "&cPas de nouveau joueur !"
- stop
- if {bienvenue.%{lastplayer}%.%player%} is set:
- set action bar of player to "&cVous avez déjà souhaité la bienvenue à ce joueur !"
- stop
- if player = {lastplayer}:
- set action bar of player to "&cVous ne pouvez pas vous souhaiter la bienvenue !"
- stop
- set action bar of player to "&aVous avez souhaité la bienvenue à %{lastplayer}%"
- broadcast "&6[Bienvenue] &9%player% &3a souhaité la bienvenue à &9%{lastplayer}%"
- set {bienvenue.%{lastplayer}%.%player%} to true
- set action bar of {lastplayer} to "&a%player% vous a souhaité la bienvenue"
- on quit:
- if {lastplayer} = player:
- clear {lastplayer}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement