You do it like this...
SCAR Code:
Program New;
{.include SRL/SRL.scar}
{.include SRL/SRL/Misc/Users.scar}
Begin
SetupSRL;
SRLPlayerForm(true,['High Alch','Fire Staff','AntiBan','AntiRandoms'],['Amount'],[],[])
Writeln(IntToStr(Players[CurrentPlayer].Integers[0]));
End.
You see. If you run that script. And type something in the amount box and click Exit on top right and click Start. It will right what you type. So you don't have to do anything as it already sets the integer to what you typed. If you need it more deeply explained just post and i'll go into more detail
.