It doesn't read if the person's blid is on the blacklist and it lets the person join.
wat do
package Blacklist
{
function GameConnection::onConnectRequest(%this, %addr, %lan, %name, %pre, %suf, %rtb)
{
%list = $Pref::Server::Blacklist;
%blid = %this.getBLID();
if(hasItemOnList(%list,%blid))
%k = true;
if(%k == 1)
return "You are Blacklisted on this server, you will not be able to join, ever."; //or atleast until I remove you from the list
else
return Parent::onConnectRequest(%this, %addr, %lan, %name, %pre, %suf, %rtb);
}
};
activatepackage(Blacklist);