I think the title speaks for itself. What I'm trying to do is make an auto-herber. The timers are not what I need help with. I need to be able to start a single timer, or else I'm going to have an absolute mess crossing my screen every 3 seconds. I could start a specific timer with an alias, if I knew how to get that to work. Also, I need the timer to stop automatically. I can do this with a trigger, because the timer makes the amount of the herb left appear every time it harvests. When it says 5 left, I can have a command stop the timer. BUT. I don't know what or how to start or stop individual timers. Can anyone help me?
Turning timers on and off...
Posted by Fualkner on Thu 22 Nov 2007 12:14 AM — 8 posts, 28,704 views.
To enable a timer (or disable it):
http://www.gammon.com.au/scripts/doc.php?function=EnableTimer
To get rid of it completely:
http://www.gammon.com.au/scripts/doc.php?function=DeleteTimer
http://www.gammon.com.au/scripts/doc.php?function=EnableTimer
To get rid of it completely:
http://www.gammon.com.au/scripts/doc.php?function=DeleteTimer
Thank you. I have another question thought. When using a variable, how can I run it? I've made a variable called target. If I type 'attack target' it will say 'No one in this room has that name.' Is there something I need to do? Send it to script? What?
See http://www.mushclient.com/faq point 22.
Doesn't work. First of all, it's an alias, not a trigger. I checked expand variables in the Alias options. I still get
'I don't see that here.'
Grr.
'I don't see that here.'
Grr.
It is the same concept. Can you please copy what you have done and paste it here?
http://www.mushclient.com/copying
http://www.mushclient.com/copying
Quote:
If I type 'attack target' it will say 'No one in this room has that name.'
If I type 'attack target' it will say 'No one in this room has that name.'
In case you didn't notice, in the send field you need to put @ in front of variables.
Otherwise, it won't know the difference between words you want sent verbatim, and variables. So, it should read: 'attack @target'
Ah! Thanks for everything!