Hey so I recently came back to RS/scar and I have a script that I used to use with Fkey hotkeys. Now of course RS uses them for opening gametabs, and so I want something new to use.
What I'd like is to use the ins, home, page up, delete, end and page down (easy reach from arrow keys). I found what I believe to be the keycodes for them, but they don't work
Any suggestions on alternate keys or a way to make them work?Code:Procedure Keys; // 45=Ins, 36=Home, 33=PgU, 46=Del, 35=End, 34=PgD begin if IsKeyDown(chr(45)) then Key[1]:=True else if IsKeyDown(chr(36)) then Key[2]:=True else if IsKeyDown(chr(33)) then Key[3]:=True else if IsKeyDown(chr(46)) then Key[4]:=True else if IsKeyDown(chr(35)) then Key[5]:=True else if IsKeyDown(chr(34)) then Key[6]:=True; Wait(10); end;



Reply With Quote











