Salut, en me promenant sur
SkUnity, j'ai trouvé 5 conditions et effets très utiles à ce jour en SKRIPT !
--------------------------------------------------------------------------------------------
SOMMAIRE:
1. Weather
2. Web status
3. Disguise Entity
4. Icon (MOTD)
5. Image (CHAT)
BONUS. Set line
--------------------------------------------------------------------------------------------
#1: "Weather"
Cette condition est utilisée pour affirmer/demander quel est le temps.
Voici un bout de code souvent utile:
On combust:
is thundering (in %world%)
broadcast "&eLe temps est... OH ! Des éclairs !"[/Code]
Nécessite d'aucun autre plugin que Skript.
[b]#2[/b]: "[b]Web Status[/b]"
[/color]
[color=#00b300]Cette condition est utilisée pour savoir si un site est en ligne ou pas.[/color]
[color=#808080]
Voici un bout de code souvent utile:[/color][/font][/center]
[Code]Command /online:
trigger:
if web status of "https://skript-mc.fr/forum" is online:
broadcast "Skript-MC est en ligne !"
else:
broadcast "&cLe serveur n'arrive pas à se connecter sur Skript-MC"[/Code]
[center][font=Tahoma][color=#808080][font=Tahoma][color=rgb(128, 128, 128)]Nécessite de [/color][/font][font=Tahoma]Skript[/font][font=Tahoma][color=rgb(128, 128, 128)] et [/color][/font][font=Tahoma]ExertSk[/font][font=Tahoma][color=rgb(128, 128, 128)] (téléchargeable [/color][/font][font=Tahoma]ici[/font][font=Tahoma][color=rgb(128, 128, 128)]).[/color][/font][/color]
[color=#808080][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][color=#808080]
[b]#3[/b]: "[b]Disguise Entity[/b]"
[/color][/font][/font][/font][/font][/color]
[font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][color=#00b300]Cet effet est utilisé pour déguiser une entité en une autre.[/color][/font][/font][/font][/font]
[color=#808080][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][color=#808080]
Voici un bout de code souvent utile:[/color][/font][/font][/font][/font][/color][/font][/center]
[color=rgb(128, 128, 128)][font=Georgia] [Code]Command /disguise <text> <text>:
trigger:
message "%arg 1% est/sont déguisé en %arg 2% !"
disguise all arg 1 as "%arg 2%"[/Code][/font][/color]
[center][font=Tahoma][color=rgb(128, 128, 128)]Nécessite de [/color][/font][font=Tahoma]Skript[/font][font=Tahoma][color=rgb(128, 128, 128)], [/color][/font][font=Tahoma]Umbaska[/font][font=Tahoma][color=rgb(128, 128, 128)] (téléchargeable [/color][/font][font=Tahoma]ici[/font][font=Tahoma][color=rgb(128, 128, 128)]) et [/color][/font][font=Tahoma]LibsDisguises[/font][font=Tahoma][color=rgb(128, 128, 128)] (téléchargeable [/color][/font][font=Tahoma]ici[/font][font=Tahoma][color=rgb(128, 128, 128)]).[/color]
[color=#808080][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][color=#808080]
[b]#4[/b]: "[b]Icon (MOTD)[/b]"
[/color][/font][/font][/font][/font][/font][/font][/font][/font][/font][/font][/color]
[font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][color=#00b300]Cet effet est utilisé pour afficher une image pour un serveur.[/color][/font][/font][/font][/font][/font][/font][/font][/font][/font][/font]
[color=#808080][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][color=#808080]
Voici un bout de code souvent utile:
[Code=lua]On list ping event:
change server icon to image from file (URL) "icons/icon.png" (ou l'URL)[/Code]
Nécessite de Skript et de WildSkript (téléchargeable ici).
[b]#5[/b]: "[b]Image (chat)[/b]"
[/color][/font][/font][/font][/font][/font][/font][/font][/font][/font][/font][/color]
[font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][color=#00b300]Cet effet est utilisé pour afficher une image dans le chat.[/color][/font][/font][/font][/font][/font][/font][/font][/font][/font][/font]
[color=#808080][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][color=#808080]
Voici un bout de code souvent utile:
[Code=lua]On join:
send player chat image from URL "http://www.votre-site.fr" with height 16 shade 0 with extra texts "Votre site !"[/Code]
Nécessite de Skript et ExertSk (téléchargeable ici).
[/color]
[font=Tahoma][color=rgb(128, 128, 128)][b]#BONUS[/b]: "[b]Set line[/b]"[/color][/font][/font][/font][/font][/font][/font][/font][/font][/font][/font][/font][/color]
[font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][color=#00b300]Cet effet est utilisé pour changer une ligne d'un autre fichier.[/color][/font][/font][/font][/font][/font][/font][/font][/font][/font][/font][/font][/font]
[color=#808080][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][color=rgb(128, 128, 128)][font=Tahoma][color=rgb(128, 128, 128)]Voici un bout de code souvent utile:[/color][/font][/color][/font][/font][/font][/font][/font][/font][/font][/font][/font][/font][/font][/color]
[color=#808080][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][color=#808080] [Code=lua]Command /setline <int> <text> <text>:
trigger:
set line arg 1 in file "%arg 2%.yml" to "%arg 3%"[/Code][/color][/font]
[color=rgb(128, 128, 128)][font=Tahoma][color=rgb(128, 128, 128)]Nécessite de Skript et Umbaska (téléchargeable ici)[/color][/font][/color][/font][/font][/font][/font][/font][/font][/font][/font][/font][/font][/font][/color]
[color=#808080][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma]
[b][b]FIN[/b][/b][/font]
[/font][/font][/font][/font][/font][/font][/font][/font][/font][/color]
[font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][color=#ff8000][b]J'espère [/b]que ce [b]tutoriel [/b]vous a [b]aidé [/b]ou vous a [b]plu [/b]parce que je me suis bien [b]amusé [/b]à le [b]faire [/b]![/color][/font][/font][/font][/font][/font][/font][/font][/font][/font][/font]
[color=#808080][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][color=#808080]Plusieurs [b]plugins [/b]sont [b]nécessaires [/b]dans les codes [b]présentés [/b]ci-[b]dessus [/b]![/color][/font][/font][/font][/font][/font][/font][/font][/font][/font][/font][/color][/font]
[font=Tahoma][color=#808080][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][b][b]Merci[/b] à vous ![/b]
[/font][/font][/font][/font][/font][/font][/font][/font][/font][/font][/color]
[font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][font=Tahoma][color=#00b3b3]Cordialement,
Snowach, développeur givré.[/color][/font][/font][/font][/font][/font][/font][/font][/font][/font][/font][/font][/center]