This commit is contained in:
dennydai 2016-01-01 11:58:00 +08:00
parent fe72789d5a
commit fb2f1f50cc

View File

@ -12,11 +12,11 @@ if ($plugin_steam_steamid['response']['success'] == 1){
if (array_key_exists('gameextrainfo', $plugin_steam_PlayerSummaries['response']['players'][0])){$plugin_steam_playing = "Is Playing: ".$plugin_steam_PlayerSummaries['response']['players'][0]['gameextrainfo']."\n";} if (array_key_exists('gameextrainfo', $plugin_steam_PlayerSummaries['response']['players'][0])){$plugin_steam_playing = "Is Playing: ".$plugin_steam_PlayerSummaries['response']['players'][0]['gameextrainfo']."\n";}
//personastate //personastate
$msg = "Personal Name: ".$plugin_steam_PlayerSummaries['response']['players'][0]['personaname']."\n". $msg = "Personal Name: ".$plugin_steam_PlayerSummaries['response']['players'][0]['personaname']."\n".
"State : ".$personastate."\n". "State: ".$personastate."\n".
$plugin_steam_playing. $plugin_steam_playing.
//"Recently Played: ".$plugin_steam_RecentlyPlayedGames['response']['games'][0]['name']."\n". //"Recently Played: ".$plugin_steam_RecentlyPlayedGames['response']['games'][0]['name']."\n".
"Last Log Off (UTC +0): ".date("Y-m-d H:i:s", $plugin_steam_PlayerSummaries['response']['players'][0]['lastlogoff'])."\n". "Last Log Off (UTC +0): ".date("Y-m-d H:i:s", $plugin_steam_PlayerSummaries['response']['players'][0]['lastlogoff'])."\n".
"Profile URL : ".$plugin_steam_PlayerSummaries['response']['players'][0]['profileurl']."\n". "Profile URL: ".$plugin_steam_PlayerSummaries['response']['players'][0]['profileurl']."\n".
""; "";
}else{ }else{
$msg = "User Not Found :("; $msg = "User Not Found :(";