Version de Minecraft : 1.8 Version de Skript : Dernière version de la 1.8
Addons utilisés:
SkUtilities, SkQuery, SkRayFall, WildSkript
Type du skript : Skript Rank / Grades
Description du script :
Alors mon skript de grades est bien ect tout marche mais j'ai un soucis je sais pas mettre des permissions avec mes grades donc je galère a finir aidez moi tenez mon skript ( Il est à disposition de tout le monde ) Aussi quand on parle dans le tchat on vois pas les faction 😕
options:
logo: &d&lMisselia &8»
noperm: &cVous n'avez pas la permission !
error: &cLa commande est /eventfindadmin <add/remove> <message>
noplayer: &cVeuillez insérez un joueur.
norank: &8&l&m--------------------%nl%&7&nStaff:%nl%&cAdministrateur%nl%&9Modérateur+%nl%&2Modérateur%nl%&eBuilder%nl%&dAssistant%nl%&7&l&m----------%nl%&7&nYoutube:%nl%&6Partenaire%nl%&cYouT&fuber%nl%&3Mini-Youtuber%nl%&7&l&m----------%nl%&7&nJoueur:%nl%&6Empereur%nl%&aRoi%nl%&1Prince%nl%&3Duc%nl%&dMarquis%nl%&2Comte%nl%&8Vicomte%nl%&5Baron%nl%&9Chevalier%nl%&bEcuyer%nl%&7Paysan%nl%&8&l&m--------------------
setrank: &2%arg 1% &aest désormais %{rank.color.%arg-1's uuid%}%
on join:
if {rank.%player's uuid%} is "admin":
wait 2 ticks
set player's gamemode to creative
command /rank [<player>] [<text>]:
permission: rank.use
permission message: {@logo} {@noperm}
trigger:
if arg 1 is not set:
send "{@logo} {@noplayer}"
if arg 1 is set:
if arg 2 is not set:
send "{@norank}"
if arg 2 is "Admin" or "Administrateur":
set {rank.%arg-1's uuid%} to "admin"
set {rank.color.%arg-1's uuid%} to "&8[&4Admin&8] &4"
set arg 1 tab name to "%{rank.color.%arg-1's uuid%}%%arg 1%"
send "{@logo} {@setrank}"
if arg 2 is "mod+" or "super-mod":
set {rank.%arg-1's uuid%} to "mod+"
set {rank.color.%arg-1's uuid%} to "&8[&9Modérateur+&8] &9"
set arg 1 tab name to "%{rank.color.%arg-1's uuid%}%%arg 1%"
send "{@logo} {@setrank}"
if arg 2 is "Modérateur" or "mod" or "moderateur":
set {rank.%arg-1's uuid%} to "mod"
set {rank.color.%arg-1's uuid%} to "&8[&2Modérateur&8] &2"
set arg 1 tab name to "%{rank.color.%arg-1's uuid%}%%arg 1%"
send "{@logo} {@setrank}"
if arg 2 is "Builder":
set {rank.%arg-1's uuid%} to "builder"
set {rank.color.%arg-1's uuid%} to "&8[&eBuilder&8] &e"
set arg 1 tab name to "%{rank.color.%arg-1's uuid%}%%arg 1%"
send "{@logo} {@setrank}"
if arg 2 is "Helper" or "asssistant":
set {rank.%arg-1's uuid%} to "helper"
set {rank.color.%arg-1's uuid%} to "&8[&dHelpeur&8] &d"
set arg 1 tab name to "%{rank.color.%arg-1's uuid%}%%arg 1%"
send "{@logo} {@setrank}"
#Youtube
if arg 2 is "part" or "partenaire":
set {rank.%arg-1's uuid%} to "partenaire"
set {rank.color.%arg-1's uuid%} to "&8[&6Partenaire&8] &6"
set arg 1 tab name to "%{rank.color.%arg-1's uuid%}%%arg 1%"
send "{@logo} {@setrank}"
if arg 2 is "yt" or "Youtube" or "Youtuber":
set {rank.%arg-1's uuid%} to "youtuber"
set {rank.color.%arg-1's uuid%} to "&8[&cYout&fuber&8] &c"
set arg 1 tab name to "%{rank.color.%arg-1's uuid%}%%arg 1%"
send "{@logo} {@setrank}"
if arg 2 is "miniyt" or "mini-youtuber" or "my":
set {rank.%arg-1's uuid%} to "miniyt"
set {rank.color.%arg-1's uuid%} to "&8[&3Mini-Youtuber&8] &3"
set arg 1 tab name to "%{rank.color.%arg-1's uuid%}%%arg 1%"
send "{@logo} {@setrank}"
#Joueur
if arg 2 is "paysan":
set {rank.%arg-1's uuid%} to "paysan"
set {rank.color.%arg-1's uuid%} to "&8[&7Paysan&8] &7"
set arg 1 tab name to "%{rank.color.%arg-1's uuid%}%%arg 1%"
send "{@logo} {@setrank}"
if arg 2 is "ecuyer":
set {rank.%arg-1's uuid%} to "ecuyer"
set {rank.color.%arg-1's uuid%} to "&8[&bEcuyer&8] &f"
set arg 1 tab name to "%{rank.color.%arg-1's uuid%}%%arg 1%"
send "{@logo} {@setrank}"
if arg 2 is "Chevalier":
set {rank.%arg-1's uuid%} to "chevalier"
set {rank.color.%arg-1's uuid%} to "&8[&dChevalier&8] &b"
set arg 1 tab name to "%{rank.color.%arg-1's uuid%}%%arg 1%"
send "{@logo} {@setrank}"
if arg 2 is "baron":
set {rank.%arg-1's uuid%} to "baron"
set {rank.color.%arg-1's uuid%} to "&8[&5Baron&8] &a"
set arg 1 tab name to "%{rank.color.%arg-1's uuid%}%%arg 1%"
send "{@logo} {@setrank}"
if arg 2 is "vicomte":
set {rank.%arg-1's uuid%} to "vicomte"
set {rank.color.%arg-1's uuid%} to "&8[&8Vicomte&8] &c"
set arg 1 tab name to "%{rank.color.%arg-1's uuid%}%%arg 1%"
send "{@logo} {@setrank}"
if arg 2 is "comte":
set {rank.%arg-1's uuid%} to "comte"
set {rank.color.%arg-1's uuid%} to "&8[&2Comte&8] &7"
set arg 1 tab name to "%{rank.color.%arg-1's uuid%}%%arg 1%"
send "{@logo} {@setrank}"
if arg 2 is "marquis":
set {rank.%arg-1's uuid%} to "marquis"
set {rank.color.%arg-1's uuid%} to "&8[&dMarquis&8] &f"
set arg 1 tab name to "%{rank.color.%arg-1's uuid%}%%arg 1%"
send "{@logo} {@setrank}"
if arg 2 is "duc":
set {rank.%arg-1's uuid%} to "duc"
set {rank.color.%arg-1's uuid%} to "&8[&3Duc&8] &b"
set arg 1 tab name to "%{rank.color.%arg-1's uuid%}%%arg 1%"
send "{@logo} {@setrank}"
if arg 2 is "prince":
set {rank.%arg-1's uuid%} to "prince"
set {rank.color.%arg-1's uuid%} to "&8[&1Prince&8] &a"
set arg 1 tab name to "%{rank.color.%arg-1's uuid%}%%arg 1%"
send "{@logo} {@setrank}"
if arg 2 is "roi":
set {rank.%arg-1's uuid%} to "roi"
set {rank.color.%arg-1's uuid%} to "&8[&aRoi&8] &c"
set arg 1 tab name to "%{rank.color.%arg-1's uuid%}%%arg 1%"
send "{@logo} {@setrank}"
if arg 2 is "empereur":
set {rank.%arg-1's uuid%} to "empereur"
set {rank.color.%arg-1's uuid%} to "&8[&6Empereur&8] &c"
set arg 1 tab name to "%{rank.color.%arg-1's uuid%}%%arg 1%"
send "{@logo} {@setrank}"
on chat:
cancel event
loop all players:
if {rank.%player's uuid%} is "admin":
broadcast "&8[&2{faction_tag_pr}&8] %{rank.color.%player's uuid%}%%player% &8» &7%coloured message%"
if {rank.%player's uuid%} is "mod+":
broadcast "&8[&2{faction_tag_pr}&8] %{rank.color.%player's uuid%}%%player% &8» &7%coloured message%"
if {rank.%player's uuid%} is "mod":
broadcast "&8[&2{faction_tag_pr}&8] %{rank.color.%player's uuid%}%%player% &8» &7%coloured message%"
if {rank.%player's uuid%} is "builder":
broadcast "&8[&2{faction_tag_pr}&8] %{rank.color.%player's uuid%}%%player% &8» &7%coloured message%"
if {rank.%player's uuid%} is "helper":
broadcast "&8[&2{faction_tag_pr}&8] %{rank.color.%player's uuid%}%%player% &8» &7%coloured message%"
if {rank.%player's uuid%} is "partenaire":
broadcast "&8[&2{faction_tag_pr}&8] %{rank.color.%player's uuid%}%%player% &8» &7%message%"
if {rank.%player's uuid%} is "youtuber":
broadcast "&8[&2{faction_tag_pr}&8] %{rank.color.%player's uuid%}%%player% &8» &7%message%"
if {rank.%player's uuid%} is "miniyt":
broadcast "&8[&2{faction_tag_pr}&8] %{rank.color.%player's uuid%}%%player% &8» &7%message%"
if {rank.%player's uuid%} is "paysan":
broadcast "&8[&2{faction_tag_pr}&8] %{rank.color.%player's uuid%}%%player% &8» &7%message%"
if {rank.%player's uuid%} is "ecuyer":
broadcast "&8[&2{faction_tag_pr}&8] %{rank.color.%player's uuid%}%%player% &8» &7%message%"
if {rank.%player's uuid%} is "chevalier":
broadcast "&8[&2{faction_tag_pr}&8] %{rank.color.%player's uuid%}%%player% &8» &7%message%"
if {rank.%player's uuid%} is "baron":
broadcast "&8[&2{faction_tag_pr}&8] %{rank.color.%player's uuid%}%%player% &8» &7%message%"
if {rank.%player's uuid%} is "vicomte":
broadcast "&8[&2{faction_tag_pr}&8] %{rank.color.%player's uuid%}%%player% &8» &7%message%"
if {rank.%player's uuid%} is "comte":
broadcast "&8[&2{faction_tag_pr}&8] %{rank.color.%player's uuid%}%%player% &8» &7%message%"
if {rank.%player's uuid%} is "marquis":
broadcast "&8[&2{faction_tag_pr}&8] %{rank.color.%player's uuid%}%%player% &8» &7%message%"
if {rank.%player's uuid%} is "duc":
broadcast "&8[&2%{faction_tag_pr}%&8] %{rank.color.%player's uuid%}%%player% &8» &7%message%"
if {rank.%player's uuid%} is "prince":
broadcast "&8[&2{faction_tag_pr}&8] %{rank.color.%player's uuid%}%%player% &8» &7%message%"
if {rank.%player's uuid%} is "roi":
broadcast "&8[&2{faction_tag_pr}&8] %{rank.color.%player's uuid%}%%player% &8» &7%message%"
if {rank.%player's uuid%} is "empereur":
broadcast "&8[&2{faction_tag_pr}&8] %{rank.color.%player's uuid%}%%player% &8» &7%message%"
if {msg.helonia} is true:
if message is "%{helonia.msg}%":
cancel event
set {msg.helonia} to false
broadcast "{@logo} &3%player% &ba écris le mot le plus rapidement bravo à lui !"
set {NotNom} to true
send "+150$" to player
#add 150 to player's balance
if {msg.helonia} is false:
stop
command /eventfind [<text>]:
permission: event.admin
permission message: {@logo} {noperm}
trigger:
if arg 1 is not set:
if {event.find::*} is not set:
send "{@logo} &cIl n'y a aucun messages !"
else:
set {helonia.msg} to a random element out of {event.find::*}
set {NotNom} to false
broadcast "{@logo} &6Si tu veux gagner &e150$ &6tu as exactement 7 secondes pour écrire &8-> &e%{helonia.msg}%"
set {msg.helonia} to true
if {NotNom} is true:
stop
set {NotNom} to false
wait 7 seconds
if {NotNom} is true:
stop
set {NotNom} to false
else:
broadcast "{@logo} &cFini !"
set {msg.helonia} to false
if arg 1 is set:
set {helonia.msg} to arg 1
set {NotNom} to false
broadcast "{@logo} &6Si tu veux gagner &e150$ &6tu as exactement 7 secondes pour écrire &8-> &e%{helonia.msg}%"
set {msg.helonia} to true
if {NotNom} is true:
stop
set {NotNom} to false
wait 7 seconds
if {NotNom} is true:
stop
set {NotNom} to false
else:
broadcast "{@logo} &cFini !"
set {msg.helonia} to false
command /eventfindadmin [<text>] [<text>]:
aliases: eventfindadm
permission: event.admin
permission message: {@logo} {@noperm}
trigger:
if arg 1 is not set:
send "{@logo} {@error}"
if arg 1 is "add":
if arg 2 is not set:
send "{@logo} {@error}"
if arg 2 is set:
if {event.find::*} contains arg 2:
send "{@logo} &cErreur: Le message est déjà enregistré !"
else:
add arg 2 to {event.find::*}
send "{@logo} &2Le message a été enregistré avec succés !"
add 1 to {compteur.message.event.find}
if arg 1 is "remove":
if arg 2 is not set:
send "{@logo} {@error}"
if arg 2 is set:
if {event.find::*} contains arg 2:
remove arg 2 from {event.find::*}
send "{@logo} &cLe message a bien été retiré !"
remove 1 from {compteur.message.event.find}
else:
send "{@logo} &cLe message n'est pas dans la liste !"
if arg 1 is "reset":
if arg 2 is not set:
if {event.find::*} is not set:
if {compteur.message.event.find} is 0:
send "{@logo} &cIl n'y a aucun messages !"
else:
set {compteur.message.event.find} to 0
clear {event.find::*}
send "{@logo} &2Les messages ont bien été supprimés !"
else:
send "{@logo} &c/eventfindadmin reset"
if arg 1 is "list":
if arg 2 is not set:
if {event.find::*} is not set:
set {compteur.message.event.find} to 0
send "&7Voici la liste des messages enregistrés ! &8(&e0&8)%newline%&eIl n'y a aucun messages."
else:
set {_eventfind} to "%{event.find::*}%"
replace all "and" with "et" in {_eventfind}
send "&7Voici la liste des messages enregistrés ! &8(&e%{compteur.message.event.find}%&8)%newline%&e%{_eventfind}%"
every 15 minutes:
make console execute command "/eventfind"
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.
Question
Kalsio
Version de Minecraft : 1.8
Version de Skript : Dernière version de la 1.8
Addons utilisés:
SkUtilities, SkQuery, SkRayFall, WildSkript
Type du skript : Skript Rank / Grades
Description du script :
Alors mon skript de grades est bien ect tout marche mais j'ai un soucis je sais pas mettre des permissions avec mes grades donc je galère a finir aidez moi tenez mon skript ( Il est à disposition de tout le monde ) Aussi quand on parle dans le tchat on vois pas les faction 😕
options:
logo: &d&lMisselia &8»
noperm: &cVous n'avez pas la permission !
error: &cLa commande est /eventfindadmin <add/remove> <message>
noplayer: &cVeuillez insérez un joueur.
norank: &8&l&m--------------------%nl%&7&nStaff:%nl%&cAdministrateur%nl%&9Modérateur+%nl%&2Modérateur%nl%&eBuilder%nl%&dAssistant%nl%&7&l&m----------%nl%&7&nYoutube:%nl%&6Partenaire%nl%&cYouT&fuber%nl%&3Mini-Youtuber%nl%&7&l&m----------%nl%&7&nJoueur:%nl%&6Empereur%nl%&aRoi%nl%&1Prince%nl%&3Duc%nl%&dMarquis%nl%&2Comte%nl%&8Vicomte%nl%&5Baron%nl%&9Chevalier%nl%&bEcuyer%nl%&7Paysan%nl%&8&l&m--------------------
setrank: &2%arg 1% &aest désormais %{rank.color.%arg-1's uuid%}%
on join:
if {rank.%player's uuid%} is "admin":
wait 2 ticks
set player's gamemode to creative
command /rank [<player>] [<text>]:
permission: rank.use
permission message: {@logo} {@noperm}
trigger:
if arg 1 is not set:
send "{@logo} {@noplayer}"
if arg 1 is set:
if arg 2 is not set:
send "{@norank}"
if arg 2 is "Admin" or "Administrateur":
set {rank.%arg-1's uuid%} to "admin"
set {rank.color.%arg-1's uuid%} to "&8[&4Admin&8] &4"
set arg 1 tab name to "%{rank.color.%arg-1's uuid%}%%arg 1%"
send "{@logo} {@setrank}"
if arg 2 is "mod+" or "super-mod":
set {rank.%arg-1's uuid%} to "mod+"
set {rank.color.%arg-1's uuid%} to "&8[&9Modérateur+&8] &9"
set arg 1 tab name to "%{rank.color.%arg-1's uuid%}%%arg 1%"
send "{@logo} {@setrank}"
if arg 2 is "Modérateur" or "mod" or "moderateur":
set {rank.%arg-1's uuid%} to "mod"
set {rank.color.%arg-1's uuid%} to "&8[&2Modérateur&8] &2"
set arg 1 tab name to "%{rank.color.%arg-1's uuid%}%%arg 1%"
send "{@logo} {@setrank}"
if arg 2 is "Builder":
set {rank.%arg-1's uuid%} to "builder"
set {rank.color.%arg-1's uuid%} to "&8[&eBuilder&8] &e"
set arg 1 tab name to "%{rank.color.%arg-1's uuid%}%%arg 1%"
send "{@logo} {@setrank}"
if arg 2 is "Helper" or "asssistant":
set {rank.%arg-1's uuid%} to "helper"
set {rank.color.%arg-1's uuid%} to "&8[&dHelpeur&8] &d"
set arg 1 tab name to "%{rank.color.%arg-1's uuid%}%%arg 1%"
send "{@logo} {@setrank}"
#Youtube
if arg 2 is "part" or "partenaire":
set {rank.%arg-1's uuid%} to "partenaire"
set {rank.color.%arg-1's uuid%} to "&8[&6Partenaire&8] &6"
set arg 1 tab name to "%{rank.color.%arg-1's uuid%}%%arg 1%"
send "{@logo} {@setrank}"
if arg 2 is "yt" or "Youtube" or "Youtuber":
set {rank.%arg-1's uuid%} to "youtuber"
set {rank.color.%arg-1's uuid%} to "&8[&cYout&fuber&8] &c"
set arg 1 tab name to "%{rank.color.%arg-1's uuid%}%%arg 1%"
send "{@logo} {@setrank}"
if arg 2 is "miniyt" or "mini-youtuber" or "my":
set {rank.%arg-1's uuid%} to "miniyt"
set {rank.color.%arg-1's uuid%} to "&8[&3Mini-Youtuber&8] &3"
set arg 1 tab name to "%{rank.color.%arg-1's uuid%}%%arg 1%"
send "{@logo} {@setrank}"
#Joueur
if arg 2 is "paysan":
set {rank.%arg-1's uuid%} to "paysan"
set {rank.color.%arg-1's uuid%} to "&8[&7Paysan&8] &7"
set arg 1 tab name to "%{rank.color.%arg-1's uuid%}%%arg 1%"
send "{@logo} {@setrank}"
if arg 2 is "ecuyer":
set {rank.%arg-1's uuid%} to "ecuyer"
set {rank.color.%arg-1's uuid%} to "&8[&bEcuyer&8] &f"
set arg 1 tab name to "%{rank.color.%arg-1's uuid%}%%arg 1%"
send "{@logo} {@setrank}"
if arg 2 is "Chevalier":
set {rank.%arg-1's uuid%} to "chevalier"
set {rank.color.%arg-1's uuid%} to "&8[&dChevalier&8] &b"
set arg 1 tab name to "%{rank.color.%arg-1's uuid%}%%arg 1%"
send "{@logo} {@setrank}"
if arg 2 is "baron":
set {rank.%arg-1's uuid%} to "baron"
set {rank.color.%arg-1's uuid%} to "&8[&5Baron&8] &a"
set arg 1 tab name to "%{rank.color.%arg-1's uuid%}%%arg 1%"
send "{@logo} {@setrank}"
if arg 2 is "vicomte":
set {rank.%arg-1's uuid%} to "vicomte"
set {rank.color.%arg-1's uuid%} to "&8[&8Vicomte&8] &c"
set arg 1 tab name to "%{rank.color.%arg-1's uuid%}%%arg 1%"
send "{@logo} {@setrank}"
if arg 2 is "comte":
set {rank.%arg-1's uuid%} to "comte"
set {rank.color.%arg-1's uuid%} to "&8[&2Comte&8] &7"
set arg 1 tab name to "%{rank.color.%arg-1's uuid%}%%arg 1%"
send "{@logo} {@setrank}"
if arg 2 is "marquis":
set {rank.%arg-1's uuid%} to "marquis"
set {rank.color.%arg-1's uuid%} to "&8[&dMarquis&8] &f"
set arg 1 tab name to "%{rank.color.%arg-1's uuid%}%%arg 1%"
send "{@logo} {@setrank}"
if arg 2 is "duc":
set {rank.%arg-1's uuid%} to "duc"
set {rank.color.%arg-1's uuid%} to "&8[&3Duc&8] &b"
set arg 1 tab name to "%{rank.color.%arg-1's uuid%}%%arg 1%"
send "{@logo} {@setrank}"
if arg 2 is "prince":
set {rank.%arg-1's uuid%} to "prince"
set {rank.color.%arg-1's uuid%} to "&8[&1Prince&8] &a"
set arg 1 tab name to "%{rank.color.%arg-1's uuid%}%%arg 1%"
send "{@logo} {@setrank}"
if arg 2 is "roi":
set {rank.%arg-1's uuid%} to "roi"
set {rank.color.%arg-1's uuid%} to "&8[&aRoi&8] &c"
set arg 1 tab name to "%{rank.color.%arg-1's uuid%}%%arg 1%"
send "{@logo} {@setrank}"
if arg 2 is "empereur":
set {rank.%arg-1's uuid%} to "empereur"
set {rank.color.%arg-1's uuid%} to "&8[&6Empereur&8] &c"
set arg 1 tab name to "%{rank.color.%arg-1's uuid%}%%arg 1%"
send "{@logo} {@setrank}"
on chat:
cancel event
loop all players:
if {rank.%player's uuid%} is "admin":
broadcast "&8[&2{faction_tag_pr}&8] %{rank.color.%player's uuid%}%%player% &8» &7%coloured message%"
if {rank.%player's uuid%} is "mod+":
broadcast "&8[&2{faction_tag_pr}&8] %{rank.color.%player's uuid%}%%player% &8» &7%coloured message%"
if {rank.%player's uuid%} is "mod":
broadcast "&8[&2{faction_tag_pr}&8] %{rank.color.%player's uuid%}%%player% &8» &7%coloured message%"
if {rank.%player's uuid%} is "builder":
broadcast "&8[&2{faction_tag_pr}&8] %{rank.color.%player's uuid%}%%player% &8» &7%coloured message%"
if {rank.%player's uuid%} is "helper":
broadcast "&8[&2{faction_tag_pr}&8] %{rank.color.%player's uuid%}%%player% &8» &7%coloured message%"
if {rank.%player's uuid%} is "partenaire":
broadcast "&8[&2{faction_tag_pr}&8] %{rank.color.%player's uuid%}%%player% &8» &7%message%"
if {rank.%player's uuid%} is "youtuber":
broadcast "&8[&2{faction_tag_pr}&8] %{rank.color.%player's uuid%}%%player% &8» &7%message%"
if {rank.%player's uuid%} is "miniyt":
broadcast "&8[&2{faction_tag_pr}&8] %{rank.color.%player's uuid%}%%player% &8» &7%message%"
if {rank.%player's uuid%} is "paysan":
broadcast "&8[&2{faction_tag_pr}&8] %{rank.color.%player's uuid%}%%player% &8» &7%message%"
if {rank.%player's uuid%} is "ecuyer":
broadcast "&8[&2{faction_tag_pr}&8] %{rank.color.%player's uuid%}%%player% &8» &7%message%"
if {rank.%player's uuid%} is "chevalier":
broadcast "&8[&2{faction_tag_pr}&8] %{rank.color.%player's uuid%}%%player% &8» &7%message%"
if {rank.%player's uuid%} is "baron":
broadcast "&8[&2{faction_tag_pr}&8] %{rank.color.%player's uuid%}%%player% &8» &7%message%"
if {rank.%player's uuid%} is "vicomte":
broadcast "&8[&2{faction_tag_pr}&8] %{rank.color.%player's uuid%}%%player% &8» &7%message%"
if {rank.%player's uuid%} is "comte":
broadcast "&8[&2{faction_tag_pr}&8] %{rank.color.%player's uuid%}%%player% &8» &7%message%"
if {rank.%player's uuid%} is "marquis":
broadcast "&8[&2{faction_tag_pr}&8] %{rank.color.%player's uuid%}%%player% &8» &7%message%"
if {rank.%player's uuid%} is "duc":
broadcast "&8[&2%{faction_tag_pr}%&8] %{rank.color.%player's uuid%}%%player% &8» &7%message%"
if {rank.%player's uuid%} is "prince":
broadcast "&8[&2{faction_tag_pr}&8] %{rank.color.%player's uuid%}%%player% &8» &7%message%"
if {rank.%player's uuid%} is "roi":
broadcast "&8[&2{faction_tag_pr}&8] %{rank.color.%player's uuid%}%%player% &8» &7%message%"
if {rank.%player's uuid%} is "empereur":
broadcast "&8[&2{faction_tag_pr}&8] %{rank.color.%player's uuid%}%%player% &8» &7%message%"
if {msg.helonia} is true:
if message is "%{helonia.msg}%":
cancel event
set {msg.helonia} to false
broadcast "{@logo} &3%player% &ba écris le mot le plus rapidement bravo à lui !"
set {NotNom} to true
send "+150$" to player
#add 150 to player's balance
if {msg.helonia} is false:
stop
command /eventfind [<text>]:
permission: event.admin
permission message: {@logo} {noperm}
trigger:
if arg 1 is not set:
if {event.find::*} is not set:
send "{@logo} &cIl n'y a aucun messages !"
else:
set {helonia.msg} to a random element out of {event.find::*}
set {NotNom} to false
broadcast "{@logo} &6Si tu veux gagner &e150$ &6tu as exactement 7 secondes pour écrire &8-> &e%{helonia.msg}%"
set {msg.helonia} to true
if {NotNom} is true:
stop
set {NotNom} to false
wait 7 seconds
if {NotNom} is true:
stop
set {NotNom} to false
else:
broadcast "{@logo} &cFini !"
set {msg.helonia} to false
if arg 1 is set:
set {helonia.msg} to arg 1
set {NotNom} to false
broadcast "{@logo} &6Si tu veux gagner &e150$ &6tu as exactement 7 secondes pour écrire &8-> &e%{helonia.msg}%"
set {msg.helonia} to true
if {NotNom} is true:
stop
set {NotNom} to false
wait 7 seconds
if {NotNom} is true:
stop
set {NotNom} to false
else:
broadcast "{@logo} &cFini !"
set {msg.helonia} to false
command /eventfindadmin [<text>] [<text>]:
aliases: eventfindadm
permission: event.admin
permission message: {@logo} {@noperm}
trigger:
if arg 1 is not set:
send "{@logo} {@error}"
if arg 1 is "add":
if arg 2 is not set:
send "{@logo} {@error}"
if arg 2 is set:
if {event.find::*} contains arg 2:
send "{@logo} &cErreur: Le message est déjà enregistré !"
else:
add arg 2 to {event.find::*}
send "{@logo} &2Le message a été enregistré avec succés !"
add 1 to {compteur.message.event.find}
if arg 1 is "remove":
if arg 2 is not set:
send "{@logo} {@error}"
if arg 2 is set:
if {event.find::*} contains arg 2:
remove arg 2 from {event.find::*}
send "{@logo} &cLe message a bien été retiré !"
remove 1 from {compteur.message.event.find}
else:
send "{@logo} &cLe message n'est pas dans la liste !"
if arg 1 is "reset":
if arg 2 is not set:
if {event.find::*} is not set:
if {compteur.message.event.find} is 0:
send "{@logo} &cIl n'y a aucun messages !"
else:
set {compteur.message.event.find} to 0
clear {event.find::*}
send "{@logo} &2Les messages ont bien été supprimés !"
else:
send "{@logo} &c/eventfindadmin reset"
if arg 1 is "list":
if arg 2 is not set:
if {event.find::*} is not set:
set {compteur.message.event.find} to 0
send "&7Voici la liste des messages enregistrés ! &8(&e0&8)%newline%&eIl n'y a aucun messages."
else:
set {_eventfind} to "%{event.find::*}%"
replace all "and" with "et" in {_eventfind}
send "&7Voici la liste des messages enregistrés ! &8(&e%{compteur.message.event.find}%&8)%newline%&e%{_eventfind}%"
every 15 minutes:
Modifié par Kalsiomake console execute command "/eventfind"
12 réponses à cette question
Messages recommandés