need help with aliases and variables

Posted by Babochka on Sat 14 May 2005 11:19 PM — 5 posts, 22,805 views.

USA #0
hello

I play Achaea and I'm a dawnstrider.
in order to kill rats, i have to secrete sumac then bite rat.

I want to know how to make an alias that will use my victim as a variable. I also need to know how to put a timer or delay between the two commands

I tried doing this:
bb *

secrete sumac
bite %1

it doesnt work.

can someone tell me how to make variables for my aliases and stuff? thanks.
Sweden #1
You could take a look at the LUA-code in my preserving plugin (for Imperian, but same principle) at http://www.crox.org/cxPreserve.xml.

What doesn't work? What messages do you get?
USA #2
I get that the alias doesnt work because it goes too fast.

I secrete sumac, then the bite rat come too quick and it says you dont have venom to kill a rat.

I need to know how to put a delay in the alias and also how to make a variable so i can change variable and only type bb to kill rat or crow or wildcat or whatever

USA #3
To Life Immortal

OK

I found a way to do it.

First, I made an alias called ss for secrete sumac.
Whenever you secrete a poison, you get a message on the screen that says You feel the power of the venom sumac flowing through your veins.

I then make a trigger on 'You feel the power of the venom' and in the send box, i type bite rat.

It works :)

Babochka2a
USA #4
That works, or you can use a 'DoAfter' command to send something after a specific number of seconds. However, the workaround you came up with will work better and more reliantly (especially if your server/connection has bouts of lag).