If I'm not mistake, the writeini on schafers will not work properly.
!XP NPC1 5
$1 == !XP
$2 == NPC1
$3 == 5
writeini Stats.ini XP $3 %XP
This will do: /writeini Stats.ini XP 5 %XP
You need to use $2.
Also, because you're using !XP *, as the match text, you're only checking to see if there is "one or more" matches. That means !XP anything, will trigger the event. When you need $3 to work. Hence the code I used.
Last edited by Rand; 22/11/05 10:58 AM.