mirricraft-skript/mirricraft-npc.sk

18 lines
825 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
2020-11-07 15:40:04 +00:00
on rightclick on entity:
if clicked entity is a citizen:
2020-11-07 17:07:42 +00:00
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% group add jasen"
else:
2023-04-26 14:44:54 +00:00
message "&7[&r%name of clicked entity%&7]&r Olet jo jäsen" to player