Aller au contenu

Classement

Contenu populaire

Affichage du contenu avec la meilleure réputation le 05/07/2015 dans toutes les zones

  1. Every 1 tick: loop inventoory of all players: if player inventory contains soup: rien else: if player have 1 redmushroom: if player have 1 brownmushroom if player have bowl: remove les 3 de l'inv give 1 soup to player En gros c csa
    1 point
  2. J'avais trouver un skript sur bukkit pour ça : # Prefix: <silver>Party<grey> # chatcolor: <green> # nameformat: <red>[%player%] command /party <text> [<player>]: description: Join your friends to hunt some monsters usage: /party help trigger: if argument 1 is "help": message "<silver>Party<grey> Use the following commands:" message "<silver>Party<grey> Join a party with /party join %player%" message "<silver>Party<grey> Leave a party with /party leave" message "<silver>Party<grey> Toggle the party chat with /party chat" message "<silver>Party<grey> Create a party with /party create" message "<silver>Party<grey> Disband the party with /party disband" message "<silver>Party<grey> Accept a request /party accept %player%" message "<silver>Party<grey> Reject a request /party reject %player%" message "<silver>Party<grey> Kick someone with /party kick %player%" if argument 1 is "create": message "<silver>Party<grey> Created party!" set {Party.%player%} to player if argument 1 is "leave": if {Party.%player%} is player: message "<silver>Party<grey> You can't leave a party as owner" message "<silver>Party<grey> Please use /party disband" stop loop all players: if {Party.%loop-player%} is {Party.%player%}: message "<silver>Party<grey> <red>[%player%]<green> Left the party" clear {Party.%player%} clear {Party.chat.%player%} if argument 1 is "join": if argument 2 is not set: message "<silver>Party<grey> Please enter the name of the player whose party you want to enter" message "<silver>Party<grey> The player doesn't need to be the party leader" stop if {Party.%argument 2%} is not set: message "<silver>Party<grey> This player is not in any party" stop if {Party.%player%} is set: message "<silver>Party<grey> please leave your current party before joining a new one" message "<silver>Party<grey> Leave a party with /party leave" stop message "<silver>Party<grey> Request send" send "<silver>Party<grey> %player% wants to join your party" to argument 2 set {Party.request.%player%} to argument 2 if argument 1 is "accept": if argument 2 is not set: message "<silver>Party<grey> Please enter the name of the player that you want to accept" stop if {Party.request.%argument 2%} is not player: message "<silver>Party<grey> This player does not want to join your party or already tries to join another party" stop message "<silver>Party<grey> Succesfully added player to party" send "<silver>Party<grey> %player% accepted you into his party" to argument 2 clear {Party.request.%argument 2%} set {Party.%argument 2%} to player if argument 1 is "reject": if argument 2 is not set: message "<silver>Party<grey> Please enter the name of the player that you want to accept" stop if {Party.request.%argument 2%} is not player: message "<silver>Party<grey> This player does not want to join your party or already tries to join another party" stop message "<silver>Party<grey> Informed player about your rejection" send "<silver>Party<grey> %player% doesn't want you in his party" to argument 2 clear {Party.request.%argument 2%} if argument 1 is "kick": if argument 2 is not set: message "<silver>Party<grey> Please enter the name of the player that you want to accept" stop if {Party.%argument 2%} is not player: message "<silver>Party<grey> This player does not want to join your party or already tries to join another party" stop send "<silver>Party<grey> %player% doesn't want you in his party" to argument 2 loop all players: if {Party.%loop-player%} is {Party.%player%}: if loop-player is not argument 2: message "<silver>Party<grey> <red>[%argument 2%] <green>Was kicked from the party" clear {Party.%argument 2%} clear {Party.chat.%argument 2%} if argument 1 is "chat": if {Party.chat.%player%} is not set: message "<silver>Party<grey> Activated chat." set {Party.chat.%player%} to true stop if {Party.chat.%player%} is false: message "<silver>Party<grey> Activated chat." set {Party.chat.%player%} to true stop if {Party.chat.%player%} is true: message "<silver>Party<grey> Deactivated chat." set {Party.chat.%player%} to false stop if argument 1 is "disband": if {Party.%player%} is not player: message "<silver>Party<grey> You have to be owner to disband a party" message "<silver>Party<grey> Please use /party leave" stop clear {Party.%player%} message "<silver>Party<grey> Left party" clear {Party.%player%} clear {Party.chat.%player%} loop all players: if {Party.%loop-player%} is player: message "<silver>Party<grey>The party was disbanded" clear {Party.%loop-player%} clear {Party.chat.%loop-player%} on damage: if {Party.%attacker%} is {Party.%victim%}: cancel event on chat: if {Party.chat.%player%} is true: set {_Message} to message loop all players: if {Party.%loop-player%} is {Party.%player%}: message "<red>[%player%]<green>%{_Message}%" cancel event on quit: if {Party.%player%} is player: message "<silver>Party<grey> Left party" clear {Party.%player%} clear {Party.chat.%player%} loop all players: if {Party.%loop-player%} is player: message "<silver>Party<grey>The party was disbanded" clear {Party.%loop-player%} clear {Party.chat.%loop-player%} stop loop all players: if {Party.%loop-player%} is {Party.%player%} message "<silver>Party<grey> <red>[%player%]<green> Left the party" clear {Party.%player%} clear {Party.chat.%player%}
    1 point
  3. @Neant_PvP Franchement tu y fais exprès ?! Ton texte est bourré de fautes d'orthographes !! Ça me pique les yeux !
    1 point
  4. Salut ! Essaye ça: set {_random} to a random element out of {game.test.list.player::*}
    1 point
  5. Je me permets de dire que quand vous avez besoin d'aide, regardez dans les résolus avant, car cette question a déjà été traitée plus ou moins sur ce forum.
    1 point
  6. Remplace: send "&3Une attaque à été lancer sur %player%" Par: send "&3Une attaque à été lancer sur %player-arg%"
    1 point
  7. Bien sur que si ! Tient un exemple : on right click with a red wool: make player shoot a sheep at speed 3 stop
    1 point
×
×
  • Créer...

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.