While fanning through the RTB system servercommand file, I found three different types of preferences:
Bool (a checkbox)
int (number from min to max)
list (exactly how it sounds)
Now I have figured out that for this specific preference, I would want a list. But I dont know how to name the things in the list here is what I'm doing:
if(isFile("Add-Ons/System_ReturnToBlockland/server.cs"))
{
if(!$RTB::RTBR_ServerControl_Hook)
exec("Add-Ons/System_ReturnToBlockland/RTBR_ServerControl_Hook.cs");
RTB_registerPref("Kill Command","Server Commands","Kill::Users","list SuperAdmin Host Admins All", "Kill Command","SuperAdmin", 0, 1);
}
else
{
$Kill::Users = SuperAdmin;
}
Now when I do that, the list comes out as SuperAdmin and Host, nothing else, and the default isn't SuperAdmin, it's nothing. Could someone please help me with this preference?