SHARE
TWEET

Untitled

Meliodas0_0 Oct 9th, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. string textbox = textbox.Text //Replace "textbox" with your textbox name
  2.  
  3. try
  4. {
  5.   WebClient WC = new WebClient();
  6.   string tb_contents = WC.DownloadString(textbox);
  7.  
  8.   WC.DownloadString(textbox);
  9.   if (!tb_contents.Contains("html>")) //If link contains raw text
  10.   {
  11.     api.SendLimitedLuaScript(tb_contents); //Executes text in the link
  12.   }
  13.   else //If link doesn't contain raw text
  14.     MessageBox.Show("The link didn't raw text.", "title");
  15. }
  16. catch //If link is invalid
  17. {
  18.   Messagebox.Show("The text wasn't a valid link.", "title");
  19. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top