Thread:Project:Support desk/Need help with an if statement in custom extension

I need assistance to add an "if" statement on this extension (Source AR-Tabs.php custom extension) to only add a tab such as this based on the namespace of the page.

Basically if the namespace is  Custom1 :Anypagename, i want to see the additional tab, but if the namespace is null or anything other than  Custom1 , then i do not want the tab visible...how would i create an if statement around this?

The times i attempted i was brutally shut down...

Source: Manual:FAQ