SphereCommunity
how i can remove all account?¿ - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: how i can remove all account?¿ (/Thread-how-i-can-remove-all-account-%C2%BF)



how i can remove all account?¿ - xRay - 07-03-2015 11:42 AM

i need comand to delete all accounts in sphere 55r


RE: how i can remove all account?¿ - Skul - 07-03-2015 06:03 PM

There's no command for this, although you can script a function to do the same thing. Here:
Code:
[function removeallaccounts]
for x 0 <eval <serv.accounts> +-1>
  if !(strmatch(<serv.account.<eval <serv.accounts> +-<local.x>>.name>,<account.name>))
    serv.account <serv.account.<eval <serv.accounts> +-<local.x>>.name> delete
  endif
endfor
serv.b All accounts removed.
Use .removeallaccounts in-game to remove all accounts.