SHOW:
|
|
- or go back to the newest paste.
1 | <?xml version="1.0" encoding="UTF-8"?> | |
2 | <!DOCTYPE MudletPackage> | |
3 | <MudletPackage version="1.0"> | |
4 | <TriggerPackage> | |
5 | <Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="yes" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no"> | |
6 | <name>Map capture</name> | |
7 | <script>--Since a new map starts, you probable want to clear your miniconsole. Use the following to do so (remove the -- to activate) | |
8 | --clearWindow("mapper") | |
9 | ||
10 | --Remember, if you made your miniconsole using geyser use the NAME not the VARIABLE for the console. | |
11 | --For example: something = Geyser.MiniConsole:new({name = "mapper"}) would create a miniconsole with the variable "something" and the name "mapper", so use "mapper" to clear it</script> | |
12 | <triggerType>0</triggerType> | |
13 | <conditonLineDelta>0</conditonLineDelta> | |
14 | <mStayOpen>99</mStayOpen> | |
15 | <mCommand></mCommand> | |
16 | <packageName></packageName> | |
17 | <mFgColor>#ff0000</mFgColor> | |
18 | <mBgColor>#ffff00</mBgColor> | |
19 | <mSoundFile></mSoundFile> | |
20 | <colorTriggerFgColor>#000000</colorTriggerFgColor> | |
21 | <colorTriggerBgColor>#000000</colorTriggerBgColor> | |
22 | <regexCodeList> | |
23 | <string>-</string> | |
24 | <string>^\-+(?: Area \d+: (?:\w+ )+\-+) v\d+ \-+$</string> | |
25 | </regexCodeList> | |
26 | <regexCodePropertyList> | |
27 | <integer>2</integer> | |
28 | <integer>1</integer> | |
29 | </regexCodePropertyList> | |
30 | <Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no"> | |
31 | <name>map line</name> | |
32 | <script>--to echo the map to a geyser window, remove the "--" in front of the next line and change "mapper" to the variable of the window | |
33 | --mapper:echo(line) | |
34 | ||
35 | --As a reminder, the variable for the window created in the following example would be mapper: | |
36 | --mapper = Geyser.MiniConsole:new({name = "mapper or not"}) | |
37 | ||
38 | --alternately, if you made your window by using createMiniConsole, use this line: | |
39 | --echo("mapper",line) | |
40 | ||
41 | --finally, if you want to remove the map from the main window uncomment the following line: | |
42 | - | --deleteLine()</script> |
42 | + | --deleteLine() |
43 | echo("boing")</script> | |
44 | <triggerType>0</triggerType> | |
45 | <conditonLineDelta>0</conditonLineDelta> | |
46 | <mStayOpen>0</mStayOpen> | |
47 | <mCommand></mCommand> | |
48 | <packageName></packageName> | |
49 | <mFgColor>#ff0000</mFgColor> | |
50 | <mBgColor>#ffff00</mBgColor> | |
51 | <mSoundFile></mSoundFile> | |
52 | <colorTriggerFgColor>#000000</colorTriggerFgColor> | |
53 | <colorTriggerBgColor>#000000</colorTriggerBgColor> | |
54 | <regexCodeList> | |
55 | <string>return true</string> | |
56 | </regexCodeList> | |
57 | <regexCodePropertyList> | |
58 | <integer>4</integer> | |
59 | </regexCodePropertyList> | |
60 | </Trigger> | |
61 | <Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no"> | |
62 | <name>Map capture end</name> | |
63 | <script>setTriggerStayOpen("Map capture",0)</script> | |
64 | <triggerType>0</triggerType> | |
65 | <conditonLineDelta>0</conditonLineDelta> | |
66 | <mStayOpen>0</mStayOpen> | |
67 | <mCommand></mCommand> | |
68 | <packageName></packageName> | |
69 | <mFgColor>#ff0000</mFgColor> | |
70 | <mBgColor>#ffff00</mBgColor> | |
71 | <mSoundFile></mSoundFile> | |
72 | <colorTriggerFgColor>#000000</colorTriggerFgColor> | |
73 | <colorTriggerBgColor>#000000</colorTriggerBgColor> | |
74 | - | <string>^\-+ \-?\d+:\-?\d+:\-?\d+ \-+$</string> |
74 | + | |
75 | <string>^\-+(?: (?:\w+ )+\-+) \-?\d+:\-?\d+:\-?\d+ \-+$</string> | |
76 | <string>return isPrompt()</string> | |
77 | </regexCodeList> | |
78 | <regexCodePropertyList> | |
79 | <integer>1</integer> | |
80 | <integer>4</integer> | |
81 | </regexCodePropertyList> | |
82 | </Trigger> | |
83 | </Trigger> | |
84 | </TriggerPackage> | |
85 | </MudletPackage> |