Exactly, the new code would look like:
on right click:
if player's held item is a book named "&5&lHow to Get Rich":
execute console command "eco give %player% 10000"
Heres the link to my YouTube channel, with a bunch of tutorials to help you guys make your servers better:
https://www.youtube.com/channel/UCp-sfUCfuq1vIc0xDKB3Rwg