Hmm... It's difficult to explain. It would be easier if I just gave you an example.
http://scratch.mit.edu/projects/archmage/128694
Archmage has a nice one (linked to above) that has fairly simple scripts. If you can't understand them, that's alright. Just remix!
Offline