diff -r de6406cd6b25 -r 85f6425a4d74 hedgewars/uConsole.pas --- a/hedgewars/uConsole.pas Tue Feb 09 21:51:52 2010 +0000 +++ b/hedgewars/uConsole.pas Wed Feb 10 00:55:40 2010 +0000 @@ -38,7 +38,7 @@ implementation uses uMisc, uStore, Types, uConsts, uGears, uTeams, uIO, uKeys, uWorld, uLand, - uRandom, uAmmos, uTriggers, uStats, uGame, uChat, SDLh, uSound, uVisualGears; + uRandom, uAmmos, uTriggers, uStats, uGame, uChat, SDLh, uSound, uVisualGears, uScript; const cLineWidth: LongInt = 0; cLinesCount = 256; @@ -305,6 +305,7 @@ RegisterVariable('+cur_r' , vtCommand, @chCurR_p , true ); RegisterVariable('-cur_r' , vtCommand, @chCurR_m , true ); RegisterVariable('flag' , vtCommand, @chFlag , false); + RegisterVariable('script' , vtCommand, @chScript , false); end; procedure free_uConsole;