Originally posted by zFlaVouR
you know it isnt possible to have infinite chars in an .cfg. and this takes lots of space and what do you mean by smaller?
It is possible, you just need the right ff editor; just look at some original cfg's, many of them have way more than 10000 chars.
And these if/then/else conditions to make the patch better to use, because if you use the toggle command, you could swith between e.g. Laser ON and Laser OFF, actually it's Laser ON/OFF.
-> if the laser is on, it turns it off and ^1Laser_Off will be displayed
*->*if the laser is off, it turns it on and ^1Laser_On will be displayed
Example Code:
*bind DPAD_UP "laserForceOn 0 strmcmp ! if ^1Laser_On then set laserForceOn 1;laserForceOn 1 strmcmp if ^1Laser_Off then set laserForceOn 0"