//Generate a random number between 1 and 10 Random>10,RandomResult Let>RandomResult=RandomResult+1 //Optional.. show what number was generated Messagemodal>You threw a %RandomResult% //If it isn't 7, exit the script if>RandomResult<>7 //Optional message for testing/playing purposes :) Messagemodal>You didn't throw a 7, exiting exit>0 endif //If it *is* a 7, whatever comes next will still be executed...