Hey, my bot is working and connected to battle.net now (my coding woo!), but i am stuck on Channel View, i have this atm:
Username = PublicModule.KillNull(Mid(Data, 29))
ListView1.ListItems.Add Username
I have a feeling i need more to add to that, and more coding, but like what :(
Cany anybody help me on this?
How does one make a Connection to Battle.net yet not know how to add something to a listview?
he didn't make that big an error, only the adding part if ur just adding a user name u could do
ListView1.ListItems.Add , , username
Quote from: Warrior on November 08, 2004, 02:00 PM
How does one make a Connection to Battle.net yet not know how to add something to a listview?
He obviously didn't, but it's not going to get better when people like Yegg just go and post the answer without explaining it. Which results in Copy/Paste.
well sorry if i helped some1.
Quote from: Yegg on November 08, 2004, 07:33 PM
well sorry if i helped some1.
i think the point of his post was that you didn't help anyone.
just EDIT your post explaining why you need to have , , when adding only text.
I made a attempt and missed , ,
Quote from: Warrior on November 08, 2004, 02:00 PM
How does one make a Connection to Battle.net yet not know how to add something to a listview?
It is my my coding........
Thx for help guys
oh and, can sum1 explain why i have to have , , ?
Quote from: EviL_MarinE on November 09, 2004, 12:46 PM
oh and, can sum1 explain why i have to have , , ?
Read the yellow help text which displays when you write "Listview1.ListItems.Add "
You're omitting the first two params.
Quote from: hismajesty[yL] on November 09, 2004, 04:26 PM
You're omitting the first two params.
Which by the way are Index and Key. Neither are necessary in order for it to work.
aight my channel view is nearly 100% right, it adds and removes the name on JOIN and LEAVE
it displays and removes the names that join AFTER the bot joins
I want it to display the names in the channel already
Can anybody help me? ;D
Quote from: EviL_MarinE on November 12, 2004, 11:02 AMaight my channel view is nearly 100% right, it adds and removes the name on JOIN and LEAVE
it displays and removes the names that join AFTER the bot joins
I want it to display the names in the channel already
Can anybody help me? ;D
Yes. Add the name when you get the USER event (but beware duplicate updates).