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 zondag, januari 05, 2014, 7:35 -->
- <!-- MuClient version 4.81 -->
- <!-- Plugin "FS_Rusted_KeepAlive" generated by Plugin Wizard -->
- <muclient>
- <plugin
- name="FS_Rusted_KeepAlive"
- id="f856ce0dba120cdb53c8b499"
- language="Lua"
- purpose="A keepalive script for both Flexible Survival and Rusted."
- save_state="y"
- date_written="2014-01-05 19:33:18"
- requires="4.81"
- version="1.0"
- >
- <description trim="y">
- <![CDATA[
- This plugin will keep the connection to FS and/or Rusted open after being installed, and will automaticaly check if you're still connected once every fifteen minutes.
- ]]>
- </description>
- </plugin>
- <!-- Get our standard constants -->
- <include name="constants.lua"/>
- <!-- Triggers -->
- <triggers>
- <trigger
- enabled="y"
- match="nop"
- omit_from_log="y"
- omit_from_output="y"
- sequence="100"
- >
- </trigger>
- </triggers>
- <!-- Timers -->
- <timers>
- <timer enabled="y" minute="1" second="0.00" offset_second="0.00" send_to="12"
- active_closed="y" >
- <send>if (GetInfo(227) == 0) then
- 	Note ("Connection is lost. Reconnnecting.")
- 	Connect()
- end</send>
- </timer>
- <timer enabled="y" minute="5" second="0.00" offset_second="0.00" omit_from_output="y" omit_from_log="y" >
- <send>nop</send>
- </timer>
- </timers>
- <!-- Plugin help -->
- <aliases>
- <alias
- script="OnHelp"
- match="FS_Rusted_KeepAlive:help"
- enabled="y"
- >
- </alias>
- </aliases>
- <script>
- <![CDATA[
- function OnHelp ()
- world.Note (world.GetPluginInfo (world.GetPluginID (), 3))
- end
- ]]>
- </script>
- </muclient>
Add Comment
Please, Sign In to add comment