Script for Auto Bypassed / Blocked from comment

Need script
IP Hotspot IP Binding
finds a word from comment =user xyz unpaid. change the type to “blocked”
finds a word from comment =user xyz paid. change the type to “bypassed”