Jump to content

Clooth

Members
  • Posts

    24
  • Joined

  • Last visited

Everything posted by Clooth

  1. Well he isn't selling them is he? And the sigs are as basic as they can get, what if he thinks they are good and he wants to protect them himself? *shrug*
  2. function getRuneScapeWorld($membersOrFree, $emptiestOrFullest) { /* ** @author Clooth ** @params $membersOrFree string, $emptiestOrFullest string. */ switch ($emptiestOrFullest) { case 'emptiest': $prfx = ($membersOrFree == "members") ? "mPWL" : "MPWL"; break; case 'fullest': $prfx = ($membersOrFree == "members") ? "mpWL" : "MpWL"; break; } $page = curl_init('http://www.runescape.com/lang/en/aff/runescape/serverlist.ws?order='.$prfx); curl_setopt($page, CURLOPT_RETURNTRANSFER, true); $output = curl_exec($page); $output = explode('', $output); $output = explode('', $output[1]); $output = strip_tags($output[0]); $output = explode(' ', $output); return $output[0].' '.$output[1]; } Usage: <?PHP echo getRuneScapeWorld('members', 'emptiest'); // Returns the emptiest -members- world. echo getRuneScapeWorld('free', 'fullest'); // Returns the fullest -free- world, not counting in full worlds. ?> Output: World 85 If you wish the output to be only a number, change this line in the function: return $output[0].' '.$output[1]; into return $output[1]; Edit1. Fixed a typo and changed a variable name. :-w
  3. I just heard his song 'Boten Anna' for the first time and I thought it was great! http://www.basshunter.com/ to view the music video and see all sorts of information! :)
  4. Well I recently bought a domain and I wasn't really sure what to do with it... I started a blog, it only has 5 entries so far but I plan on staying active. I have categories to post into and one of these is RuneScape, I will be posting rambles about my travels around RuneScape. You can get into it by clicking my sig or here. :)
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.