WoW:API ChannelToggleAnnouncements: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m ({{wowapi}})
m (Move page script moved page API ChannelToggleAnnouncements to API ChannelToggleAnnouncements without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
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 18: Line 18:
----
----
;''Example''
;''Example''
  ChannelToggleAnnouncements("uimods");
  ChannelToggleAnnouncements("uimods", "uimods");


;''Result''
;''Result''

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.