Most people use:
SCAR Code:if SRLUser='' then
begin
blah;
end
if SRLPass='' then
begain
blah;
end
Instead, you can use the following:
SCAR Code:if ((not length(YourSRLID) = 4) or (YourSRLPW = '')) then
begin
blah;
end
Most people use:
SCAR Code:if SRLUser='' then
begin
blah;
end
if SRLPass='' then
begain
blah;
end
Instead, you can use the following:
SCAR Code:if ((not length(YourSRLID) = 4) or (YourSRLPW = '')) then
begin
blah;
end
my srl id is 30 ... so it wouldnt work...
SCAR Code:If(Not Length(ID) > 0)Then
Code:
- Narcle: I recall Jukka releasing a bunch of scripts like this before... Its how he rolls I think. rofl
- Solarwind: Dude, you are like... t3h s3x.
- Hy71194: JuKKa you're a machine! You released 3 scripts in 10 minutes! :O
- benjaa: woah.... Jukka is the man Guildminer pwns all
- NaumanAkhlaQ: And JuKKa Is my Her0!
if((Length(SRLID)>0)and(Length(SRLPASS)>0))then
SCAR Code:if (SRLID <> '') and (SRLPW <> '') then
It doesn't really matter.
The SRL Rules themself say that we do not terminate the script or preform some other anti-leech precedures if the SRL stats id and/or password is missing.
And, for the record, I used to use this before:
SCAR Code:if (SRLID = '') or (SRLPW = '') then
Simple ting.
If that resulted true, the user would simply get a warning and a link in the debug box to register at. The script would then continue normally without any delay. (If you don't count the milliseconds it takes to write those lines in the debug.)
Scripts: Varrock Smither! | Fight Caves Runner! | Kebab Buyer! | L.A.M.E. (Outdated)
Tutorials: SRL user-defined procedures | JaGex UID files | Printing your scripts
Applications: StartUp Notepad | SCAR Assistant
Misc: FREE Delphi 7 v2 | Official SRL Graphics
Aren't we allowed to put delays in?
Just not termination?
Writing an SRL Member Application | [Updated] Pascal Scripting Statements
My GitHub
Progress Report:13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you have serious physchological problems 13:46 <@BenLand100> HE GETS IT! 13:46 <@BenLand100> HE FINALLY GETS IT!!!!1
There are currently 1 users browsing this thread. (0 members and 1 guests)