There's nothing regex about the codes napa showed you above.> on :TEXT:Prefix[aFK]:#:{
notice $nick I'm currently away with the reason: %reason - Auto Message on: Prefix[aFK].
}
on :ACTION:Prefix[aFK]:#:{
notice $nick I'm currently away with the reason: %reason - Auto Message on: Prefix[aFK].
}can turn into this:
on $*:text:$(/\Q $+ $me $+ \E$/iS):#:simpleaway
on $*:action:$(/\Q $+ $me $+ \E$/iS):#:simpleaway
alias -l simpleaway {
if (!%f && $away) {
inc -u5 %f
notice $nick I'm currently away with the reason: %reason - Auto Message on: prefix[afk]
}
}
This way, you don't need to reiterate the notice twice in each event. You need a trigger control so that you don't get bombarded with trigger flood.