Recieved Text Hooks
Posted: Thu Jun 28, 2012 10:25 am
Is there anyway to pass the actual text recieved to a subroutine/perl script when the Text recieved hook is activated?
I cannot figure out how to do this, I have experimented and searched online but to no avail.
I can pass recieved text via a trigger to a subroutine, but that feels clumsy and think a hook would be more graceful.
Or am I missing something obviuos?
Thanks.
I cannot figure out how to do this, I have experimented and searched online but to no avail.
I can pass recieved text via a trigger to a subroutine, but that feels clumsy and think a hook would be more graceful.
Or am I missing something obviuos?
Thanks.