if then else
Type /help and find these items in the help files. They're all you need to store and create simple messages through an ini file dynamically.
On text > if nick is not op return
write !dynamic_trigger ($2 or something) to file with $3- as message
on any text, check if $1 is any of the channel's dynamic_triggers in the ini file. If is, message channel said value