Register forum user name Search FAQ

Gammon Forum

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 ➜ Spell Casting Timer / Tracking

Spell Casting Timer / Tracking

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Mattrious   (6 posts)  Bio
Date Mon 04 Nov 2013 05:12 PM (UTC)
Message
Hello,

I've been looking over the various different forum posts on spell timers and tracking. I've been playing with some scripts and can not get them to recall or relay the way I want them to. I am new to scripting and I am pretty certain I am over thinking this or trying to throw a missile at something that a BB gun could take care of.

I am wanting a basic command that I can enter EG: 'st' for 'spell timers' or something that will report back how much time I have on certain effects. Now the main problem is - I am doing this on a role playing mud where there is no actual timer in score or anything along those lines.

Though there are different times for various spell levels. Starting with wek being the weakest. I believe wek spells have a 10 minute timer. Yuqa has a 20 minute timer and so on I believe. Though, I will need to do some testing and figure out the exact times on each power level, so would want a way to adjust the timer for certain spells.

Wek Yuqa Kral Een Pav Sul Mon


What I had originally done was setup a trigger for when I cast a spell:

cast 'wek un ruk pret grol' self


I want the timer to see the spell effect and then start counting down from 10 minutes when it sees that it was cast at the wek power level. Or count down from 20 minutes if it saw it cast at the yuqa power level.

Then after a few minutes goes by and I need to check how much time I have on the spell effect. I would simply type 'st' to see how much time I have left on it. I would be very appreciative if someone could tell me what help files I need to look at to do all of this. Thank you again.

Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #1 on Mon 04 Nov 2013 08:42 PM (UTC)
Message
How about this?

http://www.gammon.com.au/forum/?id=9359

That shows how to do a button bar, with cooldowns.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Mattrious   (6 posts)  Bio
Date Reply #2 on Mon 04 Nov 2013 09:39 PM (UTC)
Message
Nick Gammon said:

How about this?

http://www.gammon.com.au/forum/?id=9359

That shows how to do a button bar, with cooldowns.


Thanks Nick. I will give it a shot. I really was not looking for something so in depth and with graphics, etc. Though, it appears that this will work for what I am wanting to do. Thank you again for the reply.
Top

Posted by Avocado   (13 posts)  Bio
Date Reply #3 on Fri 08 Nov 2013 03:34 AM (UTC)
Message
Doesn't the time of spells casted change as your levels go up?

An alternative would be, if you create a trigger re-cast the spell to when the effects are worn off.
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #4 on Mon 11 Nov 2013 06:49 AM (UTC)
Message
Explain this. It looks like pre-spam.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Fiendish   USA  (2,534 posts)  Bio   Global Moderator
Date Reply #5 on Tue 12 Nov 2013 06:27 PM (UTC)

Amended on Tue 12 Nov 2013 06:31 PM (UTC) by Fiendish

Message
Agreed. Deleted.

https://github.com/fiendish/aardwolfclientpackage
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.


19,403 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.