“Allow IP” before country block command - Possible?

I want to create a script that would have a command “Allow IP” before country block command. Is there a way to do this at CSF and how?