HappyMan Posted February 8, 2017 Posted February 8, 2017 how to enable storage in woe times? thanks in advance. Quote
0 Emistry Posted March 15, 2017 Posted March 15, 2017 (edited) - script atcmd_woe_storage -1,{ OnInit: OnAgitEnd: OnAgitEnd2: OnAgitEnd3: unbindatcmd("storage"); end; OnAgitStart: OnAgitStart2: OnAgitStart3: bindatcmd("storage","woe_storage::OnAtcommand",0,99); end; OnAtcommand: openstorage; end; } Edited March 15, 2017 by Emistry Quote
0 Technoken Posted February 8, 2017 Posted February 8, 2017 Try - script woe_storage -1,{ OnInit: bindatcmd("storage","woe_storage::OnAtcommand",0,99); end; OnAtcommand: if( .@atcmd_numparameters > 0 || !agitcheck() || !agitcheck2() ) unittalk 0, "@storage " +implode(.@atcmd_parameters$, " "); else openstorage; end; } Quote
0 HappyMan Posted February 10, 2017 Author Posted February 10, 2017 (edited) On 2/8/2017 at 7:27 PM, Technoken said: Try - script woe_storage -1,{ OnInit: bindatcmd("storage","woe_storage::OnAtcommand",0,99); end; OnAtcommand: if( .@atcmd_numparameters > 0 || !agitcheck() || !agitcheck2() ) unittalk 0, "@storage " +implode(.@atcmd_parameters$, " "); else openstorage; end; } not working Edited February 10, 2017 by HappyMan Quote
0 Technoken Posted February 11, 2017 Posted February 11, 2017 11 hours ago, HappyMan said: not working Try this - script woe_storage -1,{ OnInit: bindatcmd("storage","woe_storage::OnAtcommand",0,99); end; OnAtcommand: if( .@atcmd_numparameters == 0 && ( agitcheck() || agitcheck2() ) ) openstorage; else unittalk 0, "@storage " +implode(.@atcmd_parameters$, " "); end; } Quote
0 HappyMan Posted March 15, 2017 Author Posted March 15, 2017 5 hours ago, Emistry said: - script atcmd_woe_storage -1,{ OnInit: OnAgitEnd: OnAgitEnd2: OnAgitEnd3: unbindatcmd("storage"); end; OnAgitStart: OnAgitStart2: OnAgitStart3: bindatcmd("storage","woe_storage::OnAtcommand",0,99); end; OnAtcommand: openstorage; end; } i'll try later. thanks @Emistry Quote
Question
HappyMan
how to enable storage in woe times?
thanks in advance.
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.