Install this, a JSON parser: http://hawkee.com/snippet/10194/

once you have this installed, it's pretty simple:

Code:
alias checkit {
JSONOpen -du hight http://127.0.0.1:8085/telemachus/datalink?a=v.altitude
echo -a $json(hight,a)
}
This is untested of course, and the code isn't checking for errors.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel