mirricraft-skript/mirricraft-npc.sk
2024-01-15 01:42:01 +02:00

18 lines
832 B
Plaintext

#--------------------------------------------------
#
# MIRRICRAFT
# by Christer Warén / Warén Group
#
#--------------------------------------------------
on rightclick on entity:
if clicked entity is a citizen:
if player's world is "lobby":
if name of clicked entity is "Robotti825":
if player doesn't have the permission "group.jasen":
message "&7[&r%name of clicked entity%&7]&r Annoin sinulle jäsenroolin, muistathan käyttäytyä!" to player
if player doesn't have the permission "group.aikainenjasen":
make console execute command "/lp user %player's name% group add jasen"
else:
message "&7[&r%name of clicked entity%&7]&r Olet jo jäsen" to player