Test if $[pointer.x] is less than $


I want to achieve the following:

if( $[pointer.x] < $variable ) RunFunction
else RunAnotherFunction

Is this possible to do with fvwm or in any other way using scripts?

you can do it with PipeRead or with FvwmPerl

Piperead means doing the comparison in bash and either outputting your command or a Nop, depending on the outcome

FvwmPerl allows you to use Perl to (among other things) evaluate arithmetic expressions.

One of them ought to serve your purpose

Thanks for poining me in the right direction, Piperead was exactly what I was looking for