Code: Select all
automacro a_addchar {
console /[(Von: ]+[a-z0-9]+[) : add char ]+[a-z0-9]+/
call {
$caller = $.lastMatch1
$add_char = $.lastMatch2
call addchar
}
}
The regexp allways triggers, but it should be only in cases like this:
(Von: pming_char) : add char adding_char
the pm'ing and adding char should be accessible in the macro addchar, correct?