i want a charector to click on a hotspot once and get a message and if you click again you get another and 5 more times to get an object.
Try searching the forums, and reading the tutorials and BFAQ before you ask things, this is another pretty common question.
Check this thread (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=24421.0) and this one (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=23678.0) for recent answers to very similar questions.