I have creat a new skill and i have edit the game file:
1
2
3
4
5
6
2
3
4
5
6
on:skill_new { msgbox "Skill Info","sys/skillinfos/new.inf"; }
	on:iskill_new {
		incskill "new",1,"new skill";
		$tmp=skillvalue("new");
		if ($tmp==50){ event "newskillup","global";}
}
1
2
3
4
5
6
7
2
3
4
5
6
7
on:newskillup{
	 msg "Skill improved!",1;
	 play "fx_spell.wav";
	 corana getx("unit",1),getz("unit,1"),40,255,250,0;
	 $newskillvar++;
	 $newskilltime=$newskilltime+1000;
	 }
When I tested in game, I noted that my variable is not increasing.
I then display a message through a "msg" to display the variable and to my surprise, the variables are not changed!
they are a 0
Why?
A variable problem
1 
Offline
) Have you create the sys/skillinfos/new.inf? If not that may be the problem