Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string site = data[4];
- WebClient W = new WebClient();
- string html = W.DownloadString("http://downforeveryoneorjustme.com/" + site);
- int index = html.IndexOf("<div id=\"container\">");
- string msg = html.Substring(index, html.IndexOf("<p>",index) - index);
- msg = msg.Replace("\r", "").Replace("http://","").Replace("\n", "").Replace("<div id=\"container\">", "").Replace(" <a href=\"", "").Replace("\"", "").Replace("</a></span>", "").Replace(site + " class=domain>", "4").Replace(site,site+"3").Substring(6).Replace("</a>","");
- Write(String.Format("PRIVMSG {0} {1}", chan, "12"+msg));
- break;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement