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 ➜ On Triggers Disabling Timers

On Triggers Disabling Timers

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


Posted by Marduk   (1 post)  Bio
Date Mon 05 Feb 2007 06:02 AM (UTC)
Message
This is an amateur question, I know it.

Is there a way to create a trigger that will disable, or uncheck if you will, an active timer?

For the sake of simplicity say I have a timer set to 'save' every thirty seconds, and I want it to stop saving when I see a certain room description.

Better yet, is there a guide anywhere to writing triggers and scripts for MUSHclient, that is a wee bit more dumbed-down than the help files?
Top

Posted by Shaun Biggs   USA  (644 posts)  Bio
Date Reply #1 on Mon 05 Feb 2007 09:39 AM (UTC)
Message
http://www.gammon.com.au/scripts/function.php?name=EnableTimer

You need to send it to script, and it will vary depending on what language you are using, but it shouldn't be terribly hard to figure out. Just name your timer, and you should be good to go.

And as for everything else... http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=6030 is a great set of posts by Nick showing the basics of scripting. There are also links on there for other relevant topics.

The "search" button on the top of the screen is a great tool. You sometimes have to filter through some irrelevant posts, but it's more than likely that someone has asked your question before and it's been answered.

It is much easier to fight for one's ideals than to live up to them.
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.


8,578 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.