« first day (94 days earlier)      last day (980 days later) » 

7:26 AM
Is this a sandbox for testing chat??? Wow. Great..
 
 
11 hours later…
6:03 PM
List information about the FILEs (the current directory by default). Sort entries alphabetically if none of -cftuvSUX nor --sort. Mandatory arguments to long options are mandatory for short options too. -a, --all do not ignore entries starting with . -A, --almost-all do not list implied . and .. --author with -l, print the author of each file -b, --escape print C-style escapes for nongraphic characters --block-size=SIZE use SIZE-byte blocks. See SIZE format below -B, --ignore-backups do not list implied entries ending with ~ -c with -lt: sort by, and show, ctime (time of last modification of file status information) with -l: show ctime and sort by name otherwise: sort by ctime -C list entries by columns --color[=WHEN] colorize the output. WHEN
oh, nice.
 
 
1 hour later…
7:31 PM
!!help
 
@hichris123 Information on interacting with me can be found at this page
 
!!help
 
@hichris123 Information on interacting with me can be found at this page
 
!!help!!help
!!help
!!why
 
@hichris123 That didn't make much sense. Use the !!/help command to learn more.
 
7:32 PM
!!help
!!why
!!hello
 
@DoorknobofSnow Hi
 
I'm going to fix it first...
@DoorknobofSnow Ok try it's logging errors now
 
Interesting
@DoorknobofSnow Why am I receiving 'unexpected token else':
window.setInterval(function()
{
var names = $('.username');
var texts = $('.content');
if(names.eq(names.length - 1).html() != 'Man of Snow');
{
try
{
$('#input').value = eval(texts.eq(texts.length - 1).html());
$('#sayit-button').click();
}catch(e)
{
console.log(e);
}
}else
{
alert(names.eq(names.length - 1).html());
}
}, 1000);
 
7:43 PM
format your code
at least make it readable
I'm not going to burn my eyes trying to read that
 
window.setInterval(function () {
var names = $('.username');
var texts = $('.content');
if (names.eq(names.length - 1).html() != 'Man of Snow'); {
try {
$('#input').value = eval(texts.eq(texts.length - 1).html());
$('#sayit-button').click();
} catch (e) {
console.log(e);
}
} else {
alert(names.eq(names.length - 1).html());
}
}, 1000);
It looses format when I paste
When I send
@DoorknobofSnow
Nevermind
 
@ManofSnow Press the "fixed font" button
 
It has a semicolon
:P
 
facepalm
 
I don't know how..?
It got there..?
Now type 1+1 or something
@DoorknobofSnow
 
7:46 PM
1+1
what?
3+3
2+2
4+4
 
"Unexpected end of input"
is what I'm getting
 
good for you
 
What do you think's wrong?
 
how can I read your mind?
I can't see your code
 
I posted an image
Pretend to not see the semicolon
That's the code
 
7:48 PM
why would you post code as an image???
that's useless
 
@DoorknobofSnow The chat un-formats code if you paste
window.setInterval(function()
{
var names = $('.username');
var texts = $('.content');
if(names.eq(names.length - 1).html() != 'Man of Snow')
{
    try
    {
        $('#input').value = eval(texts.eq(texts.length - 1).html());
        $('#sayit-button').click();
    }catch(e)
    {
        console.log(e);
    }
}
}, 1000);
Oh fixed font :P
 
no it doesn't facepalm
 
There's the code
I had to press 'fixed font'
 
how do you expect to eval HTML?
 
@DoorknobofSnow Oh right...
@DoorknobofSnow But the html is usually like '1+1'
@DoorknobofSnow It evals the text the user sends
 
7:51 PM
@ManofSnow no, the html would be like <div class="content">1+1</div>
stop pinging me -_-
 
@DoorknobofSnow It's not, I console.log it and it logs normally like '3+3'
That's outerHTML
not html()
 
add console.log(texts.eq(texts.length - 1).html()) and see what it outputs
why would you not use text, anyway? That's obviously the right way
 
Ok, it's logging and using 'text()'
Do your job
 
It logged '1+1'
 
7:53 PM
?
 
I was typing do that again
 
5+5
take a screenshot of your console and send
 
why does it log so many times?!
and anyway there's no error when the input is valid now.
 
The code I now am using is:

window.setInterval(function()
{
var names = $('.username');
var texts = $('.content');
if(names.eq(names.length - 1).html() != 'Man of Snow')
{
    console.log(texts.eq(texts.length - 1).html())
    try
    {
        $('#input').value = eval(texts.eq(texts.length - 1).text());
        $('#sayit-button').click();
    }catch(e)
    {
        console.log(e);
    }
}
}, 1000);
Also, it logs so many times because it checks if I said something after that
If I didn't, then it thinks it didn't evaluate yet
 
7:56 PM
???
 
What looks wrong with the code?
 
anyway, it seems to work now
 
Not really
 
nothing...
does it not work?
 
No, it didn't send the response, right?
Is $('#input').value correct?
 
7:57 PM
does it give an error when I type 1+1?
 
Or is it $('#input').val()
No
 
inputs don't have text, they have values
what happens when I type 1+1?
 
Nothing
I'll try changing it to .val()
 
oh, of course that's why
jQuery objects don't have value properties...
 
Yeah :P
Okay try
 
7:58 PM
2+2
 
ReferenceError {stack: (...), message: "Invalid left-hand side in assignment"}
message: "Invalid left-hand side in assignment"
In response to your '2+2'
 
window.setInterval(function()
{
var names = $('.username');
var texts = $('.content');
if(names.eq(names.length - 1).html() != 'Man of Snow')
{
    console.log(texts.eq(texts.length - 1).html())
    try
    {
        $('#input').val() = eval(texts.eq(texts.length - 1).text());
        $('#sayit-button').click();
    }catch(e)
    {
        console.log(e);
    }
}
}, 1000);
 
facepalm
you really are clueless about jQuery, right?
change to:
$('#input').val(eval(texts.eq(texts.length - 1).text()));
 
:P I'm so stupid
Do your job
 
8:00 PM
2+2
 
ReferenceError {stack: (...), message: "Invalid left-hand side in assignment"}
message: "Invalid left-hand side in assignment"
stack: (...)
get stack: function () { [native code] }
set stack: function () { [native code] }
__proto__: Error
Code is
window.setInterval(function()
{
var names = $('.username');
var texts = $('.content');
if(names.eq(names.length - 1).html() != 'Man of Snow')
{
    console.log(texts.eq(texts.length - 1).html())
    try
    {
        $('#input').val() = $('#input').val(eval(texts.eq(texts.length - 1).text()));
        $('#sayit-button').click();
    }catch(e)
    {
        console.log(e);
    }
}
}, 1000);
 
...now what's your full code?
you didn't change it...?
 
window.setInterval(function()
{
var names = $('.username');
var texts = $('.content');
if(names.eq(names.length - 1).html() != 'Man of Snow')
{
    console.log(texts.eq(texts.length - 1).html())
    try
    {
        $('#input').val() = $('#input').val(eval(texts.eq(texts.length - 1).text()));
        $('#sayit-button').click();
    }catch(e)
    {
        console.log(e);
    }
}
}, 1000);
 
you're still assigning to $('#input').val()...
you didn't change anything
 
oh :P
How did I not see that
 
8:01 PM
...
 
Ok try
 
Huray
 
8:02 PM
while(true){}
 

« first day (94 days earlier)      last day (980 days later) »