• Welcome to Valhalla Legends Archive.
 

Say Command

Started by zeth369, January 15, 2005, 12:35 AM

Previous topic - Next topic

zeth369

=-/ 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?

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.
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!

Warrior

Does the Username = Master  :P
Quote from: effect on March 09, 2006, 11:52 PM
Islam is a steaming pile of fucking dog shit. Everything about it is flawed, anybody who believes in it is a terrorist, if you disagree with me, then im sorry your wrong.

Quote from: Rule on May 07, 2006, 01:30 PM
Why don't you stop being American and start acting like a decent human?

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.

if Left(Message,Len(Trigger)+3) = Trigger & "say" then

Try something like that
rebundance - having or being in excess of sheer stupidity
(ré-bun-dance)
Quote from: Spht on June 22, 2004, 07:32 PMSlap.
Quote from: Adron on January 28, 2005, 09:17 AMIn a way, I believe that religion is inherently evil, which includes Christianity. I'd also say Christianity is eviller than Buddhism (has more potential for evil).
Quote from: iago on April 19, 2005, 01:06 PM
CrAz3D's ... is too big vertically, at least, too big with ... iago ...

zeth369

that didnt work..
RTE - 380 'Invalid Property Value'

Highlights this..

.SelColor = saElements(i)

in my addchat mod

Warrior

then its a problem in your AddChat Module? Lol. Cmon lets use our heads here.
Quote from: effect on March 09, 2006, 11:52 PM
Islam is a steaming pile of fucking dog shit. Everything about it is flawed, anybody who believes in it is a terrorist, if you disagree with me, then im sorry your wrong.

Quote from: Rule on May 07, 2006, 01:30 PM
Why don't you stop being American and start acting like a decent human?

CrAz3D

Show us the place where you're trying to AddChat that makes it give you the error.
rebundance - having or being in excess of sheer stupidity
(ré-bun-dance)
Quote from: Spht on June 22, 2004, 07:32 PMSlap.
Quote from: Adron on January 28, 2005, 09:17 AMIn a way, I believe that religion is inherently evil, which includes Christianity. I'd also say Christianity is eviller than Buddhism (has more potential for evil).
Quote from: iago on April 19, 2005, 01:06 PM
CrAz3D's ... is too big vertically, at least, too big with ... iago ...

zeth369

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

Warrior

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.
Quote from: effect on March 09, 2006, 11:52 PM
Islam is a steaming pile of fucking dog shit. Everything about it is flawed, anybody who believes in it is a terrorist, if you disagree with me, then im sorry your wrong.

Quote from: Rule on May 07, 2006, 01:30 PM
Why don't you stop being American and start acting like a decent human?

CrAz3D

I've made ALOT of stupid errors that have thrown me off for like an hour, its all good.
rebundance - having or being in excess of sheer stupidity
(ré-bun-dance)
Quote from: Spht on June 22, 2004, 07:32 PMSlap.
Quote from: Adron on January 28, 2005, 09:17 AMIn a way, I believe that religion is inherently evil, which includes Christianity. I'd also say Christianity is eviller than Buddhism (has more potential for evil).
Quote from: iago on April 19, 2005, 01:06 PM
CrAz3D's ... is too big vertically, at least, too big with ... iago ...

Warrior

So aside from that error did it work?
Quote from: effect on March 09, 2006, 11:52 PM
Islam is a steaming pile of fucking dog shit. Everything about it is flawed, anybody who believes in it is a terrorist, if you disagree with me, then im sorry your wrong.

Quote from: Rule on May 07, 2006, 01:30 PM
Why don't you stop being American and start acting like a decent human?

zeth369