Is it possible to change the outcome of that incoming mesage instead of 1w 3d to be like 1week 3days? or you have no control on the incoming message?

Because to make a solid pickup you would in theory need it to be more tight in the way to pick up the (y)ear (m)onth (d)ays

The only way to make it tighter is if theres atleast 2 matching num symbols example.

Lets say for sure the output would be 2m 1w 6d is when I seen NICK

then..

Using regex like this..

Code:
on *:TEXT:*:#:{
if ($regex($1-,/\b(\d+m|[1-3]w|[1-6]d)\b/g) >= 2) { echo -a $regml(1) $regml(2) $regml(3) }
}


Will only function if theres a matching event that is 2 or higher meaning if 3d is the only word in it will not function but if 2w 3d will.

The downfall if by any chance, 1d or 1m or 1w is the only output then the script does not launch, but if you know where im coming from, If the script shows this 3d 8h 7s ago. then you could expand your regex match. so make it work as you wish.

In the code I put youll see $regml(1) up to 3 it doesnt matter if theres only 2 matches the 3rd regml won't trigger.


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }