API GetSavedInstanceChatLink
Talk0
98,518pages on
this wiki
this wiki
Retrieves the SavedInstanceChatLink to a specific instance.
link = GetSavedInstanceChatLink(index)
Contents |
Arguments
Edit
- index
- The index of the instance you want to query.
Returns
Edit
- link
- If instance at index is linkable.
- nil
- If instance is not linkable (none at index).
Example
Edit
local link = GetSavedInstanceChatLink(1)
if link then
print(link)
else
print("Linking is not available for this instance!")
end
Result
Edit
- Displays a link to the first instance in your Raid Information tab in the chat window, unless there is none available.
Details
Edit
- Added in 4.0.1
- See also GetSpellLink(), SavedInstanceChatLink