• Welcome to Valhalla Legends Archive.
 

Whats wrong with this...say/shout command

Started by BorT, March 14, 2004, 03:18 PM

Previous topic - Next topic

BorT

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.

Kp

I'm surprised either works.  BNLS doesn't like when people talk to it.
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!

BorT


ChR0NiC

Perhaps you could tell us what it was??
So people will stop wondering ;P

tA-Kane

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.
Macintosh programmer and enthusiast.
Battle.net Bot Programming: http://www.bash.org/?240059
I can write programs. Can you right them?

http://www.clan-mac.com
http://www.eve-online.com

Eli_1

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...

PaiD

Quote
BNLS doesn't like when people talk to it.
I just like Kp's response on this. I find it funny.

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.

Eli_1

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...  :'(