SetAutoDeclineGuildInvites

From Warcraft Wiki
Jump to navigation Jump to search

Sets whether guild invites should be automatically declined.

SetAutoDeclineGuildInvites(decline)

Arguments

decline
boolean - True if guild invitations should be automatically declined, false if invitations should be shown to the user.

Triggers events

Details

Blizzard's code always passes in a string value, but the function accepts both strings and numbers, just like SetCVar, and its counterpart GetAutoDeclineGuildInvites returns numeric values, just like GetCVar.

See also