• dlcnate1@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 months ago

    wow, that looks a lot easier than the stuff i tried to do…

    that’s working like a charm, now is there a way i can have a random option in there, that doesn’t call for a specific one?

    • allo@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 months ago

      done. just add an entry in the list named random or Random or RaNdOm or any capitalization of random and try it :)

      if you want it some other way like to be able to custom name the option please say! :)

    • allo@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      5 months ago

      also just made an ability to set an initial selection and about to add a ‘remember’ option to remember what it was last time the page was visited

      so optionally something like this tho u dont have to use any of the extra stuff:

      dropdownlist
        variable = playerclass
        list
          mage
          wizard
          sorceress
          enchantress
          witch
          priest
          cleric
          druid
          warlock
          saint
          paladin
          random
        initial = saint
        remember = true
      

      anyway, doing remember now and say anything else you want

      • dlcnate1@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        5 months ago

        thanks, this has been very helpful and the generators are much better now because of it.