04.08.2009, 15:48
Simple example of how it could be done using dcmd and sscanf, both of those functions available through a quick search on the forums.
http://jatochnietdan.pastebin.com/f20705c1d
http://jatochnietdan.pastebin.com/f20705c1d