I would first try to understand how ACTIONS works, it's not hard, once you understand what cid, uid, itemid and how to use them, you are good to go to do your first script.
(You will also need to understand what's an IF condition, which its rather easy)