Dusk412
2007-12-26 18:26:21
Hey If people who aren't even Junior Members can see this someone tell me so I can move it lol. This is a very basic concept and if anyone knows anything about scripting they could get past it. Luckily the very people this is meant to keep out probably don't know how. If you are sick of people using your script without putting in a SRL Stats ID or Pass I recommend putting something like this in. I believe it MUST be the main loop, put this bit of code:
(BTW these " are really two single ' put next to each other for a String :D)
Anyways it works nicely for me so just test out until you get it in the right spot. Its gotta be after you declare the SRLID and Password and setupsrl and stuff I think. Just play around with it. Then come back here and post!!!
(BTW these " are really two single ' put next to each other for a String :D)
if (SRLID = '') or (SRLPassword = '') then
begin
writeln('You Need A SRL Stats ID and Password!')
writeln('If You Do Not Have One Then Go Here:')
writeln('http://www.stats.srl-forums.com/index.php?action=register')
Exit;
end;Anyways it works nicely for me so just test out until you get it in the right spot. Its gotta be after you declare the SRLID and Password and setupsrl and stuff I think. Just play around with it. Then come back here and post!!!