Strolenati Council - The Invasion of 5.0 · Legacy archive

Random Tag

Started by valadaar Oct 9, 2013 9 posts Locked

  1. Random Tag

    #1
    How about this?  Using Squiggle Brackets as placeholders:

    [ RANDOM [ [ link1 ] | [ link2 ] | [ link3 ]]]

    or
    [ RANDOM [
          You Die |
          |
         
      ]
    ]

    Chance for one of the links/text to occur, with equal distributions.

    Uses:

      Easy Peasy Generators
      Choose Your Own Adventure type subs
     





  2. Re: Random Tag

    #2
    That is an interesting concept. In that case you would select and write the three links and it would choose one of those selections randomly for you then.

    I wrote down Mad Libs from the other conversation and this is a fun twist on making it more focuse and automated. With that, you can make sure it makes sense too.

    First time I read it wrong and thought it would be fun for people to be able to develop some random text Mad Lib similar to that:

    You are wandering through [random|location] and find a [random|item] that was lost by  [random|npc] etc etc.

    You probably know better than I how simple it might be to do. You talking forum then I am assuming? For the forum it is located at /guild/Sources/Post.php if you wanted to dabble. Search for "strolen" and that is where my autolink for subs using double brackets is.  (if you use single brackets it assumes it is some kind of bbcode and goes through those wickets)
  3. Re: Random Tag

    #3
    No, I was actually thinking of submissions using this, though I did not say it.  You could, for example, create generators without a line of code.  Just a bit of finicky formatting and you are good to go.



    The madlib idea  - random freetext selection - is cool too,
  4. Re: Random Tag

    #4
    The Madlib idea is indeed a good one!!
  5. Re: Random Tag

    #5
    Finicky formatting is a sure sign that a simple interface would help considerably. A quick little javascript app wouldn't be hard, once we had the actual format set in stone.
  6. Re: Random Tag

    #6
    I like this idea
  7. Re: Random Tag

    #7
    Alternately, we could use YAML: http://yaml.org/

    It has PHP and Javascript libraries, AND it's human-readable. Thoughts?
  8. Re: Random Tag

    #8
    I just started using yaml today coincidentally enough. Python in my case.

    So the inner text would be interpreted as yaml. Im good with that. Hopefully others would be.
  9. Re: Random Tag

    #9
    Python was my original use-case for YAML as well. It just ends up being so clean.

Strolenati Council - The Invasion of 5.0 · All categories · Guildhall