Semtex
03-07-2012, 12:03 AM
Hey folks, i got some questions i would love to get an answer to.
atm i'm trying to write a script that mines coal ore's south of draynor's village.
I followed Kyle Defined's guide to scripting and changed some of it, but i was wandering what the following parts actually do
This at the top of the script, what does the {$IFDEF SMART} and {$ENDIF} actually do?
{$IFDEF SMART}
{$i srl/srl/misc/paintsmart.simba}
{$ENDIF}
Its also at the bottom
begin
{$IFDEF SMART}
Smart_Server := 0;
Smart_Members := True;
Smart_Signed := True;
Smart_SuperDetail := False;
{$ENDIF}
SetupSRL();
ClearDebug();
DeclarePlayers();
LoginPlayer();
MainLoop();
end.
mostly in other scripts its different, then its more like this
begin
Smart_Server := 0;
Smart_Members := True;
Smart_Signed := True;
Smart_SuperDetail := False;
SetupSRL();
ClearDebug();
DeclarePlayers();
LoginPlayer();
MainLoop();
Best regards Semtex
atm i'm trying to write a script that mines coal ore's south of draynor's village.
I followed Kyle Defined's guide to scripting and changed some of it, but i was wandering what the following parts actually do
This at the top of the script, what does the {$IFDEF SMART} and {$ENDIF} actually do?
{$IFDEF SMART}
{$i srl/srl/misc/paintsmart.simba}
{$ENDIF}
Its also at the bottom
begin
{$IFDEF SMART}
Smart_Server := 0;
Smart_Members := True;
Smart_Signed := True;
Smart_SuperDetail := False;
{$ENDIF}
SetupSRL();
ClearDebug();
DeclarePlayers();
LoginPlayer();
MainLoop();
end.
mostly in other scripts its different, then its more like this
begin
Smart_Server := 0;
Smart_Members := True;
Smart_Signed := True;
Smart_SuperDetail := False;
SetupSRL();
ClearDebug();
DeclarePlayers();
LoginPlayer();
MainLoop();
Best regards Semtex