NPC Update
This commit is contained in:
		@@ -5,12 +5,12 @@
 | 
				
			|||||||
#
 | 
					#
 | 
				
			||||||
#--------------------------------------------------
 | 
					#--------------------------------------------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
on npc click:
 | 
					on damage:
 | 
				
			||||||
    if player's world is "lobby":
 | 
					    if attacker's world is "lobby":
 | 
				
			||||||
        if npc's name is "Robotti825":
 | 
					        if victim is "Robotti825":
 | 
				
			||||||
            if player doesn't have the permission "group.jasen":
 | 
					            if attacker 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
 | 
					                message "&7[&r%victim%&7]&r Annoin sinulle jäsenroolin, muistathan käyttäytyä!" to attacker
 | 
				
			||||||
                if player doesn't have the permission "group.aikainenjasen":
 | 
					                if attacker 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 %attacker% group add jasen"
 | 
				
			||||||
            else:
 | 
					            else:
 | 
				
			||||||
                message "&7[&r%npc's name%&7]&r Olet jo jäsen" to player
 | 
					                message "&7[&r%victim%&7]&r Olet jo jäsen" to attacker
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user