This one is a little more advance as it uses regex matching. It will find the first number that is by itself. So it will not find anon31 but it will find 975.

on $*:text:/^.*? (\d+) /:#: echo -a number $regml(1)

The $ in the on $*:text allows you to use regex in the on text event. The /^.*? (\d+) / is the regex string. If you want to know more just ask.


http://scripting.pball.win
My personal site with some scripts I've released.