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 ➜ Suggestions ➜ enable/disable triggers/aliases by group

enable/disable triggers/aliases by group

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


Posted by Unia   (10 posts)  Bio
Date Tue 29 Apr 2003 05:57 AM (UTC)
Message
Is there any way to enable/disable triggers/aliases by group?
I also want I can creat a NEW timer, which means I don't need to indicate a name, mush client give a random name and return it, this will help make delay scritp can be nested easily.
Top

Posted by Nick Gammon   Australia  (23,165 posts)  Bio   Forum Administrator
Date Reply #1 on Tue 29 Apr 2003 06:35 AM (UTC)

Amended on Tue 29 Apr 2003 06:37 AM (UTC) by Nick Gammon

Message

Yes, see EnableAliasGroup, EnableTriggerGroup, EnableTimerGroup, EnableGroup.

You can make a timer easily with DoAfter or its variants (eg. DoAfterSpecial).


- Nick Gammon

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

Posted by Nick Gammon   Australia  (23,165 posts)  Bio   Forum Administrator
Date Reply #2 on Tue 29 Apr 2003 06:39 AM (UTC)
Message
Another approach for timers is to generate a unique label with GetUniqueID (put a "T" in front of it to make sure it starts with a letter), and use that as a label. Generated labels like this will always be unique, and you have the advantage that you know what it is (if you need to know that). Or, if that is overkill, use GetUniqueNumber which just gives you a unique number for that MUSHclient session, and put a letter in front of it.

If you don't care about the label, just add a timer with an empty label.

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


14,020 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.