by NanoEther » Tue Oct 12, 2010 8:46 pm
I'm having an issue getting some code to work that is related to the earlier the post,
My original code is:
[@{number=[@{$prompt1}]} BombDrop1]
but I want to change it so that I display how many warheads are dropped, like this:
{number=[@{$prompt1}]} Warheads\n [@{$number} BombDrop1]
But it doesn't work, up to the \n comes out fine, but the rest gives me a (Missing) result. If I put a literal value in it spits out that many repetitions
OK figured it out:
* {!number=[@{$prompt1}]} Warheads\n [@{$number} BombDrop1]
I was missing the '!'