[nexuiz-commits] r6608 - in branches/nexuiz-2.0: . server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Tue Apr 28 10:16:23 EDT 2009
Author: div0
Date: 2009-04-28 10:16:12 -0400 (Tue, 28 Apr 2009)
New Revision: 6608
Modified:
branches/nexuiz-2.0/.patchsets
branches/nexuiz-2.0/server/help.cfg
Log:
r6607 | esteel | 2009-04-28 16:08:22 +0200 (Tue, 28 Apr 2009) | 2 lines
allow easy coloring of the help messages
Modified: branches/nexuiz-2.0/.patchsets
===================================================================
--- branches/nexuiz-2.0/.patchsets 2009-04-28 14:08:22 UTC (rev 6607)
+++ branches/nexuiz-2.0/.patchsets 2009-04-28 14:16:12 UTC (rev 6608)
@@ -1,2 +1,2 @@
master = svn://svn.icculus.org/nexuiz/trunk
-revisions_applied = 1-6536,6541-6549,6552-6567,6572-6572,6577-6577,6580-6582,6585-6587,6592-6593,6598-6598,6603-6604
+revisions_applied = 1-6536,6541-6549,6552-6567,6572-6572,6577-6577,6580-6582,6585-6587,6592-6593,6598-6598,6603-6604,6607-6607
Modified: branches/nexuiz-2.0/server/help.cfg
===================================================================
--- branches/nexuiz-2.0/server/help.cfg 2009-04-28 14:08:22 UTC (rev 6607)
+++ branches/nexuiz-2.0/server/help.cfg 2009-04-28 14:16:12 UTC (rev 6608)
@@ -3,6 +3,7 @@
// Exec this file and start the help system with the command help_loop
// You can adjust those two settings and change the messages and their count
// help_cfg_time is the time between two messages in seconds
+// help_cfg_prefix is prepended to each message, useful to color the nick and message differently
// help_msg_count is from 0 to last message, thus one more then the last message number you want
// the messages need to be starting from 0 and be consecutive
// for manual use: help_inc switches to the next message, help_doit will print the current message, help_next will do both together
@@ -10,6 +11,7 @@
// settings
set help_cfg_nick "^2Help System"
set help_cfg_time 300
+set help_cfg_prefix "^2"
// help messages
set help_msg_count 61
@@ -79,7 +81,7 @@
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_doit2 "help_say \"$help_cfg_prefix$help_tmp_msg\""
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"
More information about the nexuiz-commits
mailing list