<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.bebot.link/index.php?action=history&amp;feed=atom&amp;title=Whois.php</id>
	<title>Whois.php - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.bebot.link/index.php?action=history&amp;feed=atom&amp;title=Whois.php"/>
	<link rel="alternate" type="text/html" href="http://wiki.bebot.link/index.php?title=Whois.php&amp;action=history"/>
	<updated>2026-05-25T23:53:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>http://wiki.bebot.link/index.php?title=Whois.php&amp;diff=79&amp;oldid=prev</id>
		<title>B3b0tUzR: Created page with &#039;======= Working with the Whois Core module =======   ===== Introduction ===== The Whois module aims to provide a common interface and structure for dealing with character informa…&#039;</title>
		<link rel="alternate" type="text/html" href="http://wiki.bebot.link/index.php?title=Whois.php&amp;diff=79&amp;oldid=prev"/>
		<updated>2020-09-16T22:34:04Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;======= Working with the Whois Core module =======   ===== Introduction ===== The Whois module aims to provide a common interface and structure for dealing with character informa…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;======= Working with the Whois Core module =======&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Introduction =====&lt;br /&gt;
The Whois module aims to provide a common interface and structure for dealing with character information from FunCom. To do this, it provides functions for looking up whois data as well as providing a cache of data to reduce load on FunCom&amp;#039;s servers as well as fail gracefully when FunCom&amp;#039;s servers are unresponsive. &lt;br /&gt;
&lt;br /&gt;
===== Settings Functions =====&lt;br /&gt;
==== Calling ====&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
$this -&amp;gt; bot -&amp;gt; whois -&amp;gt; function();&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== lookup() ====&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
array lookup(string $name, bool $noupdate=false)&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
This function is used to lookup whois data. &lt;br /&gt;
&lt;br /&gt;
lookup function parameters:&lt;br /&gt;
  * $name: Player to lookup.&lt;br /&gt;
  * $noupdate: Do not update the whois cache. &lt;br /&gt;
&lt;br /&gt;
Return value:&lt;br /&gt;
Array containing the following elements:&lt;br /&gt;
    [error] =&amp;gt; &lt;br /&gt;
    [errordesc] =&amp;gt; &lt;br /&gt;
    [id] =&amp;gt; Player ID Number&lt;br /&gt;
    [nickname] =&amp;gt; Character Name&lt;br /&gt;
    [firstname] =&amp;gt; Character First Name&lt;br /&gt;
    [lastname] =&amp;gt; Character Last Name&lt;br /&gt;
    [level] =&amp;gt; Level&lt;br /&gt;
    [gender] =&amp;gt; gender&lt;br /&gt;
    [breed] =&amp;gt; Breed&lt;br /&gt;
    [profession] =&amp;gt; Profession&lt;br /&gt;
    [faction] =&amp;gt; Omni|Clan|Neutral&lt;br /&gt;
    [rank] =&amp;gt; Org Rank Name&lt;br /&gt;
    [rank_id] =&amp;gt; Org Rank ID&lt;br /&gt;
    [org] =&amp;gt; Org Name&lt;br /&gt;
    [org_id] =&amp;gt; Org ID&lt;br /&gt;
    [at] =&amp;gt; Alien Rank Name&lt;br /&gt;
    [at_id] =&amp;gt; Alien Level&lt;br /&gt;
    [pictureurl] =&amp;gt; URL to mugshot (example: http://www.anarchy-online.com/character/photos/40650.jpg)&lt;br /&gt;
&lt;br /&gt;
==== update() ====&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
bool function update(array $who)&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
This functions is used to update whois information. $who should be a whois array. This function is used by the roster modules and whois module to update player information in the database cache. It generally should not be used in other modules.&lt;/div&gt;</summary>
		<author><name>B3b0tUzR</name></author>
	</entry>
</feed>