_Kiven 0 Posté : 21 juillet 2017 Bonjour, Je ne sais pas comment remplacer ces deux syntax : [skellett] (send|show) [a] (1¦subtitle|2¦title) [from] %string% [(with|and) [subtitle] %-string%] (to|for) %players% for %timespan%(,| and| with) %timespan% [fade[ ]in](,| and| with) %timespan% [fade[ ]out] [skellett] (send|show) %players% [a] (1¦subtitle|2¦title) [(with|from)] %string% [(with|and) [subtitle] %-string%] for %timespan%(,| and| with) %timespan% [fade[ ]in](,| and| with) %timespan% [fade[ ]out] avec ce code ci : function FactionPower(faction:text) :: number: if "%{f.list.factions::*}%" doesn't contain "%{_faction}%": return 0 else: set {_p} to 0 loop {f.list.players::*}: if "%{f.fac.name.%loop-value-1%}%" is "%{_faction}%": set {_p} to {f.power.%loop-value-1%} + {_p} return {_p} function BroadCast(p: player, allfaction: boolean, message: text): if {_allfaction} is true: loop all players: if world of loop-player is {@worlds}: if {f.fac.name.%loop-player%} is {f.fac.name.%{_p}%}: message "{@logo} &7%{_message}%" to loop-player send loop-player title "{@logo title}" with subtitle "&7%{_message}%" for 3 seconds play "NOTE_PLING" to loop-player at volume 1 else: message "{@logo} &7%{_message}%" to {_p} send {_p} title "{@logo title}" with subtitle "&7%{_message}%" for 3 seconds play "NOTE_PLING" to {_p} at volume 1 Quelqu'un serait m'aidé s'il vous plaît ? Cordialement, _Kiven Partager ce message Lien à poster Partager sur d’autres sites