Is the api function GuildUninvite("<player name>") disabled? It works just fine if I run it with /script GuildUninvite("<player name>") but when I run it from an addon it does not seem to work.
'); document.write(''); var yuipath = 'clientscript/yui'; var yuicombopath = ''; var remoteyui = false; } else // Load Rest of YUI remotely (where possible) { var yuipath = 'https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build'; var yuicombopath = ''; var remoteyui = true; if (!yuicombopath) { document.write(''); } } var SESSIONURL = ""; var SECURITYTOKEN = "guest"; var IMGDIR_MISC = "warmane/misc"; var IMGDIR_BUTTON = "warmane/buttons"; var vb_disable_ajax = parseInt("0", 10); var SIMPLEVERSION = "422"; var BBURL = "https://forum.warmane.com"; var LOGGEDIN = 0 > 0 ? true : false; var THIS_SCRIPT = "showthread"; var RELPATH = "showthread.php?goto=nextnewest&t=460655"; var PATHS = { forum : "", cms : "", blog : "" }; var AJAXBASEURL = "https://forum.warmane.com/"; var CoTTooltips = { rename: true, icons: false, iconsize: 15, qualitycolor: true, overridecolor: { spells: '#839309', items: '', npcs: '#fff', objects: '#fff', quests: '#ffb100', achievements: '#fff' } }; // -->
Is the api function GuildUninvite("<player name>") disabled? It works just fine if I run it with /script GuildUninvite("<player name>") but when I run it from an addon it does not seem to work.
Do you see any lua errors? (Do you have your client configured to show lua errors?)
Do you mind sharing the code?
If you are trying to massively kick players and only the first kick(s) go through it's possible the function is throttled server-side.
Edited: September 27, 2023
The code was written in Weakauras, but I've now realized that Weakauras marked the GuildUninvite as unsafe. I assume that the code will work in a normal addon