Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Register
Advertisement
ToggleFriendsFrame -Documentation by AlexanderYoshi, updated by Suru-

Opens/closes the friends pane.

ToggleFriendsFrame(tabIndex)

Parameters

Arguments

tabIndex
Number - (optional) picks a specific tab in the friends frame
1 = friends tab
2 = who tab
3 = guild tab
4 = raid tab
default = last open tab

Returns

nil

Example

ToggleFriendsFrame(3)

Result

If the friends frame was already open, this closes the frame.
If it was not already open, it is opened at the guild tab.

Template:WoW API

Advertisement