on *:TEXT:*:#: { if ($left($1,1) isin @!) { if ($right($1,-1) == ge) || ($right($1,-1) == grand) || ($right($1,-1) == price) {
You could use some regex
/^[@!](g(e|rand)|price)/Si
pwnisher, I think you do /ge [item], not sure
Edit: 1500th comment :o