Storing and collecting items

Ive looked on the forum for a tutorial that can describe how to add items to platformer. Coins, extra lives etc and also store them. Does anybody no of such a tutorial?
Thanks
Thanks
Game Editor discussion board
http://game-editor.com/forum/
hp=100;
hp-=1;
if(hp<=0)
{
DestroyActor("Event Actor");
}
textNumber = player.hp;
player.hp+=10; // switch for other items
player.hp+=10*(ActorCount("item")==1);