Input parsing plugin

Posted by Jor on Sun 01 Feb 2004 07:29 AM — 1 posts, 8,590 views.

#0
I tend to get extremely lazy and don't feel like reaching for my mouse to copy and paste much of anything, so I stuck together a quick plugin to parse some input and stick it back in the input window.

It's intended for use on MUSHes, but it should, theoretically, work much of anywhere.

[code]<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE muclient>
<!-- Saved on Saturday, January 31, 2004, 11:13 PM -->
<!-- MuClient version 3.42 -->

<!-- Plugin "Input" generated by Plugin Wizard -->

<muclient>
<plugin
name="Input"
author="Samuel Phelps"
id="af7e730b277c262c9d8218f4"
language="VBscript"
purpose="Parses some input and sticks the results in your input window."
date_written="2004-01-31 23:12:53"
requires="3.42"
version="1.0"
>

</plugin>

<!-- Triggers -->
<triggers>
<trigger
enabled="y"
expand_variables="y"
match="@InputPass *"
omit_from_output="y"
send_to="1"
sequence="100"
>
<send>%1</send>
</trigger>
</triggers>

<!-- Aliases -->

<aliases>
<alias
match="input *"
enabled="y"
expand_variables="y"
>
<send>@@pemit/silent me=@InputPass %1</send>
</alias>
</aliases>

<!-- Script -->

<script>
<!\[CDATA\[
Sub OnPluginInstall
world.setvariable "InputPass", world.getuniqueid
End Sub

\]\]>
</script>
</muclient>[/code]