NPC
This commit is contained in:
		
							
								
								
									
										7
									
								
								mirricraft-npc.sk
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								mirricraft-npc.sk
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +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 player doesn't have the permission "group.aikainenjasen":
 | 
			
		||||
                make console execute command "/lp user %player% group add jasen"
 | 
			
		||||
		Reference in New Issue
	
	Block a user