Author | Message | Time |
---|---|---|
BorT | This works fine: [code] If Left(LCase(Message), 6) = "shout " And Len(Message) > 6 Then sckBNLS.Send UCase(Right(Message, Len(Message) - 6)) End If [/code] This doesnt work: [code] If Left(LCase(Message), 4) = "say " And Len(Message) > 4 Then sckBNLS.Send Right(Message, Len(Message) - 4) End If [/code] They are basically the same code, so why does one work but not the other? Thanks. | March 14, 2004, 9:18 PM |
Kp | I'm surprised either works. BNLS doesn't like when people talk to it. | March 14, 2004, 9:22 PM |
BorT | Nevermind, found the problem myself. | March 14, 2004, 9:25 PM |
ChR0NiC | Perhaps you could tell us what it was?? So people will stop wondering ;P | March 14, 2004, 9:33 PM |
tA-Kane | [quote author=UserLoser. link=board=17;threadid=5775;start=0#msg49397 date=1079304127]I'm gussing that's CleanSlateBot. mswinsck.ocx doesn't have a .Send function (it's .SendData)[/quote]I'm more interested in why he's apparently sending the data to BNLS, than what socket interface he's apparently using. | March 15, 2004, 5:07 AM |
Eli_1 | [quote author=tA-Kane link=board=17;threadid=5775;start=0#msg49462 date=1079327239] [quote author=UserLoser. link=board=17;threadid=5775;start=0#msg49397 date=1079304127]I'm gussing that's CleanSlateBot. mswinsck.ocx doesn't have a .Send function (it's .SendData)[/quote]I'm more interested in why he's apparently sending the data to BNLS, than what socket interface he's apparently using. [/quote] I don't think he's sending the data to BNLS, I think he was just confussed when nameing his CSB control... | March 15, 2004, 5:24 AM |
PaiD | [quote] BNLS doesn't like when people talk to it. [/quote] I just like Kp's response on this. I find it funny. | March 15, 2004, 5:44 AM |
g0dFraY | 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. | March 16, 2004, 1:16 AM |
Eli_1 | [quote author=g0dFraY link=board=17;threadid=5775;start=0#msg49634 date=1079399807] 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] Actually, that was my post... :'( | March 16, 2004, 1:43 AM |