[CODE TIDBIT]CBL Check

Posts 19 of 9 · Page 1 of 1
[CODE TIDBIT]CBL Check
Heres my CBL check method.
VB.net
Code:
    Public Sub CBLDirty(ByVal player As String)
        Try
            Dim Strings As String
            Dim wc As New WebClient

            Strings = wc.DownloadString("http://thecaconline.net/cbl/player/" + person + ".html") 
            wc.Dispose() 
            If Strings.Contains("http://thecaconline.net/cbl/images/dirty.png") Then
                'PLAYER IS CBL DIRTY
                return true
            Else
                'PLAYER IS CBL CLEAN
                return false
            End If
            

        Catch ex As Exception
            MsgBox("Error!")
            'error
        End Try
    End Sub
GJ Ajv! Keep the tuts up. Thanks for Sharing
This is more of a copy paste thing, but im getting better at my coding in various things thanks to MPGH.
Good job, will be useful for some
do you have to make textboxes and buttons?
They Have Upgraded There Wesite.. its now CBL 2.0
Good job .
Anyone confirmed that it works?
Why would I post non working code, think about it.

flameswor10: no, its a function so you would use it like
if CBLDirty("PLAYER NAME") then
msgbox "PLayer dirty"
else
msgbox "PLayer clean"
end if
Posts 19 of 9 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?