//Set a variable so the PC can only try convincing the villager once. //Also, set a variable to show that the PC has failed to convice the villager. void main() { SetLocalInt(OBJECT_SELF, "do_once", 1); SetLocalInt(OBJECT_SELF, "convinced", 0); }