diff -r fd91aa100ce0 -r efc75c2d3be9 hedgewars/uCommandHandlers.pas --- a/hedgewars/uCommandHandlers.pas Fri Jul 20 18:48:04 2012 -0400 +++ b/hedgewars/uCommandHandlers.pas Thu Aug 30 12:13:24 2012 -0400 @@ -783,6 +783,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 @@ -866,6 +871,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;