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
➜ Bug reports
➜ Alias Scripting Error (what happened to the second argument?)
|
Alias Scripting Error (what happened to the second argument?)
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Deqitosv
USA (26 posts) Bio
|
| Date
| Sat 06 Jul 2002 09:58 PM (UTC) |
| Message
| I've found in MushClient 3.20, when I add a new alias (anything with a wildcard) and run in into a sript that the second argument going into the script is blank, or not there.
For instance if I add:
Alias: say *
Send:
label: usesay
script: usesay
---- script file ----
sub usesay(alias,full_line,wildcard)
world.note alias
world.note full_line
world.note wildcard(1)
end sub
Constantly, no matter what I do, full_line is blank or empty. Certainly using wildcards and runing scripts on them would be easy, but I'd like the ability to use the full_line as well (as was able in 3.06).
Anyone else having this problem? Is there just a fix that I'm unaware of? Am I just doing something wrong? |
Deqitosv
MushClient Plugins for LegendMUD:
http://www.itgotdeleted.com/ (currently offline)
Experiments in Film:
http://www.cookiejarfilms.com/
15, a Parody of 24:
http://www.pkill.org
| | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Mon 08 Jul 2002 04:14 AM (UTC) |
| Message
| I think this might have been changed a bit recently, but anyway, with 3.23 (and possibly 3.20 as well), the arguments are this:
sub usesay(alias,full_line,wildcard)
' alias = name of alias
' full_line = full line *sent* (in your case, blank)
' wildcard (1) = first wildcard (eg. the asterisk contents)
' wildcard (10) = the entire matching line (eg. 'say blah')
end sub
|
- 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.
11,695 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top