<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE muclient>
<!-- Saved on Friday, October 17, 2003, 8:48 PM -->
<!-- MuClient version 3.42 -->

<!-- Plugin "Rename" generated by Plugin Wizard -->

<muclient>
<plugin
   name="GrabName"
   author="Malix@8bitMUSH"
   id="edc201432e0cc2ef2e481a2b"
   language="VBscript"
   purpose="Grabs the name of an object for editing."
   date_written="2003-10-17 20:47:13"
   requires="3.42"
   version="1.0"
   >
<description trim="y">
<![CDATA[
This lets you edit the name of a MUSH object in the command window, and then send it back to the MUSH.

Usage
-----


grabname item

  eg.  grabname north


The plugin will send:  @pemit/silent me=password @name %1=[fullname(%1)]

It awaits a response, and then upon receipt places it into the command window for editing. Make your changes and press <enter>

GrabName: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"
   other_text_colour="black"
   other_back_colour="black"
  >
  <send>%1</send>
  </trigger>
</triggers>

<!--  Aliases  -->

<aliases>
  <alias
   match="grabname *"
   enabled="y"
   echo_alias="y"
   expand_variables="y"
   omit_from_output="y"
   sequence="100"
  >
  <send>@@pemit/silent ME=@password @@name [num(%1)]=[fullname(%1)]</send>
  </alias>
</aliases>

<!--  Script  -->

<script>
<![CDATA[
Sub OnPluginInstall
  World.SetVariable "password", World.GetUniqueId
End Sub

Sub OnHelp
  World.Note World.GetPluginInfo(World.GetPluginID, 3)
End Sub

]]>
</script>


</muclient>
