Trying to add a common for certain access level allowing user to retrieve another users gateway by inputting !gateway <nick> into chat. this is what i have so far. I'm try to have it to where when a user requests the users gateway it will be displayed to the person whom typed !gateway <nick> but be displayed in a /privmsg rather than open chat.
on accesslvltext:!gateway*:#:{ privmsg $nick $ial($1).addr }