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
➜ Lua
➜ Turning timers on and off...
|
Turning timers on and off...
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Fualkner
(4 posts) Bio
|
| Date
| Thu 22 Nov 2007 12:14 AM (UTC) |
| Message
| | 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? | | Top |
|
| Posted by
| Nick Gammon
Australia (23,169 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Thu 22 Nov 2007 04:15 AM (UTC) |
| Message
| |
| Posted by
| Fualkner
(4 posts) Bio
|
| Date
| Reply #2 on Fri 23 Nov 2007 12:03 AM (UTC) |
| Message
| | 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? | | Top |
|
| Posted by
| Nick Gammon
Australia (23,169 posts) Bio
Forum Administrator |
| Date
| Reply #3 on Fri 23 Nov 2007 02:52 AM (UTC) |
| Message
| |
| Posted by
| Fualkner
(4 posts) Bio
|
| Date
| Reply #4 on Fri 23 Nov 2007 04:09 AM (UTC) |
| Message
| 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. | | Top |
|
| Posted by
| Nick Gammon
Australia (23,169 posts) Bio
Forum Administrator |
| Date
| Reply #5 on Fri 23 Nov 2007 05:19 AM (UTC) |
| Message
| |
| Posted by
| Nick Gammon
Australia (23,169 posts) Bio
Forum Administrator |
| Date
| Reply #6 on Fri 23 Nov 2007 05:21 AM (UTC) |
| Message
|
Quote:
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' |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Fualkner
(4 posts) Bio
|
| Date
| Reply #7 on Fri 23 Nov 2007 03:21 PM (UTC) |
| Message
| | Ah! Thanks for everything! | | 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.
26,126 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top