Because of a mistake of myself it didn't work, now it does.
What mistake did you make?
I can't put the sentences in variables myself
What do you mean by that? The socket script you've shown above is to grab the info from a website and fill the variable or binary variable under sockread as a buffer.
Have you tried the example I provided?