WoW:API ChannelToggleAnnouncements: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m (Move page script moved page API ChannelToggleAnnouncements to API ChannelToggleAnnouncements without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<center>'''ChannelToggleAnnouncements''' ''-Documentation by AlexanderYoshi-''</center>
{{wowapi}}
 
Toggles the channel to display announcements either on or off.
Toggles the channel to display announcements either on or off.


  ChannelToggleAnnouncements(channelName);
  ChannelToggleAnnouncements(channelName, name);


----
----
;''Arguments''
;''Arguments''


:(String channelName)
:(String channelName, name)


:;channelName : The name of the channel to toggle announcements on
:;channelName : The name of the channel to toggle announcements on
Line 19: Line 18:
----
----
;''Example''
;''Example''
  ChannelToggleAnnouncements("uimods");
  ChannelToggleAnnouncements("uimods", "uimods");


;''Result''
;''Result''
Line 27: Line 26:


: Toggles the channel to display announcements either on or off.
: Toggles the channel to display announcements either on or off.
----
{{Template:WoW API}}
[[Category:API Functions|ChannelToggleAnnouncements]]
[[Category:API Channel Functions|ChannelToggleAnnouncements]]

Latest revision as of 04:45, 15 August 2023

WoW API < ChannelToggleAnnouncements

Toggles the channel to display announcements either on or off.

ChannelToggleAnnouncements(channelName, name);

Arguments
(String channelName, name)
channelName
The name of the channel to toggle announcements on

Returns
nil

Example
ChannelToggleAnnouncements("uimods", "uimods");
Result

Description
Toggles the channel to display announcements either on or off.