NPC part 3
This commit is contained in:
		@@ -1,8 +1,7 @@
 | 
			
		||||
# --- NPC ---
 | 
			
		||||
on rightclick on entity:
 | 
			
		||||
    if clicked entity is a citizen:
 | 
			
		||||
        set {_npc} to npc from entity clicked entity
 | 
			
		||||
        if name of npc {_npc} is "Robotti825":
 | 
			
		||||
        if name of npc is "Robotti825":
 | 
			
		||||
            if player doesn't have the permission "group.jasen":
 | 
			
		||||
                message "&7[&2Robotti825&7]&r Annoin sinulle jäsenroolin, muistathan käyttäytyä!"
 | 
			
		||||
                if player doesn't have the permission "group.aikainenjasen":
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user