Arma isn't feeding my script ladderlog
Arma isn't feeding my script ladderlog
I've tried everything but arma refuses to feed my script ladderlog, I have ladderlog_write_all 1, intercept_unknown_commands 1, I've checked ladderlog it gets written to, I've done cat ladderlog.txt | ./myscript.pl to verify that it works which it indeed does. so arma must not be feeding ladderlog to my script. what am I doing wrong ? I can write commands with my script but only if it doesn't rely on a regex which means I'm not getting any input from ladderlog.
Re: Arma isn't feeding my script ladderlog
Nevermind after about 3 days of ******* with it I finally remembered that print("some crap\n); won't work because it just prints won't work with piping with out some manual intervention, you have to use system("echo $somevar or SOME_COMMAND");
<--- IS A ******* MORON
<--- IS A ******* MORON