quote:
Originally posted by CookieRevised
quote:
Originally posted by Horseboy
Yeah... I was going to have it two ways, i might still. The advantage to the window is that you can configure it more, like title, programming language, login to pastebin. Whereas if you have it so that you do /paste <blob of text>, you can't configure it.
"/paste <blob of text>" was not what I was talking about at all.
I was saying that it is much quicker and easier to paste a blob of text into the conversation window and let Plus! do its job, than it is to paste that same blob of text into a special script window, configure it, wait for upload, send link to contact, contact opening that link....
To put it very bluntly: Plus! already does natively what your script is going to do (except for the highlighting of source code).
quote:
Originally posted by Horseboy
You know that I'm not that good at scripting...
nobody was at first
That's what I meant, into the conversation window
Say you're having a conversation with someone and it's something like "oh dude could you tell me how to print something in php?" (an example). So you do /pastebin lineofphp. What that does is sends a request to Pastebin with lineofphp as the text. No other options. After it's gotten an answer from pastebin's API with the pastebin link, it'll put that link into the message.
And the window idea will be something like this:
Except when you click submit, it'll copy the link the API produces to the conversation window. It won't look exactly like that, but it'll have the same functionality.