[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Suggestions
. . -> [Subject]  Responding timer with added functions

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Responding timer with added functions

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page


Posted by Valhart   (14 posts)  [Biography] bio
Date Thu 28 Jun 2001 07:54 AM (UTC)  quote  ]
Message
As a non scripting player *cause I have no clue how to do it*, I have incredible difficult with the usage of timers. For the sake of most players like me, could an installation of a certain timer be done that does the follow.

1) A timer that actives when an event triggers it, and then send whatever command it intends to when time's is up.

2) In respond to a trigger command in the game world, you can do a report on how many seconds left on the spell you cast.

Just a thought...
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Reply #1 on Fri 29 Jun 2001 (UTC)  quote  ]
Message
Quote:

A timer that actives when an event triggers it, and then send whatever command it intends to when time's is up.


This is best done with a simple script. There are examples on this forum, search for "addtimer", you will see some very similar to what you describe.


Quote:

In respond to a trigger command in the game world, you can do a report on how many seconds left on the spell you cast.


I would probably make an alias that assists in casting the spell, and also notes the time (in a script). Then the trigger could query the time and work out how many seconds there were to go (by subtracting one from the other).


- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] 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.


1,570 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]