.
This commit is contained in:
parent
58507d6953
commit
01b40c8561
|
@ -139,7 +139,7 @@ function play(player){
|
||||||
var xhr = new XMLHttpRequest();
|
var xhr = new XMLHttpRequest();
|
||||||
xhr.onreadystatechange = function(){if(xhr.readyState == 4){
|
xhr.onreadystatechange = function(){if(xhr.readyState == 4){
|
||||||
if(xhr.status == 200) {
|
if(xhr.status == 200) {
|
||||||
addLog('message send to bot ' + p ':' + stringToSend);
|
addLog('message send to bot ' + p + ':' + stringToSend);
|
||||||
addLog('his awnser is: ' + xhr.responseTEXT);
|
addLog('his awnser is: ' + xhr.responseTEXT);
|
||||||
|
|
||||||
var reponse = eval(xhr.responseTEXT);
|
var reponse = eval(xhr.responseTEXT);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user