]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - data/rbot/plugins/hl2.rb
*** (httputil) major rework, new caching implementation, unified request
[user/henk/code/ruby/rbot.git] / data / rbot / plugins / hl2.rb
index e0623433271617adf805afb742c67dc747e36fef..152afdb943f31c573fafbe2627a0644c83b12eb3 100644 (file)
@@ -1,16 +1,21 @@
-# Plugin for the Ruby IRC bot (http://linuxbrit.co.uk/rbot/)\r
+#-- vim:sw=2:et\r
+#++\r
+#\r
+# :title: Half-Life 2 plugin for rbot\r
+#\r
+# Author:: Ole Christian Rynning <oc@rynning.no>\r
+# Copyright:: (C) 2006 Ole Christian Rynning\r
+# License:: GPL v2\r
 #\r
 # Simple Half-Life 2 (Source Engine) plugin to query online\r
 # servers to see if its online and kicking and how many users.\r
 #\r
 # Added 2 seconds timeout to the response. And sockets are now\r
 # closing properly.\r
-#\r
-# (c) 2006 Ole Christian Rynning <oc@rynning.no>\r
-# Licensed under GPL V2.\r
 \r
 require 'socket'\r
 require 'timeout'\r
+\r
 class HL2Plugin < Plugin\r
 \r
   A2S_INFO = "\xFF\xFF\xFF\xFF\x54\x53\x6F\x75\x72\x63\x65\x20\x45\x6E\x67\x69\x6E\x65\x20\x51\x75\x65\x72\x79\x00"\r
@@ -50,6 +55,7 @@ class HL2Plugin < Plugin
   end\r
 \r
 end\r
+\r
 plugin = HL2Plugin.new\r
 plugin.map 'hl2 :conn_str'\r
 \r