Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="iso-8859-1"?>
- <!DOCTYPE muclient>
- <!-- Saved on Saturday, June 30, 2007, 10:14 -->
- <!-- MuClient version 4.13 -->
- <!-- Plugin "Redirect_Input" generated by Plugin Wizard -->
- <muclient>
- <plugin
- name="Redirect_Input"
- author="Nick Gammon"
- id="fefa658aa8caca3cb5e2fa81"
- language="Lua"
- purpose="Redirects commands to another world"
- date_written="2007-06-30 10:08:32"
- requires="4.00"
- version="1.0"
- >
- </plugin>
- <!-- Script -->
- <script>
- <![CDATA[
- world_name = "FS 2"
- function OnPluginCommandEntered (command)
- local w = GetWorld (world_name) -- find world
- -- not found? show error
- if not w then
- ColourNote ("white", "red", "World " .. world_name .. " is not open")
- else
- w:Execute (command) -- execute command (handle aliases, etc.)
- PushCommand (command) -- save in command history
- end -- if
- return ("\t") -- clear command
- end -- OnPluginCommandEntered
- ]]>
- </script>
- </muclient>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement