I dont get it. What's the problem

. How can I use steps actually in there? It gives me error that for example in if statement, I cant use string and int, even tho int is stored inside the string :/.
void stepadder(string &in asTimer)
{
GetLocalVarInt("steps");
if("steps" < 24)
{
AddLocalVarInt("steps", 1);
AddTimer("", 1, "stepadder");
AddTimer("", 0, "stepeffect");
}
else
{
//finish stepping
}
}
void stepeffect(string &in asTimer)
{
GetLocalVarInt("steps");
CreateParticleSystemAtEntity("step" + "steps", "ps_guardian_appear_explosion.ps", "ScriptArea_" + "steps" ,false);
}
Ok, never mind

. I changed "steps" with GetLocalVarInt("steps") and it solved my problem!
I didn't do proper research

!
Sad part it really doesn't still work as I want, but I'll get it to work! Got it to work