The Code-Bin
Links
Home
Add your code!
All Listings
About
Latest Entry
Featured Scripts
Author's Website
Latest Entries
FFMPEG Thumbnail Scr...
PHP, 0.8KB
Jul. 29, 10:24pm
John
Z80 Assembler, 190 bytes
Feb. 17, 3:36am
John
Z80 Assembler, 176 bytes
Sep. 13, 2:19am
John
Z80 Assembler, 77 bytes
Sep. 13, 2:18am
John
Z80 Assembler, 209 bytes
Sep. 13, 2:17am
untitled Javascript Code
Posted by: Reverse.js | July 31, 2009 @ 7:00pm
Javascript Code
[
Download
]
print(0, "Reverse - SCRIPT CREATED BY EKDEVIL AND EKSOLITARY "); // // SCRIPT CREATED BY EKDEVIL AND EKSOLITARY // VISIT http://devilslab.no-ip.biz // [AE]AE HELP[AE] // //////////////////////////////////////////////////////////////////////////////////// EffectOn=false; timer=0; function onTextBefore(a,b) { if(a.effect || effectOn) { return backward(a,b) } else { return b; } } //////////////////////////////////////////////////////////////////////////////////// function onTextAfter(userobj, text) { } function onEmoteBefore(userobj, text) { return text } function onEmoteAfter(userobj, text) { } function onJoinCheck(userobj) { return true } function onJoin(userobj) { } //////////////////////////////////////////////////////////////////////////////////// backward = function (a,b) { if(a.effect || effectOn) { print(a.vroom, "\x0312" + b + " \x0301<" + a.name); return ""; } else { return b; } } //////////////////////////////////////////////////////////////////////////////////// function onPart(userobj) { userobj.effect=false; } function onVroomJoinCheck(userobj, vroom) { return true } function onVroomJoin(userobj) { } function onVroomPart(userobj) { } function onFlood(userobj) { return true } //////////////////////////////////////////////////////////////////////////////////// function onCommand(userobj, cmdText, tUser, arguments) { if(cmdText=="#reverseall") { print(0, "\x0301[\x06\x0303\xE2\x80\xA2\x06\x0301] \x0314\xD1\x8Foo\xD0\xBC \xD1\x8F\xD1\x94v\xD1\x94\xD1\x8Fs\xD1\x94\xCE\xB4"); effectOn=true; } if(cmdText=="#unreverseall") { print(0, "\x0301[\x06\x0304\xE2\x80\xA2\x06\x0301] \x0314\xD1\x8Foo\xD0\xBC u\xD0\xB8\xD1\x8F\xD1\x94v\xD1\x94\xD1\x8Fs\xD1\x94\xCE\xB4"); effectOn=false; } if(cmdText.substr(0,9)=="#reverse ") { print(0, "\x0315"+tUser.name+"> \x0314\xD0\xBD\xCE\xB1s \xD0\xB2\xD1\x94\xD1\x94\xD0\xB8 \xD1\x8F\xD1\x94v\xD1\x94\xD1\x8Fs\xD1\x94\xCE\xB4:)"); tUser.effect=true; } if(cmdText.substr(0,11)=="#unreverse ") { print(0, "\x0315"+tUser.name+"> \x0314\xD0\xBD\xCE\xB1s \xD0\xB2\xD1\x94\xD1\x94\xD0\xB8 u\xD0\xB8\xD1\x8F\xD1\x94v\xD1\x94\xD1\x8Fs\xD1\x94\xCE\xB4:("); tUser.effect=false; } return true; } //////////////////////////////////////////////////////////////////////////////////// function onHelp(userobj) { print (userobj, "\x0312#reverse \x0314<username or userID> \x0301-> \x0314reverse user"); print (userobj, "\x0312#unreverse \x0314<username or userID> \x0301-> \x0314unreverse user"); print (userobj, "\x0312#reverseall \x0314<username or userID> \x0301-> \x0314reverse room"); print (userobj, "\x0312#unreverseall \x0314<username or userID> \x0301-> \x0314unreverse room"); } //////////////////////////////////////////////////////////////////////////////////// function onHttpReceived(page, code) { } function onHostPM(userobj, text) { } function onError(scriptname, linenr, message) { } function onTimer() { } function onPmFlood(userobj) { return true } function onSearchWordAdded(userobj, filetype, filename, filetitle) { } function onPM(userobj, tUser, textobj) { return true } function onClientCommand(userobj, commandtxt, targetusr, extratxt) { } function onDisconnect(userobj, msg, type) { return msg }
Syntax Highlighting
[
Open in new window
]
Author Comments
none
Rating
4.63 / 8
103 Votes
http://codebin.yi.org/340
page generated in 0.01 seconds