Author | Message | Time |
---|---|---|
zeth369 | =-/ I cant get the say command working.. I tried .. [code] If Message = Trigger & "say" Then If Username = Master Then CSB.Send Mid(Message, 6) [/code] in the user_talk sub.. its not workin tho.. any suggestions? | January 15, 2005, 6:35 AM |
Kp | 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. | January 15, 2005, 6:49 AM |
Quarantine | Does the Username = Master :P | January 15, 2005, 4:21 PM |
CrAz3D | 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. [code]if Left(Message,Len(Trigger)+3) = Trigger & "say" then[/code] Try something like that | January 15, 2005, 4:34 PM |
zeth369 | that didnt work.. RTE - 380 'Invalid Property Value' Highlights this.. [code] .SelColor = saElements(i) [/code] in my addchat mod | January 15, 2005, 5:03 PM |
Quarantine | then its a problem in your AddChat Module? Lol. Cmon lets use our heads here. | January 15, 2005, 5:06 PM |
CrAz3D | Show us the place where you're trying to AddChat that makes it give you the error. | January 15, 2005, 5:10 PM |
zeth369 | 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 | January 15, 2005, 5:13 PM |
Quarantine | 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. | January 15, 2005, 5:25 PM |
CrAz3D | I've made ALOT of stupid errors that have thrown me off for like an hour, its all good. | January 15, 2005, 5:26 PM |
Quarantine | So aside from that error did it work? | January 15, 2005, 5:31 PM |
zeth369 | yes =-/ | January 15, 2005, 5:32 PM |