]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - server/help.cfg
Fix an error when using help_loop
[xonotic/xonotic.git] / server / help.cfg
index 605647f3dccd2342493248e201801a30a2eef959..f02f020622a0f0f3dccc963d1b17f6d7336aa332 100644 (file)
@@ -9,14 +9,14 @@
 // for manual use: help_inc switches to the next message, help_doit will print the current message, help_next will do both together
 
 // settings
-set help_cfg_nick "^2Help System"
+set help_cfg_nick "^2Help System^3"
 set help_cfg_time 300
 set help_cfg_prefix "^2"
 
 // help messages
 set help_msg_count 58
 set help_msg_0 "Big Admin is watching you, so please be friendly or feel their almighty ban-hammer!"
-set help_msg_1 "If you want to learn more about Xonotic read "Halogene's Newbie Corner" (http://xonotic.org and click 'Guide') as it contains lots of useful tips and tricks, explains all the weapons and helps to improve your gameplay."
+set help_msg_1 "If you want to learn more about Xonotic read 'Halogene's Newbie Corner' (http://xonotic.org and click 'Guide') as it contains lots of useful tips and tricks, explains all the weapons and helps to improve your gameplay."
 set help_msg_2 "Please watch out for balanced teams and change by pressing F5 (teammenu) or F6 (auto join 'best' team)."
 set help_msg_3 "When trying to bunny-hop you can hold the jump button while you are still in the air, this will make those jumps VERY easy to time and work more reliable."
 set help_msg_4 "When a vote is called you can accept it via F1 or reject it via F2 (default keys)."
@@ -75,10 +75,11 @@ set help_msg_56 "While you are in the air, release the forward key, press one of
 set help_msg 57 "Hold the jump key to keep on jumping (called 'bunny-hopping') which will accelerate your speed."
 
 // aliases making up the actual helpsystem
+set help_tmp_index 0
 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_cfg_prefix$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"
+alias help_loop "help_next; defer $help_cfg_time help_loop"
\ No newline at end of file