Valhalla Legends Forums Archive | Battle.net Bot Development | Void

AuthorMessageTime
TeEhEiMaN
Would this work for veiw void, and Does it even still work?

[/Code]
Private Sub cmdVoid_Click()
Dim thevoid As String
thevoid = Mid(Message, 6, Len(Message))
CleanSlateBot1.Send "/join " & the & void
Dim unignore As String
unignore = Mid(Message, 6, Len(Message))
CleanSlateBot1.Send "/unignore " & unignoreUserName
End Sub

If its messed up can u tell me where?
May 26, 2003, 12:29 AM
iago
[quote author=TeEhEiMaN link=board=17;threadid=1432;start=0#msg10673 date=1053908961]
Would this work for veiw void, and Does it even still work?

[/Code]
Private Sub cmdVoid_Click()
Dim thevoid As String
thevoid = Mid(Message, 6, Len(Message))
CleanSlateBot1.Send "/join " & the & void
Dim unignore As String
unignore = Mid(Message, 6, Len(Message))
CleanSlateBot1.Send "/unignore " & unignoreUserName
End Sub

If its messed up can u tell me where?
[/quote]

You shouldn't dimension variables in the middle of a function
Why are you sending "/join " & the & void.. where are the and void declared/initialized?
Where did you declare/initialize Message?
Where did unignoreUserName come from?
Finally, you have to somehow handle flag changes in the void.
May 26, 2003, 3:15 AM
TeEhEiMaN
well can ya help me out? plz
May 26, 2003, 6:55 PM
Noodlez
He just did help you out. I believe what you meant to ask was "Can you give me the code? I can't write it myself."
May 26, 2003, 7:02 PM
TeEhEiMaN
well shit i tried
May 26, 2003, 7:54 PM
TeEhEiMaN
can you please help me a little bit better?
May 26, 2003, 9:42 PM
TeEhEiMaN
I got the void part to work, but now i gotta get this to work

CleanSlateBot1.Send "/unignore Form2.txtUsername.Text"

I dont think that works but how would I do it so it will unignore the master, also if you guys could help me with flag. Thank you very much.

But look Im learning I got some of the stuff to work! :)
May 26, 2003, 9:58 PM
TeEhEiMaN
[code]
Private Sub cmdVoid_Click()
Dim thevoid As String
thevoid = Mid(Message, 6, Len(Message))
CleanSlateBot1.Send "/join " & " the void"
Dim unignore As String
unignore = Mid(Message, 6, Len(Message))
CleanSlateBot1.Send "/unignore " & Form2.txtUsername.Text
End Sub
[/code]

Ok that code works, But now i gotta be able to do the flag change, and I suck with flags. So can someone plzzz Help me with this, and for everyone saying im copy + pasiten and not learning anything. Thats not true cause i did this from what i learned from u guys. Thanks!
May 27, 2003, 3:50 AM
Kp
[quote author=TeEhEiMaN link=board=17;threadid=1432;start=0#msg10840 date=1054007431]
But now i gotta be able to do the flag change, and I suck with flags.[/quote]Sure. When you get a flags-update event, search the list of in-channel users for a matching user. If found, update his flags and return. If you reach the end of the list without finding the user, then the update is for a user who is presently invisible. Since you are seeking to sense invisible users, you should display a notice when receiving a flags-update on a user who is not marked as in-channel.
May 27, 2003, 3:54 AM
TeEhEiMaN
[code]
and I suck with flags.
[/code]

can you help me a little bit more with that please?
May 27, 2003, 4:05 AM

Search