This repository has been archived by the owner on Mar 14, 2021. It is now read-only.
forked from nickgammon/plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGrab.xml
109 lines (82 loc) · 1.73 KB
/
Grab.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE muclient>
<!-- Saved on Friday, November 15, 2002, 8:52 AM -->
<!-- MuClient version 3.30 -->
<!-- Plugin "Grab" generated by Plugin Wizard -->
<!--
The plugin generates a new password every time it is installed.
-->
<muclient>
<plugin
name="Grab"
author="Nick Gammon"
id="bc84b8aa0ece2536bbe631f9"
language="VBscript"
purpose="Grabs a MUSH attribute for editing"
date_written="2002-11-15 08:49:09"
requires="3.25"
version="1.0"
>
<description trim="y">
<![CDATA[
This lets you edit a MUSH attribute in the command window, and then send it back to the MUSH.
Usage
-----
grab item/attribute
eg. grab me/describe
The plugin will send: @pemit/silent me=password &%2 %1=[get(%1/%2)]
It awaits a response, and then upon receipt places it into the command window
for editing. Make your changes and press <enter>
Grab:help <-- This help screen
]]>
</description>
</plugin>
<!-- Triggers -->
<triggers>
<trigger
enabled="y"
expand_variables="y"
match="@password *"
omit_from_output="y"
send_to="1"
sequence="100"
>
<send>%1</send>
</trigger>
</triggers>
<!-- Aliases -->
<aliases>
<alias
match="grab */*"
enabled="y"
expand_variables="y"
>
<send>@@pemit/silent me=@password &%2 %1=[get(%1/%2)]
</send>
</alias>
</aliases>
<!-- Script -->
<script>
<![CDATA[
Sub OnPluginInstall
world.setvariable "password", world.getuniqueid
End Sub
]]>
</script>
<!-- Plugin help -->
<aliases>
<alias
script="OnHelp"
match="Grab:help"
enabled="y"
>
</alias>
</aliases>
<script>
<![CDATA[
Sub OnHelp (sName, sLine, wildcards)
World.Note World.GetPluginInfo (World.GetPluginID, 3)
End Sub
]]>
</script>
</muclient>