if($mysidia->user->usergroup->getpermission("canpm") == "no"){ throw new NoPermissionException($mysidia->lang->banned); }