heya guys I mud and I use a client that is not all that powerful I'm new to c+ but have spent the last 2 weeks reading hard on it, I'm trying to write a few scripts and my client doesnt have all the necesary commands heres what I need in c+
need a formula for where i get a repeated word in a string ie
somewhere-
somewhere-
somewhere-
somewhere-
now what i want to do is replace somewhere with
1-
2-
3-
4-
whats the fomula to do this?
also I want to capture certain line of text (room names) these room names always end with [obvious exits] 1 line directly below, any ideas how to do this?
hope to get some feed back thanks for reading :)