First, i'm a complete noob to TCL scripting altho i know some programming languages.
What i want to do:
- Login to a website
- Parse out of URL SID (php) id
- attach this url SID id to another page that is protected (no SID in url = redirects back to login site)
- parses out this html code:
Code: Select all
<tr>
<th>20
<font color="87CEEB">*</font></th>
<th><a href="ainfo.php?session=3c546726f1fb&allytag=GP"><font color='lime'>GP</font></a></th>
<th>
</th>
<th>48</th>
<th>1564</th>
<th>32</th>
</tr>
<th>20
<font color='lime'>GP</font>
<th>48</th>
<th>1564</th>
<th>32</th>
- next to output this into channel when someones says for example !stats
Now, i DO NOT want YOU to write me this script! I want to write it myself but i need some start up points. What do i need to this, where can i see some examples and so on...