WoW:API ChannelBan: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m (Move page script moved page API ChannelBan to API ChannelBan without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<center>'''ChannelBan''' ''-Documentation by AlexanderYoshi-''</center>
{{wowapi}}
 
Bans a player from the specified channel.
Bans a player from the specified channel.


Line 28: Line 27:


: Bans player playerName from channel channelName.
: Bans player playerName from channel channelName.
----
{{Template:WoW API}}
[[Category:API Functions|ChannelBan]]
[[Category:API Channel Functions|ChannelBan]]

Latest revision as of 04:45, 15 August 2023

WoW API < ChannelBan

Bans a player from the specified channel.

ChannelBan(channelName, playerName);

Arguments
(String channelName, String playerName)
channelName
The name of the channel to ban on
playerName
The name of the player to ban

Returns
nil

Example
ChannelBan("uimods", "Sembiance");
Result

Description
Bans player playerName from channel channelName.