Hitman69

FS_RuP_keepalive

Mar 17th, 2016
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.66 KB | None | 0 0
  1. <?xml version="1.0" encoding="iso-8859-1"?>
  2. <!DOCTYPE muclient>
  3. <!-- Saved on zondag, januari 05, 2014, 7:35  -->
  4. <!-- MuClient version 4.81 -->
  5.  
  6. <!-- Plugin "FS_Rusted_KeepAlive" generated by Plugin Wizard -->
  7.  
  8. <muclient>
  9. <plugin
  10.   name="FS_Rusted_KeepAlive"
  11.   id="f856ce0dba120cdb53c8b499"
  12.   language="Lua"
  13.   purpose="A keepalive script for both Flexible Survival and Rusted."
  14.   save_state="y"
  15.   date_written="2014-01-05 19:33:18"
  16.   requires="4.81"
  17.   version="1.0"
  18.   >
  19. <description trim="y">
  20. <![CDATA[
  21. 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.
  22. ]]>
  23. </description>
  24.  
  25. </plugin>
  26.  
  27.  
  28. <!--  Get our standard constants -->
  29.  
  30. <include name="constants.lua"/>
  31.  
  32. <!--  Triggers  -->
  33.  
  34. <triggers>
  35.   <trigger
  36.   enabled="y"
  37.   match="nop"
  38.   omit_from_log="y"
  39.   omit_from_output="y"
  40.   sequence="100"
  41.  >
  42.   </trigger>
  43. </triggers>
  44.  
  45. <!--  Timers  -->
  46.  
  47. <timers>
  48.   <timer enabled="y" minute="1" second="0.00" offset_second="0.00"    send_to="12"
  49. active_closed="y" >
  50.   <send>if (GetInfo(227) == 0) then
  51. &#9;Note ("Connection is lost. Reconnnecting.")
  52. &#9;Connect()
  53. end</send>
  54.  
  55.   </timer>
  56.   <timer enabled="y" minute="5" second="0.00" offset_second="0.00" omit_from_output="y" omit_from_log="y" >
  57.   <send>nop</send>
  58.  
  59.   </timer>
  60. </timers>
  61.  
  62. <!--  Plugin help  -->
  63.  
  64. <aliases>
  65.   <alias
  66.   script="OnHelp"
  67.   match="FS_Rusted_KeepAlive:help"
  68.   enabled="y"
  69.  >
  70.   </alias>
  71. </aliases>
  72.  
  73. <script>
  74. <![CDATA[
  75. function OnHelp ()
  76.  world.Note (world.GetPluginInfo (world.GetPluginID (), 3))
  77. end
  78. ]]>
  79. </script>
  80.  
  81. </muclient>
Add Comment
Please, Sign In to add comment