Description
Permet de vérifier si un membre à un rôle avec un nom précis.
discord command $role <member> <string>:
trigger:
if arg-1 has role named arg-2:
reply with "%arg-1% à le rôle nommé %arg-2%"
stop
reply with "%arg-1% n'a pas le rôle nommé %arg-2%"
%member% (has|have) [the] role %role%
%member% (does[n[']t]|does not) have [the] role %role%
%member% (has|have) [the] role [named] %string%
%member% (does[n[']t]|does not) have [the] role [named] %string%
Description
Permet de détecter si un membre est muet dans la guild ou non.
discord command $checkGuildMute <member>:
trigger:
if arg-1 is guild muted:
reply with "%arg-1% est muet dans la guild !"
stop
reply with "%arg-1% n'est pas muet dans la guild !"
%members% (is|are) [<guild>] muted
%members% (is|are)(n't| not) [<guild>] muted
Description
Permet de détecter si un salon est NFSW ou non.
discord command nsfw:
prefixes: $
trigger:
if event-channel is nsfw:
reply with "%event-channel% est nsfw"
[the] nsfw state[s] of %channelbuilders/textchannels%
%channelbuilders/textchannels%'[s] nsfw state[s]
Description
Permet de créer facilement un salon textuel ou un salon vocal.
command /channel:
trigger:
create text channel:
set name of the channel to "Test"
set {guild} to guild with id "56156156615611"
set nsfw state of the channel to true
create the channel in {guild} with "Skript-MC"
(make|create) [text] channel
(make|create) voice channel
Description
cet évènnement détecte l'ajout d'une alliance pour un clan
Plugin requis: SimpleClans
on ally clan add:
broadcast "%event-clan%"
[on] ally clan add
Description
cet évènnement est appelé quand l'alliance d'un clan est retirée
Plugin requis: SimpleClans
on ally clan remove:
broadcast "%event-clan%"
[on] ally clan remove
Description
détecte quand un joueur parle dans un clan
Plugin requis: SimpleClans
on clan chat:
if the length of event-string < 2:
send "Le message pour %event-clan% doit avoir plus de 1 caractère" to player
cancel event
[on] clan chat
Description
détecte quand un joueur crée un clan
Plugin requis: SimpleClans
on clan create:
broadcast "%player% a crée le clan %event-clan%"
[on] clan create
Description
cet évennement est appelé quand un joueur dans un clan est rétrogradé
Plugin requis: SimpleClans
on clan demote player:
send "Vous avez été rétrogradé de grade dans votre clan" to player
[on] [clan] demote player
Description
évènnement qui détecte quand un clan est dissout
Plugin requis: SimpleClans
on clan disband:
broadcast "Le clan %event-clan% à été dissout"
[on] clan disband