[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]  General
. . -> [Subject]  Tick Timer Trouble
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Tick Timer Trouble

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


Pages: 1  2 

Posted by SchnitzlePuss   (11 posts)  [Biography] bio
Date Reply #15 on Wed 01 Feb 2012 09:34 PM (UTC)  quote  ]

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.
[Go to top] top

Posted by Nick Gammon   Australia  (19,190 posts)  [Biography] bio   Forum Administrator
Date Reply #16 on Thu 02 Feb 2012 02:29 AM (UTC)  quote  ]
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
[Go to top] top

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

Posted by Nick Gammon   Australia  (19,190 posts)  [Biography] bio   Forum Administrator
Date Reply #18 on Thu 02 Feb 2012 05:33 AM (UTC)  quote  ]
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
[Go to top] top

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

Object doesn't support this property or method: 'Debug'
[Go to top] top

Posted by Nick Gammon   Australia  (19,190 posts)  [Biography] bio   Forum Administrator
Date Reply #20 on Fri 03 Feb 2012 05:34 AM (UTC)  quote  ]
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
[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.


2,736 views.

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

[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]