On 1:Text:`agree:#: { If $readini(Popularity.ini,$Nick,entered) == yes) {
Needs to be:
if ($readini(Popularity.ini,$nick,entered) == yes) {