Created
January 6, 2012 16:23
-
-
Save namusyaka/1571280 to your computer and use it in GitHub Desktop.
auto greeting for chaberi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var t=setInterval(function(){},10000); | |
while(t){clearInterval(--t)} | |
location.href='javascript:'+function outprint(a, place, getmsg) { | |
if (place != "") { | |
_element = UseById(place); | |
if (a == 0) { | |
_element.innerHTML = getmsg | |
} else { | |
var element = document.createElement("div"); | |
element.style.margin = "0px"; | |
element.style.padding = "0px"; | |
element.innerHTML = getmsg.replace(/([^"])(https?\:\/\/[^ <]*)/,'$1<a target="_blank" href="$2">$2</a>'); | |
_element.appendChild(element); | |
if(getmsg.indexOf("</b>さんが入室しました") !== -1) | |
sendMsg('', getmsg.match(/<b>(.+?)<\/b>/)[1] + ', こん,,0,,ff0000', '4'); | |
else if(getmsg.indexOf("</b>さんが退室しました") !== -1) | |
sendMsg('', getmsg.match(/<b>(.+?)<\/b>/)[1] + ', さいなら,,0,,ff0000', '4'); | |
} | |
} | |
} | |
setTimeout("setenter()",700); | |
setTimeout("win_resize()",800); | |
setInterval( "reload_ajbnr3()", 1000 * 60 * 60 ); | |
setInterval("reload_overture_all()", 1000 * 60 * 60 ); | |
setInterval("ChangeAdvAvatar()",1000 * 60 * 3); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment