Dung3onMast3r
Junior Member
Play Dungeons & Dragons!
Posts: 31
38 / / –
Joined: May 2004
|
RE: Stuffplug Talkers (yes, again)
You can edit talker files with notepad. An easy way to substitute characters with colored characters is the Replace command.
code: Function talker(input)
output = Replace(input,"a","2a")
output = Replace(output,"b","3b")
output = Replace(output,"c","4c")
output = Replace(output,"d","5d")
output = Replace(output,"e","6e")
output = Replace(output,"f","7f")
output = Replace(output,"g","8g")
output = Replace(output,"h","9h")
output = Replace(output,"i","10i")
output = Replace(output,"j","11j")
output = Replace(output,"k","12k")
output = Replace(output,"l","13l")
output = Replace(output,"m","14m")
output = Replace(output,"n","15n")
output = Replace(output,"o","16o")
output = Replace(output,"p","17p")
output = Replace(output,"q","18q")
output = Replace(output,"r","19r")
output = Replace(output,"s","20s")
output = Replace(output,"t","21t")
output = Replace(output,"u","22u")
output = Replace(output,"v","23v")
output = Replace(output,"w","24w")
output = Replace(output,"x","25x")
output = Replace(output,"y","26y")
output = Replace(output,"z","27z")
'Add here more replacements
output = output + "·0"
talker = output
End Function
In the code above (which is the color talker I made), you can add more replacements below all the others. Just add a line like this:
output = Replace(output,"<character to be replaced>","<color tag (with CTRL+K) and character>")
For example, to make full-stops orange, write:
code: output = Replace(output,".","36.")
where 36 is the color number for orange.
I hope you'll understand, and we can all enjoy your talkers soon!
This post was edited on 07-10-2004 at 02:22 PM by Dung3onMast3r.
|
|