col_kurtz1979 0 Posted August 29, 2005 I tried using the following code within an .sqs file.... <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">"_x addmagazine "hk"" foreach  (units group Mygroup) When the script executes I get an error message. Whats the correct way to to add magazines to units using the foreach command? Searched but cant find anything. Share this post Link to post Share on other sites
klavan 0 Posted August 29, 2005 Try this: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> {_x addmagazine "hk"} foreach units Mygroup Klavan Share this post Link to post Share on other sites