From ba506331b008dd15169d435182ddde1b351d742e Mon Sep 17 00:00:00 2001 From: div0 Date: Tue, 28 Apr 2009 14:16:12 +0000 Subject: [PATCH] r6607 | esteel | 2009-04-28 16:08:22 +0200 (Tue, 28 Apr 2009) | 2 lines allow easy coloring of the help messages git-svn-id: svn://svn.icculus.org/nexuiz/branches/nexuiz-2.0@6608 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- .patchsets | 2 +- server/help.cfg | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.patchsets b/.patchsets index 63418fd5f..c522db2c6 100644 --- a/.patchsets +++ b/.patchsets @@ -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 diff --git a/server/help.cfg b/server/help.cfg index 785efddc7..4f8ec4d52 100644 --- a/server/help.cfg +++ b/server/help.cfg @@ -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 @@ set help_msg_60 "While you are in the air, release the forward key, press one of 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" -- 2.39.2