plugin extra parameters on a "script"

Posted by Hadar on Sat 01 Oct 2016 03:17 AM — 2 posts, 12,650 views.

#0
<alias
match="^q last( .*)?"
enabled="y"
send_to="12"
sequence="100"
regexp="y"
script="Report"
>
</alias>


above is the alias i am using in my plugin
in the script="Report" section I was wondering if there was a way to send extra parameters on the script before my plugin actually parses it?

I want to do Report("q") before i send any other data

hopefully i explained this well enough

Ps hopefully i posted in the correct spot, first time posting
Australia Forum Administrator #1
The script gets the matching line so it could easily see if the first letter is "q" or not.

An alternative is to remove "Report" from the Script box in the alias, and instead make the alias "send to script". Then in the Send box put:


Report ("q")