
Re: 2 ship colo script problem
Helix wrote:
This started as a simple macro to do 2 ship coloing in an unlimited. I added an edited version of one of prom's menus. The macro idea came from Xanos, and built up from there. I still plan to add a status window instead of the send "' Planet " $coloPlanet " product trips left: " index number "*" "" after each cycle. And some error checking for the variables and a navhaz check.
I am having a problem with this script. It works but in the equipment cycle, I am getting 9 extra trips and I cannot figure out why. I added the full script as an attachment.
When in doubt Echo it out.
Helix,
I took a brief look at your code it looks solid, it's actually the same across f,o,e so it's likely not coming from the mac itself but from the index. Hard to believe since its a direct result of your Echo menu. However my recommendation is to add some Echo flag's to help track down the issue.
i.e.
Echo e_trips_index
*some code you think is causing the issue*
Echo e_trips_index
I'm sure your already doing this but without running your code its really hard to diagnose what is causing you the issue. Your code looks solid but it's likely something easy. For me adding Echo flags is a best practice and I highly recommend it.
Hope that helps