function halo3($GET) { if (!$GET) $OutPut = "Syntax Error: [!@]Halo3 "; $data = file_get_contents("http://www.bungie.net/Stats/Halo3/Default.aspx?player=" . str_replace(" ","+",$_GET["gamertag"])); if (!$OutPut) $OutPut = c1($GET)." is not ranked in Halo 3, or does not have a Live Account"; return logo(Halo3).' '.htmlspecialchars_decode($OutPut); } function urban($GET) { if (!$GET) $OutPut = "Syntax Error: [!@]Urban "; $data = file_get_contents("http://www.urbandictionary.com/define.php?term=".urlencode($GET)); if (preg_match_all('/

(.*)<\/p>/i',$data,$matches)) { $OutPut .= "{$GET}: ".c1(strip_tags(str_replace(array("",""),"\002",$matches[1][0]))); } if (preg_match_all("/

(.*)<\/p>/i",$data,$matches)) { $OutPut .= " | Example: ".c1(strip_tags(str_replace(array("",""),"\002",$matches[1][0]))); } if (!$OutPut) $OutPut = "No matches found"; return logo(Urban).' '.htmlspecialchars_decode($OutPut); } function define_($GET) { if (!$GET) $OutPut = "Syntax Error: [!@]Urban "; $data = file_get_contents("http://dictionary.cambridge.org/define.asp?key=".urlencode($GET)."*1+0&dict=A"); if (preg_match_all('/(.*?)<\/span>/i',$data,$matches)) { $OutPut .= "{$GET}: ".c1(strip_tags(str_replace(array("",""),"\002",$matches[1][0]))); } if (!$OutPut) $OutPut = "No matches found"; return logo(Define).' '.htmlspecialchars_decode($OutPut); } function southpark($GET) { if (!$GET) $OutPut = "Syntax Error: [!@]SouthPark

.*\n.*(.*)<\/a>/i",$data,$matches)) { $OutPut .= "Title: ".c1(strip_tags(str_replace(array("",""),"\002",$matches[1][0])))." | "; } if (preg_match_all('/Aired: <\/b>(.*)<\/div>/i',$data,$matches)) { $OutPut .= "Aired: ".c1(strip_tags(str_replace(array("",""),"\002",$matches[1][0])))." | "; } if (preg_match_all('/