if number of item < amount to sell
say "You don't have enough items."
end
That should work.
Offline
Yep - MaxtheWeirdo's solution should work great!
If you're planning on having something happen if it is possible to sell correctly, use an "If... else" script and put what will happen if it works fine in the "else" part of the script.
Offline