| Message |
It's a bit hard to get a second world to send everything to the first (main) world without adding *something* to it. The simplest thing is probably this small plugin I wrote a while back for this sort of situation:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE muclient [
<!ENTITY world_name "Aardwolf" >
]>
<!-- Saved on Sunday, June 22, 2008, 11:53 AM -->
<!-- MuClient version 4.29 -->
<!-- Plugin "Send_Input_To_Main_World" generated by Plugin Wizard -->
<muclient>
<plugin
name="Send_Input_To_Main_World"
author="Nick Gammon"
id="703dbfca1548310658c386a2"
language="Lua"
purpose="Redirects typing to the main world"
date_written="2008-06-22 11:02:24"
requires="4.29"
version="1.0"
>
</plugin>
<!-- Aliases -->
<aliases>
<alias
match="*"
enabled="y"
send_to="12"
sequence="100"
>
<send>
require "getworld"
w = get_a_world ("&world_name;")
if w:GetWorldID () == GetWorldID () then
ColourNote ("white", "red",
"Cannot use Send_Input_To_Main_World plugin on main world")
EnablePlugin (GetPluginID (), false)
return
end -- if
if w then
w:Execute [====[%1]====]
w:Activate ()
end -- if world exists
</send>
</alias>
</aliases>
</muclient>
Change the world_name in the 3rd line to match your world (well it looks like it is Aardwolf anyway, so no changes required).
Now with this plugin installed in your hyperlink window, the hyperlinks will send to the secondary world, the alias will match, and redirect the input to your main world.
I used something like this to make a world full of hyperlinks myself. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | top |
|