Prechádzať zdrojové kódy

namespaced config ;)

Paul Klumpp 13 rokov pred
rodič
commit
34b049c56c
1 zmenil súbory, kde vykonal 24 pridanie a 0 odobranie
  1. 24 0
      cims_conf.tcl

+ 24 - 0
cims_conf.tcl

@@ -0,0 +1,24 @@
+namespace eval ::cims {
+  
+  ############# CONFIG SECTION ##############
+  ### the real config section is here... 
+  # for xml parsing you need the tclxml package.. and for the tclxml package you need the tcllib for
+  # uri parsing :) 
+
+  # BE SURE TO NOT DEFINE TWO NETS OVERLAPPING THEMSELVES (<mnet sig="xxx"> must be unique!)
+  # mnet_http_config(x) works like this:
+  #			 HOST               DIRECTORY         PORT
+  #lappend mnet_http_config "quadaver.mine.nu" "/qw-serveme/qwnet.cfg" "80"
+  #lappend mnet_http_config "quad.netdome.biz" "/aq2/aq2net.cfg" "80"
+  lappend mnet_http_config "quad.netdome.biz" "/aq2/devnet.cfg" "80"
+  #lappend mnet_http_config "quad.netdome.biz" "/aq2/quadnet.cfg" "80"
+
+  # mnet_local_config(y) just points to a local file (the basepath is the eggdrop-binary-path)
+  #lappend mnet_local_config "./scripts/mnet/anothernet.cfg"
+
+  # at which interval should it re-check for a changed config? 300 recommended (5 hours)
+  # must be at least 90 or 0 for off.
+  set mnet_cfg_reload_interval 300
+  ########## END OF CONFIG SECTION ##############
+
+}