Make it where when they click "No" it wont show the dialog anymore.
This is for Per-Script:
Simba Code:
procedure SetupSRLStats(ScriptID: integer; UserName, UserPass: string);
begin
stats_Timer := GetSystemTime;
stats_ScriptID := IntToStr(ScriptID);
stats_Username := LowerCase(UserName);
stats_UserPass := UserPass;
stats_RandNames := ['leo the gravedigger', 'freaky forester', 'maze',
'prison pete', 'evil bob''s island', 'drill demon',
'quiz', 'surprise exam', 'mollys evil twin', 'pinball',
'sandwich lady', 'bee keeper', 'pillory', 'capn arnav',
'abyssal teleport', 'certer', 'mime', 'frog', 'trade',
'mod', 'fight', 'lamp', 'bird nest', 'death'];
SetArrayLength(stats_RandSolved, Length(stats_RandNames));
if (((stats_UserPass = '') and (stats_UserName = '')) and (StrToBoolDef(GetSettingValueDef('StatsDialog', 'true'), True))) then
case MessageDlg('No Stats account entered, would you like to set one up?', 'SRL Stats', mtConfirmation, [mbYes, mbNo, mbCancel]) of
mrYes: begin
OpenWebPage('http://stats.villavu.com/register');
TerminateScript;
end;
mrNo: SetSettingValue('StatsDialog', 'false');
mrCancel: TerminateScript;
end;
end;