Sign in to follow this  
300Thousand

[C#]help with parsing strings from first element to last element

Recommended Posts

Hello,

 

i am doing a config for Openbullet but i would need to add some code to the source because there are some functions that is not in the tool for example there is this function

 

 

 

case ListAction.Random:
                               data.Variables.Set(new CVar(variableName, list[data.rand.Next(list.Count)], isCapture));
                               break;

 

 

 

where you take a random string/value from a list 

but the problem is that a string could be taken multiple times and another string maybe not so i need that to get changed that every string is taken from the file the same time or that it takes the string from the first element and goes to the last element and then starts again from the first element till the combolist is done or i stop openbullet.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this