NPC Update
This commit is contained in:
parent
c934632a35
commit
cf9080a68c
@ -5,13 +5,12 @@
|
|||||||
#
|
#
|
||||||
#--------------------------------------------------
|
#--------------------------------------------------
|
||||||
|
|
||||||
on rightclick on entity:
|
on npc click:
|
||||||
if clicked entity is a citizen:
|
|
||||||
if player's world is "lobby":
|
if player's world is "lobby":
|
||||||
if name of clicked entity is "Robotti825":
|
if npc's name is "Robotti825":
|
||||||
if player doesn't have the permission "group.jasen":
|
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
|
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":
|
if player doesn't have the permission "group.aikainenjasen":
|
||||||
make console execute command "/lp user %player's name% group add jasen"
|
make console execute command "/lp user %player's name% group add jasen"
|
||||||
else:
|
else:
|
||||||
message "&7[&r%name of clicked entity%&7]&r Olet jo jäsen" to player
|
message "&7[&r%npc's name%&7]&r Olet jo jäsen" to player
|
||||||
|
Loading…
Reference in New Issue
Block a user