Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ Plugins
➜ plugin extra parameters on a "script"
plugin extra parameters on a "script"
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Hadar
(3 posts) Bio
|
Date
| Sat 01 Oct 2016 03:17 AM (UTC) |
Message
| <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 | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #1 on Sun 02 Oct 2016 03:19 AM (UTC) |
Message
| 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:
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
10,037 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top