Converting two aliases from tintin
Posted: Sun Nov 28, 2010 2:37 am
Hey guys,
Having a few issues with writing a nice little exp bot/script that I use on one of the muds I play.
I have it working just fine in tintin for now, figured I would see if anyone could help with these two conversions so I can use mudlet full time.
#ALIAS {expcycle}={medichi;#delay {20} {medichi; #delay {20} {picket; #delay {20} {plague; #delay {20} {plague; #delay {20} {plague; #delay {20} {plague; #delay {20}
{heal} } } } } } }} @ {5}
#ALIAS {heal}={recall;sleep;#delay {60} {wake;expcycle}} @ {5}
the format in tt is {aliasname} {commands} {priority}. Priority is useless in this case and can be ignored.
Would be of great help. I had tried to replace the delays with tempTimer, but seems they cannot be nested.
I had attempted the following:
Alias Name: Heal
Pattern: ^heal$
sendAll("recall", "sleep")
tempTimer( 30.0, [[ send("wake") ]] )
Alias Name: Expcycle
Pattern: ^expcycle$
echo("Testing the heal aliases recursion")
I had tested using the following tempTimer in heal:
tempTimer( 30.0, [[ send("wake"), expandAlias("expcycle" ]] )
But this failed to call expcycle as best as I can tell.
Any assistance/info would be appreciated.
Also worth mentioning is that medichi, picket, and plague are also aliases.
Having a few issues with writing a nice little exp bot/script that I use on one of the muds I play.
I have it working just fine in tintin for now, figured I would see if anyone could help with these two conversions so I can use mudlet full time.
#ALIAS {expcycle}={medichi;#delay {20} {medichi; #delay {20} {picket; #delay {20} {plague; #delay {20} {plague; #delay {20} {plague; #delay {20} {plague; #delay {20}
{heal} } } } } } }} @ {5}
#ALIAS {heal}={recall;sleep;#delay {60} {wake;expcycle}} @ {5}
the format in tt is {aliasname} {commands} {priority}. Priority is useless in this case and can be ignored.
Would be of great help. I had tried to replace the delays with tempTimer, but seems they cannot be nested.
I had attempted the following:
Alias Name: Heal
Pattern: ^heal$
sendAll("recall", "sleep")
tempTimer( 30.0, [[ send("wake") ]] )
Alias Name: Expcycle
Pattern: ^expcycle$
echo("Testing the heal aliases recursion")
I had tested using the following tempTimer in heal:
tempTimer( 30.0, [[ send("wake"), expandAlias("expcycle" ]] )
But this failed to call expcycle as best as I can tell.
Any assistance/info would be appreciated.
Also worth mentioning is that medichi, picket, and plague are also aliases.