I currently have a few scripts, and I was wondering, it there a way I could add a method on the script start up that prompts the user for information?
Example:
Person starts script
Gets message: Take breaks?
Enter response
Gets message: Monster to kill?
Enter response
Script starts.
Slashed
2012-12-14 19:55:24
Only through the use of a form. ( And as far as I know, an advanced one)
Even though it wouldn't work like that since Simba doesn't cast a console command for you to type in like you want.
ahh ok ill just stick to user editing constants then
Brandon
2012-12-14 20:11:54
From: Slashed
Only through the use of a form. ( And as far as I know, an advanced one)
Even though it wouldn't work like that since Simba doesn't cast a console command for you to type in like you want.
var
Value: String;
begin
If (InputQuery('Question Caption..', 'Would you like to...?', Value)) Then
begin
writeln(Value);
end;
end.
Slashed
2012-12-14 20:19:13
From: Brandon
var
Value: String;
begin
If (InputQuery('Question Caption..', 'Would you like to...?', Value)) Then
begin
writeln(Value);
end;
end.
Guess I was wrong. Thanks for the heads up Brandon :biggrin:
Rezozo
2012-12-14 22:06:42
Hmm, I know you could do that in pascal with CRT/Wincrt uses. Did not know you could do that with this.
Usually, it would just be a Readln();
And yea, the forms.
~Rez