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
➜ Plugins
➜ simple spell counter
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Design
(2 posts) Bio
|
Date
| Mon 10 Dec 2012 03:20 AM (UTC) |
Message
| Hi
I need some basic lua. Looking at some help to bring out a small mini window (really small one) just to display a realtime countdown , and will reset upon input from MUD (trigger).
So 2 states for timer.
1) Counting down from a fixed number say 100 every time a trigger occurs
2) Counter goes to zero every time a trigger occurs
This case I can know if a spell is going to be worn off and prepare to cast again without having to keep checking via input to MUD.
Thanks in advance. | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #1 on Mon 10 Dec 2012 04:52 AM (UTC) |
Message
| |
Posted by
| Design
(2 posts) Bio
|
Date
| Reply #2 on Mon 10 Dec 2012 12:12 PM (UTC) |
Message
| Hi, appreciate your prompt reply. I took a look, it is somewhat more than what i am expecting. I just need a line for example "aura - 06:20" .
Also I am not really looking for a cool down sort of timer, which in this case I presume would require MUD input to know the cool of time.
My case is more of the effect of a particular spell which has a fixed duration every time cast.
I know they are somewhat similar but I feel it is different as in my case I do not require any MUD in put but just a stand alone counter to start the countdown everytime a trigger occurs.
If possible do point me to the right direction. Thank you. | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #3 on Mon 10 Dec 2012 11:27 PM (UTC) |
Message
| What I pointed to you just starts a timer, coded into the script. I thought that was what you were talking about. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | 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.
12,981 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top