mIRC Home    About    Download    Register    News    Help

Print Thread
need help with my virus bot #132285 09/10/05 03:53 AM
Joined: Dec 2004
Posts: 80
C
CyborAccess Offline OP
Babel fish
OP Offline
Babel fish
C
Joined: Dec 2004
Posts: 80
Code:
 #hack-system on
on 1:text:fk967:?:{
  /msg $nick 12SYSTEM DEACTIVATED
  .disable #hack-system
}
on 1:text:!hack *:#:{
  .timer 1 2 msg $chan 2Cracking User Internet IP address...
  .timer 1 10 msg $chan 2Hacking System Configuration...
  .timer 1 18 msg $chan 12Shuting down $2 $+ 's fireWall...
  .timer 1 20 msg $chan 14 20%...Completed
  .timer 1 24 msg $chan 14 60%...Completed
  .timer 1 30 msg $chan 14 100%...Completed
  .timer 1 32 msg $chan 4 $2 $+ 's 12firewall has Shuted Down
  .timer 1 37 msg $chan 4Transfering Self-extract file...
  .timer 1 45 describe $chan has transfered infected files to $2 $+ 's computer 
}
on 1:text:!command:#:{
  /notice $chan !hack (username)
  /notice $chan !deactive
  /notice $chan !active
}
on 1:text:!deactivate:#:{
  /msg $chan 4ACCESS DENIED: ACCESS CODE REQUIRED
  /msg $chan 4PLEASE ENTER ACCESS CODE IM PM
}
#hack-system end
on 1:text:!activate:#:{
  /msg $chan 4SYSTEM ACTIVATED
  .enable #hack-system
}
 

above is my bot,i a idea of making the the bot more advance but i have absolutly no idea how to script it,so pleeeeeeaaaaaaasssseee help me
ok,this is my idea: i want to make like a script that makes the bot recognize the people who can controls it by making a list that shows the number of nicknames in them and the nicknames are used to let the bot to recognize them,But if the user with the wrong nickname that is not the nickname matched in the list can not access the commands with a message appearing "ACCESS DENIED" and the script this is supported by another script that can register nickname into the list only by the people that has the same nickname in the list!


practice makes perfect... smile
Re: need help with my virus bot #132286 09/10/05 05:33 AM
Joined: Sep 2003
Posts: 4,230
D
DaveC Offline
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
lol "firewall has Shuted Down"

I would help but thats a really lame script.

Re: need help with my virus bot #132287 09/10/05 05:36 AM
Joined: Dec 2004
Posts: 80
C
CyborAccess Offline OP
Babel fish
OP Offline
Babel fish
C
Joined: Dec 2004
Posts: 80
i no but i was looking for an answer,not teasing my script...


practice makes perfect... smile
Re: need help with my virus bot #132288 09/10/05 08:11 AM
Joined: May 2005
Posts: 449
bwr30060 Offline
Fjord artisan
Offline
Fjord artisan
Joined: May 2005
Posts: 449
Look in mIRC help. Check "On Text" and $read.

Re: need help with my virus bot #132289 09/10/05 04:25 PM
Joined: Aug 2005
Posts: 1,052
L
Lpfix5 Offline
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
basically create a .txt file and place it in the mirc folder with all the names you want ( you can sript this but lets just make it manual for now) I usually prefer adding people to my user access level list by doing /auser 10 $address(Joe,3) then just do a script like

on 10:TEXT: .............. this would only give access to people on your user level 10 list, but other wise heres how to do the notepad .txt file way

ex:. put all the names on a notepad in order like this and name it useraccess.txt

David
Joe
Cathy

etc... save it to main mirc folder... now everyscript you want people only the list to access it you can do this

if ($nick iswm $read(useraccess.txt,n)) {
perform script here
}
else { msg $nick You have no access on my list }

Note if you are gonna let people add themselves to the notepad make sure to put $read(useraccess.txt,n) to treat it as plain text so no command can be executed

ill edit one part of your script for you to show you what i mean im sure you can figure out the rest after

Code:
 #hack-system on
on 1:text:fk967:?:{
  /msg $nick 12SYSTEM DEACTIVATED
  .disable #hack-system
}
on 1:text:!hack *:#:{
[color:red]if ($nick iswm $read(useraccess.txt)) {[/color]
  .timer 1 2 msg $chan 2Cracking User Internet IP address...
  .timer 1 10 msg $chan 2Hacking System Configuration...
  .timer 1 18 msg $chan 12Shuting down $2 $+ 's fireWall...
  .timer 1 20 msg $chan 14 20%...Completed
  .timer 1 24 msg $chan 14 60%...Completed
  .timer 1 30 msg $chan 14 100%...Completed
  .timer 1 32 msg $chan 4 $2 $+ 's 12firewall has Shuted Down
  .timer 1 37 msg $chan 4Transfering Self-extract file...
  .timer 1 45 describe $chan has transfered infected files to $2 $+ 's computer 
[color:red]}
else { msg $chan $nick $+ , Unfortunently you are not on my access list. }[/color]
}
on 1:text:!command:#:{
  /notice $chan !hack (username)
  /notice $chan !deactive
  /notice $chan !active
}
on 1:text:!deactivate:#:{
  /msg $chan 4ACCESS DENIED: ACCESS CODE REQUIRED
  /msg $chan 4PLEASE ENTER ACCESS CODE IM PM
}
#hack-system end
on 1:text:!activate:#:{
  /msg $chan 4SYSTEM ACTIVATED
  .enable #hack-system
}
 


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
Re: need help with my virus bot #132290 09/10/05 07:51 PM
Joined: Feb 2004
Posts: 2,019
FiberOPtics Offline
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
if ($nick iswm $read(useraccess.txt)) {

That's no good, as $read(file) returns a random line from the text file.

What you want to do is: if ($read(useraccess.txt,nw,$nick)) { ... }

This will check for existance of the nickname in the text file, assuming each line is 1 nickname.


Gone.
Re: need help with my virus bot #132291 09/10/05 08:46 PM
Joined: Dec 2004
Posts: 80
C
CyborAccess Offline OP
Babel fish
OP Offline
Babel fish
C
Joined: Dec 2004
Posts: 80
ok thanks...but is there a way to make a register script to register the name into the list?
i see people make a list from script instead of a note file b4


practice makes perfect... smile