<?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 &amp;%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>
