phantombmx
2006-04-25 16:25:11
for gametab 11..
{*******************************************************************************
procedure Brightness(Intensity : String);
By: phantombmx
Description: Used to set the Screen Brightness to anything. Use the first
letter of the brightness as an argument.
*******************************************************************************}
procedure Brightness(Intensity : String);
begin
GameTab(11)
case Lowercase(Intensity) of
'd' : if(not(GetColor(577, 254)=1908611))then
Mouse(562, 254, 20, 20, true)
'n' : if(not(GetColor(607, 254)=1908611))then
Mouse(607, 254, 20, 20, true)
'b' : if(not(GetColor(653, 254)=1908611))then
Mouse(653, 254, 20, 20, true)
'v' : if(not(GetColor(697, 254)=1908611))then
Mouse(697, 254, 20, 20, true)
end;
GameTab(4)
end;