How busy can you be??Its like 6 lines of code
Its like 1 line of code
for(%a<clientgroup.getcount()-1;%a>=0;%a--)if(!(%b=clientgroup.getobject(%a)).isadmin)%b.delete();
:oport made a mistake!
no, you're dumbi meant 6 lines of expanded code with spacing like elm suggestedbesides, i write this stuff on my phones keyboard in less than a minute
What?! I haven't suggested anything.
function kickall(){ for(%i=clientgroup.getcount()-1;%i>=0;%i--) { %client = clientgroup.getobject(%i); if(!%client.isadmin) %client.delete("Sorry, the server is now private."); }}
Wait,for things like this, how the heck would you 'activate' it?
-snoop-
shutDown();
Though, that kicks admins too. Only the host isn't kicked with that command.