Advertisement
_MM_IKKE

CPUcontrol.ini

Nov 21st, 2018
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 6.15 KB | None | 0 0
  1. [script]
  2. n0=on 500,543:TEXT:*:#: { halt }
  3. n1=on *:LOAD: {
  4. n2=  echo -at Loaded CPU Control
  5. n3=  echo -at No new variables added, all are global
  6. n4=}
  7. n5=on *:UNLOAD: {
  8. n6=  echo -at Unloaded CPU Control
  9. n7=  echo -at No variables unset, all are global
  10. n8=}
  11. n9=on *:TEXT:!open*:#[MM]IKKE,#[MM]IKKE.echo: {
  12. n10=  if ($me == %bot1 && $nick == %owner && $1 == !open) {
  13. n11=    if ($2 == $null) { scon $bot_say($chan) msg $chan 4ERROR: Usage: !open <file|profile> }
  14. n12=    elseif ($2 == profile) {
  15. n13=      if ($isfile(Stats\ $+ $3 $+ .txt)) {
  16. n14=        run notepad.exe "\Stats\ $+ $3 $+  "
  17. n15=        scon $bot_say($chan) msg $chan Opening user profile " $+ $3 $+ .txt"
  18. n16=      }
  19. n17=      else {
  20. n18=        scon $bot_say($chan) msg $chan 4ERROR: File doesn't exist
  21. n19=      }
  22. n20=    }
  23. n21=    /*
  24. n22=    elseif (.doc isin $2-) {
  25. n23=      if ($isfile("C:\Users\user\Desktop\ $+ $2- $+ ")) {
  26. n24=        run WINWORD.EXE /q /t "C:\Users\user\Desktop\ $+ $2- $+ "
  27. n25=        scon $bot_say($chan) msg $chan Opening document "C:\Users\user\Desktop\ $+ $2- $+ " in Microsoft Office Word 2007
  28. n26=      }
  29. n27=      elseif ($isfile("C:\Users\user\Documents\ $+ $2- $+ ")) {
  30. n28=        run WINWORD.EXE /q /t "C:\Users\User\Documents\ $+ $2- $+ "
  31. n29=        scon $bot_say($chan) msg $chan Opening document "C:\Users\User\Documents\ $+ $2 $+ " in Microsoft Office Word 2007
  32. n30=      }
  33. n31=      else {
  34. n32=        scon $bot_say($chan) msg $chan 4ERROR: File does not exist (maybe search other directories?)
  35. n33=      }
  36. n34=    }
  37. n35=    elseif (.xls isin $2-) {
  38. n36=      if ($isfile("C:\Users\User\Desktop\ $+ $2- $+ ")) {
  39. n37=        run EXCEL.EXE /t "C:\Users\User\Desktop\ $+ $2- $+ "
  40. n38=        scon $bot_say($chan) msg $chan Opening document "C:\Users\User\Desktop\ $+ $2- $+ " in Microsoft Office Excel 2007
  41. n39=      }
  42. n40=      elseif ($isfile("C:\Users\User\Documents\ $+ $2- $+ ")) {
  43. n41=        run EXCEL.EXE /t "C:\Users\User\Documents\ $+ $2- $+ "
  44. n42=        scon $bot_say($chan) msg $chan Opening document "C:\Users\User\Documents\ $+ $2- $+ " in Microsoft Office Excel 2007
  45. n43=      }
  46. n44=      else {
  47. n45=        scon $bot_say($chan) msg $chan 4ERROR: File does not exist (maybe search other directories?)
  48. n46=      }
  49. n47=    }
  50. n48=    elseif (.txt isin $2-) {
  51. n49=      if ($isfile($2)) {
  52. n50=        run notepad.exe $2
  53. n51=        scon $bot_say($chan) msg $chan Opening document $2 in notepad
  54. n52=      }
  55. n53=      elseif ($exists(PMs\ $+ $2- )) {
  56. n54=        run notepad.exe "C:\Users\user\Documents\mIRC\PMs\ $+ $2 $+ "
  57. n55=        scon $bot_say($chan) msg $chan Opening PMs with $2  (" $+ $2 $+ ")
  58. n56=
  59. n57=      }
  60. n58=      elseif ($isfile("C:\Users\User\Desktop\ $+ $2- $+ ")) {
  61. n59=        run notepad.exe "C:\Users\User\Desktop\ $+ $2- $+ "
  62. n60=        scon $bot_say($chan) msg $chan Opening document "C:\Users\User\Desktop\ $+ $2- $+ " in notepad
  63. n61=      }
  64. n62=      elseif ($isfile("C:\Users\User\Documents\ $+ $2- $+ ")) {
  65. n63=        run notepad.exe "C:\Users\User\Documents\ $+ $2- $+ "
  66. n64=        scon $bot_say($chan) msg $chan Opening document "C:\Users\User\Documents\ $+ $2- $+ " in notepad
  67. n65=      }
  68. n66=      elseif ($isfile(Stats\ $+ $2)) {
  69. n67=        run notepad.exe "C:\Users\user\Documents\mIRC\Stats\ $+ $2 $+ "
  70. n68=        scon $bot_say($chan) msg $chan Opening user profile " $+ $remove($2,.txt) $+ "
  71. n69=      }
  72. n70=      else {
  73. n71=        scon $bot_say($chan) msg $chan 4ERROR: File does not exist (maybe search other directories?)
  74. n72=      }
  75. n73=    }
  76. n74=    elseif (.tif isin $2- || .gif isin $2- || .dib isin $2- || .bmp isin $2- ||.jfif isin $2- ||  .jpe isin $2- || .jpg isin $2- || .jpeg isin $2- || .png isin $2-) {
  77. n75=      if ($isfile($2)) {
  78. n76=        run OIS.EXE $2
  79. n77=        scon $bot_say($chan) msg $chan Opening picture $2 in Microsoft Office Picture Manager
  80. n78=      }
  81. n79=      elseif ($isfile("C:\Users\User\Desktop\ $+ $2- $+ ")) {
  82. n80=        run OIS.EXE "C:\Users\User\Desktop\ $+ $2- $+ "
  83. n81=        scon $bot_say($chan) msg $chan Opening picture "C:\Users\User\Desktop\ $+ $2- $+ " in Microsoft Office Picture Manager
  84. n82=      }
  85. n83=      elseif ($isfile("C:\Users\User\Documents\ $+ $2- $+ ")) {
  86. n84=        run OIS.EXE "C:\Users\User\Documents\ $+ $2- $+ "
  87. n85=        scon $bot_say($chan) msg $chan Opening picture "C:\Users\User\Documents\ $+ $2- $+ " in Microsoft Office Picture Manager
  88. n86=      }
  89. n87=      elseif ($isfile("C:\Users\user\Pictures\ $+ $2- $+ ")) {
  90. n88=        run OIS.EXE "C:\Users\user\Pictures\ $+ $2- $+ "
  91. n89=        scon $bot_say($chan) msg $chan Opening picture "C:\Users\user\Pictures\ $+ $2- $+ " in Microsoft Office Picture Manager
  92. n90=      }
  93. n91=      else {
  94. n92=        scon $bot_say($chan) msg $chan 4ERROR: File does not exist (maybe search other directories?)
  95. n93=      }
  96. n94=    }
  97. n95=    elseif (.ini isin $2-) {
  98. n96=      if ($isfile($2)) {
  99. n97=        run notepad.exe $2
  100. n98=        scon $bot_say($chan) msg $chan Opening ini file $2 in notepad
  101. n99=      }
  102. n100=      elseif ($isfile(channels\ $+ $2 )) {
  103. n101=        run notepad.exe "C:\Users\user\Documents\mIRC\channels\ $+ $2 $+ "
  104. n102=        scon $bot_say($chan) msg $chan Opening ini file $2 in notepad (channel file)
  105. n103=      }
  106. n104=    }
  107. n105=    elseif ($left($2,1) == $chr(35)) {
  108. n106=      if ($isfile(channels\ $+ $2 $+ .ini)) {
  109. n107=        run notepad.exe "C:\Users\user\Documents\mIRC\channels\ $+ $2 $+ .ini"
  110. n108=        scon $bot_say($chan) msg $chan Opening ini file $2 $+ .ini in notepad (channel file)
  111. n109=      }
  112. n110=    }
  113. n111=    */
  114. n112=    else {
  115. n113=      scon $bot_say($chan) msg $chan 4ERROR: Unknown file extension
  116. n114=    }
  117. n115=  }
  118. n116=  elseif ($me == %bot1 && $1 == !open) { scon $bot_say($chan) msg $chan 4ERROR: You are not authorized to use this command }
  119. n117=}
  120. n118=on *:TEXT:!trace*:#: {
  121. n119=  if ($me == %bot1 && $nick == %owner && $1 == !trace) {
  122. n120=    run chrome.exe http://www.ip-adress.com/ip_tracer/ $+ $2
  123. n121=    scon $bot_say($chan) msg $chan Opening IP-tracer...
  124. n122=  }
  125. n123=  elseif ($me == %bot1 && $1 == !trace) { scon $bot_say($chan) msg $chan 4ERROR: You are not authorized to use this command }
  126. n124=}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement