SRL Archive - RS3 Outdated / Broken Scripts

form with 2 text fields and a button


nielskool

2007-05-13 08:24:22

Hello,

I need a form where are 2 textfields and if i click o the button it needs to send it to the rest of the script, but i can't find a good tutorial about senden a variable to the script.
this is the rest of the script:
program TugOWar;
begin
repeat
KeyDown(GetKeyCode('z'));
Sleep(65);
KeyUp(GetKeyCode('z'));
KeyDown(GetKeyCode('x'));
Sleep(65);
KeyUp(GetKeyCode('x'));
until(False);
end.

i want that the z and x become the character i typed in the text fields in the form.

the script above is standard with scar, but the characters to typ at the game are not the same every game.

i hope some of you can help me.

sorry for my bad english, I am dutch.

Dan Cardin

2007-05-13 11:41:57

use InChatinstead of the whole key thing
and look at starblasters form tut…or driger's all around tut..they help and should give u the help u need