Top

RuneScape Stats Script


mIRC Code
+ 0 likes
Please Register to submit score.
Bookmark and Share
Average Score  0.0 (of 0 scores)
Date Added  Aug 06, 2009
Last Updated  Sep 02, 2009
Tags  game  jagex  lol  mirc  msl  play  rofl  rs  runescape  runskep  script  scripts  stat  stats 

Introduction

Grabs RS Stats. Comes with alias and on text event.

1:01(00) pm (@TheNitelyfe) .stats Sunslayer23
1:01(02) pm Notice —› (BluePrint) (SUNSLAYER23) —› Overall (1,739) Att (80) Def (80) HP (83) Range (78) Mage (80) Pray (60) Cook (75) Fish (76) Fletch (99) FM (99) Craft (64) Mining (66) Smithing (60) Agi (61) Herb (60) Farming (65) Thief (64) Slay (64)
1:01(02) pm Notice —› (BluePrint) Hunter (75) Con (54) Summoning (57)

Credit to Jose for fixing it and Chessnut for the sockread 4 times idea (helped a lot)

Grab the Code

 
alias stats {
  sockopen stats hiscore.runescape.com 80
  sockmark stats $+($replace($1-,$chr(32),_),|,echo -a)
}
on *:SOCKOPEN:stats: {
  sockwrite -nt $sockname GET $+(/hiscorepersonal.ws?user1=,$gettok($sock(stats).mark,1,124)) HTTP/1.1
  sockwrite -nt $sockname Host: hiscore.runescape.com $+ $crlf $+ $crlf
}
on *:SOCKREAD:stats: {
  if (!$sockerr) {
    var %s
    sockread %s
    if ($iskill(%s)) {
      var %skill %s,%x 0 | while (%x < 4) { sockread %s | inc %x }
      tokenize 60 %s
      tokenize 62 $1
      if ($2 != $null) hadd -m stats %skill 14 $+ $replace(%skill,Attack,Att,Strength,Str,Ranged,Range,Defence,Def,Hitpoints,HP,Agility,Agi,Herblore,Herb,Magic,Mage,Woodcutting,WC,Firemaking,FM,Thieving,Thief,Slayer,Slay,Prayer,Pray,Construction,Con,Runecraft,RC,Fletching,Fletch,Fishing,Fish,Cooking,Cook,Crafting,Craft) (12 $+ $2  $+ 14)
      if (%skill == Summoning) {
        $gettok($sock(stats).mark,2,124) $logo($upper($replace($gettok($sock(stats).mark,1,124),_,$chr(32)))) $hget(stats,overall) $hget(stats,Attack) $hget(stats,Defence) $hget(stats,Strength) $hget(stats,Hitpoints) $hget(stats,Ranged) $hget(stats,Magic) $hget(stats,Prayer) $hget(stats,Cooking) $hget(stats,Woodcutting) $hget(stats,Fishing) $hget(stats,Fletching) $hget(stats,Firemaking) $hget(stats,Crafting) $hget(stats,Mining) $hget(stats,Smithing) $hget(stats,Agility) $hget(stats,Herblore) $hget(stats,Farming) $hget(stats,Thieving) $hget(stats,Slayer) 
        if ($istok(Runecrafting Hunter Construction Summoning,%skill,32) == $true) $gettok($sock(stats).mark,2,124)) $iif($hget(stats,Runecrafting),$v1) $iif($hget(stats,Hunter),$v1) $iif($hget(stats,Construction),$v1) $iif($hget(stats,Summoning),$v1)
        hfree stats
        sockclose $sockname
      }
    }
  }
}
alias iskill {
  return $istok(Overall Prayer Attack Defence Strength Hitpoints Ranged Magic Cooking Woodcutting Fletching Fishing Firemaking Crafting Smithing Mining Herblore Agility Thieving Slayer Farming Runecrafting Hunter Construction Summoning,$1,32)
}
alias logo return 14(12 $+ $1- $+ 14) —›
on $*:TEXT:/^[!@.](rs)?stats/Si:#: {
  if (!$($+(%,statflood,$nick),2)) && (!$sock(stats)) {
    set -u3 $+(%,statflood,$nick) on
    sockopen stats hiscore.runescape.com 80
    sockmark stats $+($replace($2-,$chr(32),_),|,$iif($left($1,1) == @,msg #,.notice $nick))
  }
}
 

Comments

  (7)  RSS
EMMURE
Comments: 17
 
mIRC Snippet:  RuneScape Stats Script
Posted on Aug 6, 2009 7:39 pm
Gratz TheNitelyfe. i saw you on #msl asking bout this :p (i am [Ethan}) anyways, great script :D 8/10
TheNitelyfe
Comments: 46
 
mIRC Snippet:  RuneScape Stats Script
Posted on Aug 7, 2009 11:10 am
thx sir
Atr
Comments: 60
 
mIRC Snippet:  RuneScape Stats Script
Posted on Aug 7, 2009 1:08 pm
Looks good, no chance of testing it, but the coding looks nice :)
Bunterron
Comments: 5
 
mIRC Snippet:  RuneScape Stats Script
Posted on Aug 8, 2009 12:42 am
NIceeee Thankss
WillK1llin
Comments: 14
 
mIRC Snippet:  RuneScape Stats Script
Posted on Aug 10, 2009 7:30 pm
nice
sunslayer
Comments: 267
 
mIRC Snippet:  RuneScape Stats Script
Posted on Aug 23, 2009 1:27 pm
Quote:
1:01(02) pm Notice —› (BluePrint) (SUNSLAYER23) —› Overall (1,739) Att (80) Def (80) HP (83) Range (78) Mage (80) Pray (60) Cook (75) Fish (76) Fletch (99) FM (99) Craft (64) Mining (66) Smithing (60) Agi (61) Herb (60) Farming (65) Thief (64) Slay (64)
1:01(02) pm Notice —› (BluePrint) Hunter (75) Con (54) Summoning (57)


ye i r pro :p
TheNitelyfe
Comments: 46
 
mIRC Snippet:  RuneScape Stats Script
Posted on Sep 2, 2009 1:52 pm
Fixed the problem where if someone wasn't ranked in Runecrafting Hunter Construction or Summoning it wouldn't notice anything and echo /notice or /echo insufficient paramaters. Any bugs tell me.

Commenting Options

Register or Login to Hawkee.com or use your Facebook or Twitter account by clicking the corresponding button below.

  
Bottom