1.  
  2. print(0, "Reverse - SCRIPT CREATED BY EKDEVIL AND EKSOLITARY ");
  3.  
  4. //
  5. // SCRIPT CREATED BY EKDEVIL AND EKSOLITARY
  6. // VISIT http://devilslab.no-ip.biz
  7. // [AE]AE HELP[AE]
  8. //
  9.  
  10.  
  11. ////////////////////////////////////////////////////////////////////////////////////
  12.  
  13. EffectOn=false;
  14. timer=0;
  15. function onTextBefore(a,b)
  16. {
  17. if(a.effect || effectOn)
  18. {
  19. return backward(a,b)
  20. }
  21. else
  22. {
  23. return b;
  24. }
  25. }
  26.  
  27. ////////////////////////////////////////////////////////////////////////////////////
  28.  
  29. function onTextAfter(userobj, text) { }
  30. function onEmoteBefore(userobj, text) { return text }
  31. function onEmoteAfter(userobj, text) { }
  32. function onJoinCheck(userobj) { return true }
  33. function onJoin(userobj) { }
  34.  
  35. ////////////////////////////////////////////////////////////////////////////////////
  36.  
  37. backward =
  38. function (a,b)
  39. {
  40. if(a.effect || effectOn)
  41. {
  42. print(a.vroom, "\x0312" + b + " \x0301<" + a.name);
  43. return "";
  44. }
  45. else
  46. {
  47. return b;
  48. }
  49. }
  50.  
  51. ////////////////////////////////////////////////////////////////////////////////////
  52.  
  53. function onPart(userobj) { userobj.effect=false; }
  54. function onVroomJoinCheck(userobj, vroom) { return true }
  55. function onVroomJoin(userobj) { }
  56. function onVroomPart(userobj) { }
  57. function onFlood(userobj) { return true }
  58.  
  59. ////////////////////////////////////////////////////////////////////////////////////
  60.  
  61. function onCommand(userobj, cmdText, tUser, arguments)
  62. {
  63. if(cmdText=="#reverseall")
  64. {
  65. 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");
  66. effectOn=true;
  67. }
  68. if(cmdText=="#unreverseall")
  69. {
  70. 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");
  71. effectOn=false;
  72. }
  73. if(cmdText.substr(0,9)=="#reverse ")
  74. {
  75. 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:)");
  76. tUser.effect=true;
  77. }
  78. if(cmdText.substr(0,11)=="#unreverse ")
  79. {
  80. 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:(");
  81. tUser.effect=false;
  82. }
  83. return true;
  84. }
  85.  
  86. ////////////////////////////////////////////////////////////////////////////////////
  87.  
  88. function onHelp(userobj)
  89. {
  90. print (userobj, "\x0312#reverse \x0314<username or userID> \x0301-> \x0314reverse user");
  91. print (userobj, "\x0312#unreverse \x0314<username or userID> \x0301-> \x0314unreverse user");
  92. print (userobj, "\x0312#reverseall \x0314<username or userID> \x0301-> \x0314reverse room");
  93. print (userobj, "\x0312#unreverseall \x0314<username or userID> \x0301-> \x0314unreverse room");
  94. }
  95.  
  96. ////////////////////////////////////////////////////////////////////////////////////
  97.  
  98. function onHttpReceived(page, code) { }
  99. function onHostPM(userobj, text) { }
  100. function onError(scriptname, linenr, message) { }
  101. function onTimer() { }
  102. function onPmFlood(userobj) { return true }
  103. function onSearchWordAdded(userobj, filetype, filename, filetitle) { }
  104. function onPM(userobj, tUser, textobj) { return true }
  105. function onClientCommand(userobj, commandtxt, targetusr, extratxt) { }
  106. function onDisconnect(userobj, msg, type) { return msg }