r5526 - trunk/Docs/server

esteel at icculus.org esteel at icculus.org
Wed Jan 14 09:49:38 EST 2009


Author: esteel
Date: 2009-01-14 09:49:38 -0500 (Wed, 14 Jan 2009)
New Revision: 5526

Modified:
   trunk/Docs/server/help.cfg
Log:
small change to the help script


Modified: trunk/Docs/server/help.cfg
===================================================================
--- trunk/Docs/server/help.cfg	2009-01-14 14:25:47 UTC (rev 5525)
+++ trunk/Docs/server/help.cfg	2009-01-14 14:49:38 UTC (rev 5526)
@@ -1,15 +1,18 @@
 // simple help message system
 // it prints messages at a given interval to all connected users
 
-// adjust those two variables to your liking, adjust the messages and their count below and start with help_loop
+// adjust those two variables to your liking, set the messages and their count below and start with help_loop
 set help_cfg_nick "Help System"
 set help_cfg_time 300
+
+// help_inc switches to the next nessage, help_doit will print the current message, help_next will do both together
 alias help_say "set help_tmp_oldnick \"$sv_adminnick\"; set sv_adminnick \"$help_cfg_nick\"; say \"$*\"; help_say2"
 alias help_say2 "set sv_adminnick \"$help_tmp_oldnick\""
 alias help_doit "sv_cmd rpn /help_tmp_msg help_msg_$help_tmp_index def; help_doit2"
 alias help_doit2 "help_say \"$help_tmp_msg\""
-alias help_next "sv_cmd rpn /help_tmp_index help_tmp_index 1 add $help_msg_count mod def"
-alias help_loop "help_next; help_doit; defer $help_cfg_time help_loop"
+alias help_inc "sv_cmd rpn /help_tmp_index help_tmp_index 1 add $help_msg_count mod def"
+alias help_next "help_inc; help_doit"
+alias help_loop "help_next; defer $help_cfg_time help_loop"
 
 // actual help messages
 set help_msg_count 61




More information about the nexuiz-commits mailing list