[Home] [Downloads] [Search] [Help/forum]

DeleteTemporaryTriggers

Script function

world.DeleteTemporaryTriggers

Read about scripting

Type

Method

Summary

Deletes all temporary triggers

Prototype

long DeleteTemporaryTriggers();

View list of data type meanings

Description

Deletes all triggers marked as "temporary".

The intention here is to provide a quick way of restoring the world to how it would be after loading (since temporary triggers are not loaded from the world file).


Available in MUSHclient version 3.18 onwards.



VBscript example

world.DeleteTemporaryTriggers


Jscript example

world.DeleteTemporaryTriggers ();


PerlScript example

$world->DeleteTemporaryTriggers ();


Python example

world.DeleteTemporaryTriggers 


Lua example

DeleteTemporaryTriggers ()


Return value

Returns a count of the number of triggers deleted.


See Also ...

Topics

Aliases
Default triggers/aliases/timers/macros/colours
Getting started
Groups
Plugins
Regular Expressions
Timers
Triggers

Functions

(AddTrigger) Adds a trigger
(AddTriggerEx) Adds a trigger - extended arguments
(DeleteTemporaryAliases) Deletes all temporary aliases
(DeleteTemporaryTimers) Deletes all temporary timers
(DeleteTrigger) Deletes a trigger
(DeleteTriggerGroup) Deletes a group of triggers
(EnableTrigger) Enables or disables a trigger
(EnableTriggerGroup) Enables/disables a group of triggers
(GetPluginTriggerInfo) Gets details about a named trigger for a specified plugin
(GetPluginTriggerList) Gets the list of triggers in a specified plugin
(GetTrigger) Gets details about a named trigger
(GetTriggerInfo) Gets details about a named trigger
(GetTriggerList) Gets the list of triggers
(GetTriggerOption) Gets the value of a named trigger option
(GetTriggerWildcard) Returns the contents of the specified wildcard for the named trigger
(IsTrigger) Tests to see if a trigger exists
(SetTriggerOption) Sets the value of a named trigger option
(StopEvaluatingTriggers) Stops trigger evaluation

(Help topic: function=DeleteTemporaryTriggers)

Documentation contents page


Search ...

Enter a search string to find matching documentation.

Search for:   

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]