Ashteru2005-11-21 10:19:04
Hm, I just wanted to ask how I could translate this code into MUSHcode or whatever...<.< It's for a friend.
DREAMWEAVE SLEEPMIST demesne
#ALARM +9 {forestcast pollen demesne}
#ALARM +18.75 {forestcast swarm demesne}
#ALARM +29 {forestcast murder demesne}
#ALARM +39 {forestcast spiders demesne}
#ALARM +49 {forestcast storm demesne}
#ALARM +59 {forestcast spores demesne}
#ALARM +69 {forestcast thorns demesne}
#ALARM +78.75 {forestcast treelife demesne}
DREAMWEAVE SLEEPMIST demesne
#ALARM +9 {forestcast pollen demesne}
#ALARM +18.75 {forestcast swarm demesne}
#ALARM +29 {forestcast murder demesne}
#ALARM +39 {forestcast spiders demesne}
#ALARM +49 {forestcast storm demesne}
#ALARM +59 {forestcast spores demesne}
#ALARM +69 {forestcast thorns demesne}
#ALARM +78.75 {forestcast treelife demesne}
Unknown2005-11-21 11:02:18
Probably something like this:
  name="dreamweave_demesne"
 match="^DREAMWEAVE SLEEPMIST demesne$"
 enabled="y"
 regexp="y"
 send_to="12"
 sequence="100"
 >
ÂDoAfter(9, "forestcast pollen demesne")
DoAfter(18.75, Â "forestcast swarm demesne")
DoAfter(29, "forestcast murder demesne")
DoAfter(39, "forestcast spiders demesne")
DoAfter(49, "forestcast storm demesne")
DoAfter(59, "forestcast spores demesne")
DoAfter(69, "forestcast thorns demesne")
DoAfter(78.75, "forestcast treelife demesne")
Â
Presuming that "DREAMWEAVE SLEEPMIST demesne" is an alias match string.
CODE
Â
 match="^DREAMWEAVE SLEEPMIST demesne$"
 enabled="y"
 regexp="y"
 send_to="12"
 sequence="100"
 >
Â
DoAfter(18.75, Â "forestcast swarm demesne")
DoAfter(29, "forestcast murder demesne")
DoAfter(39, "forestcast spiders demesne")
DoAfter(49, "forestcast storm demesne")
DoAfter(59, "forestcast spores demesne")
DoAfter(69, "forestcast thorns demesne")
DoAfter(78.75, "forestcast treelife demesne")
Â
Presuming that "DREAMWEAVE SLEEPMIST demesne" is an alias match string.
Ashteru2005-11-21 11:09:15
Hehe, noo. Dreamweave sleepmist demesne is a demesne effect I cast first.
The alias name itself is 'demfull'.
The alias name itself is 'demfull'.
Unknown2005-11-21 11:11:34
Erm, so "DREAMWEAVE ..." is a trigger match?
Shiri2005-11-21 11:26:43
QUOTE(Avator @ Nov 21 2005, 11:11 AM)
Erm, so "DREAMWEAVE ..." is a trigger match?
226185
Not that I can read MUSHClient code, but I think you did it right and Ashteru is just confused.
That is, if this bit...
CODE
name="dreamweave_demesne"
 match="^DREAMWEAVE SLEEPMIST demesne$"
 match="^DREAMWEAVE SLEEPMIST demesne$"
means that he can make an alias "demfull" which does "dreamweave sleepmist demesne" and then the rest happens on top of it.
Unknown2005-11-21 11:34:25
If that's what he wants then it would probably be better to use a shorter match, since it would be somewhat faster. Though I feel that this is one of those "alias inside an alias inside an alias" things, but it could work that way as long as you remember to send to Execute inside any aliases that call that one. Though it would be better to see the whole thing, since one-to-one translations between Zmud and Mushclient rarely yield anything sensible to the users of either client.
Shiri2005-11-21 11:48:30
Well, I can't think of anyone in their right mind who would have an alias that involved typing "dreamweave sleepmist demesne" when they could type "demfull" for the same effect, so I think that yes, that's what he's looking for. Then again, I'm not him.
Ashteru2005-11-21 12:10:51
I'd just need so that if I type demfull, the row is executed, starting with dreamweave sleepmist demesne....<.<
Unknown2005-11-21 14:59:46
Doh. You'd think that it'd be easy to figure out but behold the power of capitalized commands
 name="dreamweave_demesne_full"
 match="^demfull$"
 enabled="y"
 regexp="y"
 send_to="12"
 sequence="100"
>
Send("DREAMWEAVE SLEEPMIST demesne")
DoAfter(9, "forestcast pollen demesne")
DoAfter(18.75, Â "forestcast swarm demesne")
DoAfter(29, "forestcast murder demesne")
DoAfter(39, "forestcast spiders demesne")
DoAfter(49, "forestcast storm demesne")
DoAfter(59, "forestcast spores demesne")
DoAfter(69, "forestcast thorns demesne")
DoAfter(78.75, "forestcast treelife demesne")
CODE
 match="^demfull$"
 enabled="y"
 regexp="y"
 send_to="12"
 sequence="100"
>
DoAfter(9, "forestcast pollen demesne")
DoAfter(18.75, Â "forestcast swarm demesne")
DoAfter(29, "forestcast murder demesne")
DoAfter(39, "forestcast spiders demesne")
DoAfter(49, "forestcast storm demesne")
DoAfter(59, "forestcast spores demesne")
DoAfter(69, "forestcast thorns demesne")
DoAfter(78.75, "forestcast treelife demesne")
Ashteru2005-11-21 16:51:51
Thank you, that's really appreciated.