I want to (1) be able to change the case of some characters of text, ie manipulate strings. And (2) be able to apply color codes to the first or random letters in text.
Eg if i type:
say My name is Insano
I have made an alias to send the text i want manipulated to a sub. just dont know what the vbasic way to manipulate strings.
(1) I want to be able to change the text to say
"mY namE is InSaNo", where there is a random percentage chance (50% maybe) of alternating the case of one character.
(2) "$4M$2y $4n$2ame $4i$2s $4I$2nsano"
where $4 is put before all the first text and represents the color code. then $2 is the color of the rest of the message.
I got no ideas,
Thanks
Eg if i type:
say My name is Insano
I have made an alias to send the text i want manipulated to a sub. just dont know what the vbasic way to manipulate strings.
(1) I want to be able to change the text to say
"mY namE is InSaNo", where there is a random percentage chance (50% maybe) of alternating the case of one character.
(2) "$4M$2y $4n$2ame $4i$2s $4I$2nsano"
where $4 is put before all the first text and represents the color code. then $2 is the color of the rest of the message.
I got no ideas,
Thanks