Valhalla Legends Forums Archive | Visual Basic Programming | colors

AuthorMessageTime
SPY-3
I need some examples of code that would make it so ÁQ would be colored.
ÁQ grey
ÁR green
ÁY red
ÁV blue
ÁP white
ÁZ yellow
and all in one message cause most time people wont just use one color in there messages. i also want to add diablo ones but i could figure it out from the code to do sc so can someone post code to do this? :D
August 23, 2004, 10:07 AM
Eli_1
[code]
myArray = Split(Message, "Á")
For i = 0 to UBound(myArray)
If IsAColorConstant(Left$(myArray(i), 1)) Then
DisplayCorrectColor(Right$(myArray, Len(myArray) - 1), AppropriateColor)
End If
Next i
[/code]
August 23, 2004, 3:30 PM
SPY-3
thank you! :D even though i didnt use it thanks for posting code
August 24, 2004, 11:34 AM

Search