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
➜ General
➜ alias help: mass aliases with the multiple_send plugin
alias help: mass aliases with the multiple_send plugin
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| SKYY
(28 posts) Bio
|
Date
| Sun 30 Mar 2008 12:32 AM (UTC) |
Message
| Using the multiple_send plugin, I can type "#all save" and every open world will 'save'.
However, the #all command doesn't seem to work well with aliases. For example, if I have an alias on my primary char like so:
'heal' = 'quaff potion backpack'
But on another char, that same alias is like this:
'heal' = 'quaff potion satchel'
...upon typing "#all heal", EVERY world will use the processed alias for the world on which the command is typed. So, character #2 in this example is trying to 'quaff violet backpack', when he doesn't have a backpack to quaff from.
Is there a way to set the multiple_send plugin to where it actually parses aliases and variables based on each individual world, instead of the aliases of the world in which #all is commanded? | Top |
|
Posted by
| Norry
(16 posts) Bio
|
Date
| Reply #1 on Sun 30 Mar 2008 07:03 PM (UTC) |
Message
| You can change the two lines that look like:
sndworld.send wildcards(2)
to:
sndworld.execute wildcards(2)
and that will process aliases. This is how I changed it in my version of the plugin and I haven't experienced any side effects from it.
| Top |
|
Posted by
| SKYY
(28 posts) Bio
|
Date
| Reply #2 on Sun 30 Mar 2008 08:47 PM (UTC) |
Message
| Thanks!! Works great. :D | 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,195 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top