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 ➜ General ➜ Tick Timer Trouble

Tick Timer Trouble

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


Pages: 1  2 

Posted by SchnitzlePuss   (11 posts)  Bio
Date Reply #15 on Wed 01 Feb 2012 09:34 PM (UTC)

Amended on Thu 02 Feb 2012 02:23 AM (UTC) by Nick Gammon

Message
I copied the edited trigger, and pasted it. Still not working and I'm almost wondering what I'm doing wrong.

Here's the exact copy from my client, but I didn't make any changes to the one you gave me:



<triggers>
  <trigger
   enabled="y"
   keep_evaluating="y"
   match="^\&lt;(?&lt;hp&gt;\d+)\/\d+ (?&lt;mana&gt;\d+)\/\d+ (?&lt;moves&gt;\d+)\/\d+ \d+ \d+ \d+\&gt; \[(?&lt;room&gt;[^\]]+)\] \[(?&lt;stance&gt;[^\]]+)\] +(?&lt;flying&gt;\(Flying\))? ?(?&lt;hour&gt;\d+)\:(?&lt;minute&gt;\d+)(am|pm)"
   regexp="y"
   send_to="12"
   sequence="100"
   variable="health"
  >
  <send>if %&lt;hour&gt; ~= old_hour or
%&lt;minute&gt; ~= old_minute then
  old_hour = %&lt;hour&gt;
  old_minute = %&lt;minute&gt;
  DoAfterNote (34, "TICK IN 7 SECONDS!") -- 7 seconds warning
end -- if</send>
  </trigger>
</triggers>


[Moderator edit] Added [code] tags, escaped backslashes.
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #16 on Thu 02 Feb 2012 02:29 AM (UTC)
Message
Template:bug

Please provide a summary of your world configuration:

  • Either use the scripting Immediate window (Ctrl+I) to execute: Debug ("summary")

    or

  • Install the Summary plugin (see "Summary" feature) and type "summary"

Then copy the resulting information from the output window, and paste into a Forum message.

You need version 4.55 onwards of MUSHclient to do this.



- Nick Gammon

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

Posted by SchnitzlePuss   (11 posts)  Bio
Date Reply #17 on Thu 02 Feb 2012 03:42 AM (UTC)
Message
[string "Immediate"]:1: unexpected symbol near '<'
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #18 on Thu 02 Feb 2012 05:33 AM (UTC)
Message
What? Recent versions of MUSHclient ship with the plugin, just use File -> Plugins to install it.

- Nick Gammon

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

Posted by SchnitzlePuss   (11 posts)  Bio
Date Reply #19 on Thu 02 Feb 2012 11:32 AM (UTC)
Message
When I do the debug, I get:

Object doesn't support this property or method: 'Debug'
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #20 on Fri 03 Feb 2012 05:34 AM (UTC)
Message
Template:version Please help us by advising the version of MUSHclient you are using. Use the Help menu -> About MUSHclient.

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


48,043 views.

This is page 2, subject is 2 pages long:  [Previous page]  1  2 

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.