public function options( $reset = false, $resetoptions = array( 'all' ), $changeoptions = array(), $optionname = null, $optionvalue = null ) {
		$this->get_tokens();
		$apiArray = array(
			'action' => 'options',
			'token'  => $this->tokens['options']
		);

		if( $reset ) {
			$apiArray['reset'] = '';
			$apiArray['resetkinds'] = implode( '|', $resetoptions );
		}

		if( !empty( $changeoptions ) ) $apiArray['change'] = implode( '|', $changeoptions );

		if( !is_null( $optionname ) ) $apiArray['optionname'] = $optionname;
		if( !is_null( $optionvalue ) ) $apiArray['optionvalue'] = $optionvalue;

		$result = $this->apiQuery( $apiArray, true );
		if( isset( $result['options'] ) && $result['options'] == 'success' ) {
			if( isset( $result['warnings'] ) ) pecho( "Options set successfully, however a warning was thrown:\n" . print_r( $result['warnings'], true ), PECHO_WARN );
			return true;
		} else {
			pecho( "Options error...\n\n" . print_r( $result, true ), PECHO_FATAL );
			return false;
		}
	}