Runescape Pro
2010-11-06 03:40:56
Hey! I'm trying to make an assistance script that will turn on prayers and other things. I'm going to set a constant of a key that will ultimately turn on the prayer. So I need help on how to store the box for the prayer(x1, y1, x2, y2).
I set a variable named PI1Box which will activate the Protect Item PRAYER when the user presses the specified key. I just need to know what I would set the variable type to.
Like:
Or should I just set the boxes as constants like this:
Last question: If I were to set the boxes as constants, Would I then be able to use mousebox like this(?):
I set a variable named PI1Box which will activate the Protect Item PRAYER when the user presses the specified key. I just need to know what I would set the variable type to.
Like:
var
PI1Box: "Variable type here. Tell me what it is please.";Or should I just set the boxes as constants like this:
const
PI1Box = (000, 000, 000, 000);Last question: If I were to set the boxes as constants, Would I then be able to use mousebox like this(?):
if BlahBlahBlah then
begin
MouseBox(PI1Box, 1);
end;