user()->get($user); if (!$user && $bantype !== "qline") { Message::Fail("Could not find that user: User not online"); } else { $msg_msg = ($duration == "0" || $duration == "0w0d0h") ? "permanently" : "for " . rpc_convert_duration_string($duration); $reason = (isset($_POST['ban_reason'])) ? $_POST['ban_reason'] : "No reason"; if ($bantype == "qline") $rpc->nameban()->add($name, $reason, $duration); else if ($bantype == "kill") { if ($rpc->user()->kill($user->id, $reason)) Message::Success($user->name . "(*@" . $user->hostname . ") has been killed: $reason"); else Message::Fail("Could not kill $user->name: $rpc->error"); } else if ($rpc->serverban()->add($user->id, $bantype, $duration, $reason)) Message::Success($user->name . " (*@" . $user->hostname . ") has been $bantype" . "d $msg_msg: $reason"); else Message::Fail("Could not add $bantype against $name: $rpc->error"); } } } } } ?>

Users Overview

Click on a username to view more information.
Nick Country Host / IP Account Oper Connected to Rep. ℹ️