Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Please read the forum rules before posting.



Check if you are posting in the correct category.



The Off Topic section is not meant for discussing Cookie Clicker.

Needing Some basic Guidence

BluPhoenix28BluPhoenix28 Member Posts: 1
I'm attempting to create a generator for a game that we play to randomize our play experience.

What I can't seem to get the hang of is the basic structure for the end result of the randomization. I have 5 distinct lists. I need the final result to show 1 result from each of the list on seperate lines :

(For examples):

Your Warrior: [Result from List 1]
Your Mage: [Result from List 2]




Any help is appreacated
Tagged:

Comments

  • fishdavidsonfishdavidson Member Posts: 13 ✭✭

    Basically, the generator syntax parses everything that's on a new line as a separate item. So if you want to have line breaks in your generator, you'll need to use the br HTML tag. It sounds like you need something like this:

    $list1
    sample item 1
    
    $list2
    sample item 2
    
    $generatestuff
    Your Warrior: [list1]<br>Your Mage: [list2]

    The key thing to remember is that you have to write everything you want to be a contiguous item as a single line.

Sign In or Register to comment.