Script help on "Page"

Script help on "Page"

Hey I am new to Zoho. 
I am not seeing how to do this on the documentation but I would like to:

(1) pull all the records of "formA" from "today" 
(2) get the all values from the field "points" 
(2) for a person's record "Bob" 
(3) add it up "points" and 
(4) if it adds to 10 then 
(5) display message "You got ten points!". 


Can anyone help?
Thanks