fiendish / aardwolfclientpackage

Get the Aardwolf MUSHclient Package installer at
https://fiendish.github.io/aardwolfclientpackage/
Other
86 stars 33 forks source link

aard_GMCP_mapper. - silent option for fullcexit #330

Open piotrpatrzylas opened 3 months ago

piotrpatrzylas commented 3 months ago

Related to "custom_fullexit":

1 - Change alias pattern: <alias match="^mapper fullcexit {(?.+)} (?\S+) (?\S+)(? \d+)?(? silent)?$" enabled="y" sequence="100" script="custom_fullexit" regexp="y"

  1. Modify script - add line somewhere at the beginning: local silent = Trim(wildcards.silent) or ""

  2. Modify script - simply wrap previous world.Note with if condition: if silent ~= "silent" then world.Note (string.format("Custom Exit CONFIRMED: %s (%s) -> %s [lock level %s]", cexit_start, cexit_command, cexit_dest, cexit_level)) end

  3. Also update help for this plugin - mapper help exits.

fiendish commented 2 months ago

I don't suppose you want to make a pull request for this, do you?

piotrpatrzylas commented 1 week ago

Please have a look for the file I'm using: aard_GMCP_mapper.xml.zip

piotrpatrzylas commented 1 week ago

Not sure why but after updating Mush recently GMCP mapper could not save state - every time I started Mush miniwindow was hidden. I have edited in the above file also last part of the script with window_hidden = false , but most likely problem is with my setup.