<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE muclient>
<!-- Saved on Thursday, August 7th 2003, 7:19 AM -->
<!-- MuClient version 3.42 -->

<!-- Plugin "Edit" generated by Plugin Wizard -->

<!--
The plugin generates a new password every time it is installed.
-->

<muclient>
<plugin
   name="Editor"
   author="Nick Gammon"
   id="95b8e918f472cf956d025af1"
   language="VBscript"
   purpose="Edits a MUSH attribute in the notepad"
   date_written="2003-08-07"
   requires="3.35"
   version="1.0"
   >
<description trim="y">
<![CDATA[
This lets you edit a MUSH attribute in a notepad window, and then send it back to the MUSH.

Usage
-----


edit item/attribute

  eg.  edit 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 a notepad window for editing. Make your changes and press Shift+Ctrl+S.

Edit:help  <-- This help screen

]]>
</description>

</plugin>


<!--  Triggers  -->

<triggers>
  <trigger
   enabled="y"
   expand_variables="y"
   match="@password *"
   omit_from_output="y"
   name="attribute_editor"
   send_to="4"
   sequence="100"
  >
  <send>%1</send>
  </trigger>
</triggers>

<!--  Aliases  -->

<aliases>
  <alias
   match="edit */*"
   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="Edit:help"
   enabled="y"
  >
  </alias>
</aliases>

<script>
<![CDATA[
Sub OnHelp (sName, sLine, wildcards)
  World.Note World.GetPluginInfo (World.GetPluginID, 3)
End Sub
]]>
</script> 

</muclient>
