Jump to content

cbox


Recommended Posts

  • 5 weeks later...
Posted
Count the characters they inputted, loop through starting with the beginning of phrase and parse it out surrounded in tags

 

If you have it in a form then just when you hit a button take the string then add a [W.E]string[/W.E]

Posted

Only thing you need to do is find a way to fill an array full of colors, then just do this:

 

Dim myColors() As String = {"green", "pink", "blue", "red", "yellow"} 'etc.
Dim strToEdit As String = "Dark Slipstream is a Sub-Admin!" 'String to transform
Dim newStr As String = Nothing 'Make a New String
Randomize 'Randomizes Randomly Generated Numbers
Dim x As Integer

For Each c As Char In strToEdit
x = Int(Rnd() * myColors.Length) 'Gets Random Color from Color Array
newStr &= "[color=" & myColors(x) & "]" & c & "[/color]" 'Adds to New String
Next

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...