http://steamrep.com/api/beta3/reputa...s=1&extended=1
the API is currently down, so I can't show you direct results.
But needless to say, here's an example using my above code:
Code:
$steamRepAPIURL = sprintf("http://steamrep.com/api/beta3/reputation/%s?tagdetails=1&extended=1", $steam_id);
$steamRepXML = simplexml_load_file($steamRepAPIURL);
Code:
$fullReputation = $steamRepXML->tradeban;
This part of the code, checks the <tradeban> xml field.
On the above URL, (once its back up) it shows under tradeban: <tradeban>2</tradeban>
This means the user has been trade banned on steam (if you are familiar with steam).
Now, this code:
Code:
// Configuration
$steamRepScamTitles = array( // Dictionary describing the user title that should be set depending on the tag
'2' => array(
'title' => '<span style="color:darkyellow;font-weight:bold">Trade Banned</span>',
'groupid' => 40
)
);
Checks if the user is under "2", sets the title for that user and puts the user in groupid 40.
The rest of the code that I haven't posted in this thread are just Setup variables and $dataman code to move the user (I can PM you the full code if interested).
Just for some reason, it's not checking the numbered array under login_process, while it works (as I mentioned) when using letters.