Find:
$result = $this -> bot -> db -> select("SELECT points FROM raid_points WHERE id = " . $this -> points_to($name));
$result = $result[0][0] / 10;
Change to:
$result = $this -> bot -> db -> select("SELECT points FROM raid_points WHERE id = " . $this -> points_to($name));
if (empty($result))
{
$this -> bot -> send_tell($name, "You appear to not have any points yet. No points table entry found.");
return false;
}
$result = $result[0][0] / 10;