mirricraft-skript/mirricraft-npc.sk

17 lines
717 B
Plaintext
Raw Normal View History

2023-04-26 14:44:54 +00:00
#--------------------------------------------------
#
# MIRRICRAFT
# by Christer Warén / Warén Group
#
#--------------------------------------------------
2020-11-08 13:49:53 +00:00
2024-01-15 02:27:02 +00:00
on npc click:
if player's world is "lobby":
if npc's name is "Robotti825":
if player doesn't have the permission "group.jasen":
message "&7[&r%npc's name%&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%npc's name%&7]&r Olet jo jäsen" to player