Skip to content
forked from krbz999/doormacro

Door Macro. Apply macro directly to the door. Door Macro. Apply macro directly to the door. Door Macro. Apply macro dire--

License

Notifications You must be signed in to change notification settings

lig76/doormacro

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Interested in following along with development of any of my modules? Join the Discord server.

Door Macro

Apply macro directly to the door.

You can apply a macro to a door. You can trigger this macro when the door is opened, closed, locked, unlocked, hidden, or revealed.

doormacro

Open a door's config and enter the macro editor placed in the header (door icon). If the macro needs to do things only a GM is allowed to do, like toggle lights for example, you can set the macro to be executed as GM. This will cause the macro to find the first active GM available and execute it as them. If not set to be executed as GM, the macro is executed as the user who changed the state of the door.

In addition, there is now WallDocument#callMacro(type="never", options={}), which can be used to execute an arbitrary script embedded on the Door manually. The types are "whenOpened", "whenClosed", "whenLocked", "whenUnlocked", "whenHidden", "whenRevealed", and "never", the last of which is never executed automatically.

About

Door Macro. Apply macro directly to the door. Door Macro. Apply macro directly to the door. Door Macro. Apply macro dire--

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 75.6%
  • Handlebars 18.1%
  • CSS 6.3%