Valhalla Legends Archive

Programming => General Programming => Visual Basic Programming => Topic started by: zeth369 on October 04, 2004, 05:06 PM

Title: Greets
Post by: zeth369 on October 04, 2004, 05:06 PM

If frmGreet.optYes.Value = True Then
CSB.Send frmGreet.Greettxt.Text
AddChat vbRed, "<" & CSB.Username & ">" & frmGreet.Greettxt.Text
End If

I put that in my user joins event.. and it wont work.. why not -.-?
Title: Re: Greets
Post by: Networks on October 04, 2004, 05:12 PM
Value = vbchecked should work instead of true.

Also it's nice to tab in statements. Makes things look neat!
Title: Re: Greets
Post by: zeth369 on October 04, 2004, 05:20 PM
that still doesnt work..
Title: Re: Greets
Post by: Networks on October 04, 2004, 05:22 PM
Quote from: zeth369 on October 04, 2004, 05:20 PM
that still doesnt work..

roffle, I'm stupid, it wasn't a check box my bad.

What's the error message?
Title: Re: Greets
Post by: zeth369 on October 04, 2004, 05:37 PM
.. no error msg.. just nothing happens..
Title: Re: Greets
Post by: Warrior on October 04, 2004, 05:49 PM
I declare a public boolean then write to the config, check if its in the config, if it is the boolean = true and fire the greet anything else nothing happens.
Title: Re: Greets
Post by: zeth369 on October 04, 2004, 05:56 PM
o wait.. i see the problem.. the value wasnt true -.-
Title: Re: Greets
Post by: Networks on October 04, 2004, 06:29 PM
Quote from: zeth369 on October 04, 2004, 05:56 PM
o wait.. i see the problem.. the value wasnt true -.-

-.-
Title: Re: Greets
Post by: Warrior on October 04, 2004, 09:37 PM
LOL OMG