on :TEXT:!GLOBAL:#: { amsg [GLOBAL] $2- : From $nick }
Simple as that just add if
($nick isop $chan) || ($nick ishop $chan) {
If you want it restricted to certain user groups