Simba Code:
(*
SetAudioOff
~~~~~~~~~~~
.. code-block:: pascal
function SetAudioOff(): boolean;
Turns offs the music on the login screen.
Should default turn off, upon loading old school RS.
.. note::
by Ashaman88/Le Jingle
Example:
.. code-block:: pascal
SetAudioOff;
*)
function SetAudioOff(): boolean;
var
c : integer;
begin
c := CountColor(65536, 725, 463, 760, 498);
// 346 = Turned Off Already
// 284 = Turned On...
result := inrange(c, 340, 350);
if result then
exit
else
Mouse(742, 481, 10, 10, mouse_left);
end;
Just call
after you have