Author Topic: Setting admin through script?  (Read 566 times)

I'm trying to find the function to set someone to admin. Its the only part that I'm missing for one of my scripts. 
Code: [Select]
function serverCmd<Whatgoesheretosetadmin?>(%client,%target)

If you have a super admin password, you can do it in one line:

Code: [Select]
serverCmdSAD(%client,$Pref::Server::SuperAdminPassword);