nice that u wanna tell me some other ways, but please i must use it with this formation like i posted!
"\minplayers\5\maxplayers\32\"
(bec. on some maps there are some more vars after these both, but i only need this both at the moment)
Code:
if((sandmen = contain(mapname, "\maxplayers\")) != -12)
{
copy(minplayers, sandmen -12, mapname);
.................
before the \max.. is the number i need, and after players\ is the number i need fpr maxplayers var.
if you can help me how i can get this, you will finish my problems! (for the moment ;))
///ADDD
And if i look at your code i notice that u try to make something totaly other

But okay, thats not the problem, i think you know the answere for my little problem if you understand what i try to find out ;)
thanks a lot