diff -r f329fbf1ffb4 -r dc17ffdf0702 hedgewars/uCommandHandlers.pas --- a/hedgewars/uCommandHandlers.pas Fri Jun 08 19:25:40 2012 +0200 +++ b/hedgewars/uCommandHandlers.pas Mon Jun 25 10:46:48 2012 +0300 @@ -781,6 +781,11 @@ fastUntilLag:= StrToInt(s) <> 0 end; +procedure chCampVar(var s:shortstring); +begin + CampaignVariable := s; +end; + procedure initModule; begin //////// Begin top sorted by freq analysis not including chatmsg @@ -864,6 +869,7 @@ RegisterVariable('-cur_l' , @chCurL_m , true ); RegisterVariable('+cur_r' , @chCurR_p , true ); RegisterVariable('-cur_r' , @chCurR_m , true ); + RegisterVariable('campvar' , @chCampVar , true ); end; procedure freeModule;