This works fine:
If Left(LCase(Message), 6) = "shout " And Len(Message) > 6 Then
sckBNLS.Send UCase(Right(Message, Len(Message) - 6))
End If
This doesnt work:
If Left(LCase(Message), 4) = "say " And Len(Message) > 4 Then
sckBNLS.Send Right(Message, Len(Message) - 4)
End If
They are basically the same code, so why does one work but not the other?
Thanks.
I'm surprised either works. BNLS doesn't like when people talk to it.
Nevermind, found the problem myself.
Perhaps you could tell us what it was??
So people will stop wondering ;P
Quote from: UserLoser. on March 14, 2004, 04:42 PMI'm gussing that's CleanSlateBot. mswinsck.ocx doesn't have a .Send function (it's .SendData)
I'm more interested in why he's apparently sending the data to BNLS, than what socket interface he's apparently using.
Quote from: tA-Kane on March 14, 2004, 11:07 PM
Quote from: UserLoser. on March 14, 2004, 04:42 PMI'm gussing that's CleanSlateBot. mswinsck.ocx doesn't have a .Send function (it's .SendData)
I'm more interested in why he's apparently sending the data to BNLS, than what socket interface he's apparently using.
I don't think he's sending the data to BNLS, I think he was just confussed when nameing his CSB control...
Quote
BNLS doesn't like when people talk to it.
I just like Kp's response on this. I find it funny.
yes i find it quiet funny too. Yet im interested. and i agree with ta-kane, i think he might have named the CSB control incorrectly. Oyea as long as he worked it out for himself and learned from it im not complaning.
Quote from: g0dFraY on March 15, 2004, 07:16 PM
yes i find it quiet funny too. Yet im interested. and i agree with ta-kane, i think he might have named the CSB control incorrectly. Oyea as long as he worked it out for himself and learned from it im not complaning.
Actually, that was my post... :'(