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 ➜ Tips and tricks ➜ how to time events

how to time events

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


Posted by Jemini   (2 posts)  Bio
Date Sat 11 Oct 2003 10:21 AM (UTC)
Message
how do i. . time how long an event takes?
eg. frm the time i request a quest from the questor

Komrad Administrator Petroski tells you 'Good luck <name>. Return safely!'

until

Komrad Administrator Petroski tells you 'As a reward, I am giving you * quest points and * gold.'

how do i do it?
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Sat 11 Oct 2003 08:46 PM (UTC)
Message
The general idea is shown in the "level timer" plugin. See this page:

http://www.gammon.com.au/forum/?bbsubject_id=3102

- Nick Gammon

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

Posted by Jemini   (2 posts)  Bio
Date Reply #2 on Sun 12 Oct 2003 11:33 PM (UTC)

Amended on Sun 12 Oct 2003 11:34 PM (UTC) by Jemini

Message
i get what u mean. how then do i use 2 triggers instead of one? and how do i report this? report being, recalling this information.
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #3 on Sat 18 Oct 2003 11:30 PM (UTC)
Message
Using the general technique shown in that plugin, you would have two triggers. One matches on:

Komrad Administrator Petroski tells you 'Good luck *. Return safely!'

The other on:

Komrad Administrator Petroski tells you 'As a reward, I am giving you * quest points and * gold.'


The first one saves the current time (using the VB function "Now") and the second one also gets the current time and does a DateDiff to find the difference between them.

- 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.


16,797 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.