Navigation menu

WoW:API ChannelToggleAnnouncements: Difference between revisions

Jump to navigation Jump to search
Two arguments now. Changes seen in 4.0.1. Tested in client and confirmed.
m ({{wowapi}})
(Two arguments now. Changes seen in 4.0.1. Tested in client and confirmed.)
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''
Anonymous user