That FN Ninja
Member
Hey guys, I sure that the solution to this is fairly simple, but for some reason I'm having trouble getting it to work. I have several scripts with the syntax:
The problem I'm having is that this just keeps printing over and over. Obviously a simple solution would be to use the abort command, but I still want it to do the rest of the stuff in the script. Is there a way to have it print once without aborting the script?
Code:
if ( <boolean expression> )
<block or statement>
else
print("a line of text");
The problem I'm having is that this just keeps printing over and over. Obviously a simple solution would be to use the abort command, but I still want it to do the rest of the stuff in the script. Is there a way to have it print once without aborting the script?