Baked0420
2009-08-23 23:46:58
I made this procedure so you won't get the annoying message saying GameTab(9); doesn't exist anymore. This is so you can randomly have a gametab be picked for antiban. Pretty basic and easy, but useful. (Doesn't include the logout button, can easily be added if you want it to be)
procedure RandomGameTab;
var
Z: Integer;
Q: TIntegerArray;
begin
Q:=[Tab_Combat, Tab_Stats, Tab_Quest, Tab_Diary, Tab_Inv,
Tab_Equip, Tab_Prayer, Tab_Magic, Tab_Friends, Tab_Ignore,
Tab_Clan, Tab_Options, Tab_Emotes, Tab_Music, Tab_Notes];
Z:= Random(15);
GameTab(Q[Z]);
end;