=-/ I cant get the say command working.. I tried ..
If Message = Trigger & "say" Then
If Username = Master Then CSB.Send Mid(Message, 6)
in the user_talk sub.. its not workin tho.. any suggestions?
Have you considered debugging? What are the values of Trigger, Username, Message, Master when someone speaks? Don't just post what you think they are, check their actual values and post those.
Does the Username = Master :P
The problem is that you're check to see if the WHOLE message is Trigger & "say"....you should only be checking the length of the trigger & say.
if Left(Message,Len(Trigger)+3) = Trigger & "say" then
Try something like that
that didnt work..
RTE - 380 'Invalid Property Value'
Highlights this..
.SelColor = saElements(i)
in my addchat mod
then its a problem in your AddChat Module? Lol. Cmon lets use our heads here.
Show us the place where you're trying to AddChat that makes it give you the error.
AddChat , 696969, "<", vbCyan, frmConfig.txtUsername.Text, 696969, "> ", vbWhite, Mid(Message, 6)
is the addchat
[edit]shit.. i think i found the problem
[edit] yea.. i put a comma after AddChat.. im so stupid, but thanks the say does work.. lol
This is a little trivial and should be moved to the Visual Basic forum since it doesnt directly deal with Battle.net it deals more with string manipulation.
Also @ your error : Lol.
I've made ALOT of stupid errors that have thrown me off for like an hour, its all good.
So aside from that error did it work?
yes =-/