HappyMan Posted February 8, 2017 Group: Members Topic Count: 20 Topics Per Day: 0.01 Content Count: 191 Reputation: 25 Joined: 07/19/14 Last Seen: June 26, 2019 Share Posted February 8, 2017 how to enable storage in woe times? thanks in advance. Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted March 15, 2017 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Thursday at 04:49 PM Share 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 Link to comment Share on other sites More sharing options...
0 Technoken Posted February 8, 2017 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 505 Reputation: 127 Joined: 04/04/16 Last Seen: Sunday at 02:20 PM Share 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 Link to comment Share on other sites More sharing options...
0 HappyMan Posted February 10, 2017 Group: Members Topic Count: 20 Topics Per Day: 0.01 Content Count: 191 Reputation: 25 Joined: 07/19/14 Last Seen: June 26, 2019 Author Share 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 Link to comment Share on other sites More sharing options...
0 Technoken Posted February 11, 2017 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 505 Reputation: 127 Joined: 04/04/16 Last Seen: Sunday at 02:20 PM Share 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 Link to comment Share on other sites More sharing options...
0 HappyMan Posted March 15, 2017 Group: Members Topic Count: 20 Topics Per Day: 0.01 Content Count: 191 Reputation: 25 Joined: 07/19/14 Last Seen: June 26, 2019 Author Share 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 Link to comment Share on other sites More sharing options...
Question
HappyMan
how to enable storage in woe times?
thanks in advance.
Link to comment
Share on other sites
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.