i'm trying to hook into either OpenBag or OpenBackpack but it doesn't appear to be working for me;
if i press F12 (backpack) or any of the bag bind keys the bags will open but my addon won't
yet if i enter /script OpenBag(x) or /script OpenBackpack() from the chatline then the correct blizzard bag opens and so does my addon? so it doesn't look like it's a problem with my code but other addons are hooking into OpenBackpack (they open on F12) and are working so i don't understand what i've done wrong.
self:SecureHook( "OpenBackpack", "OpenBag" );
self:SecureHook( "OpenBag" );