SRL Archive - SRL Archives

tab_Obj ?


Rick

2009-10-04 20:28:16

There is no constant for the Objectives tab. I know the objectives tab isn't really needed for autoing, but why not add it in there?

I have the latest dev version, but if this is already there then forgive me. The fix is obvious:

Add:


const
tab_Obj = 29;

to the constants and


if (not InIntArray([tab_combat, tab_Stats, tab_Quest, tab_Diary, tab_Inv, tab_Equip,
tab_Prayer, tab_Magic, [B]tab_Obj[/B], tab_Friends, tab_Ignore, tab_Clan, tab_Options, tab_Emotes,
tab_Music, tab_Notes, tab_LogOut], Tab)) then

to both TabExists and GameTab.