<!DOCTYPE html>
<html class="has-no-js template-thread_view uix_page--fixed uix_hasSectionLinks uix_hasCrumbs uix_hasPageAction" data-app="public" data-container-key="node-113" data-content-key="thread-17515" data-cookie-prefix="xf_" data-csrf="" data-logged-in="true" data-template="thread_view" dir="LTR" id="XF" lang="en-US" style="font-size: 62.5%;">
 <head>
  <meta charset="utf-8"/>
  <meta content="IE=Edge" http-equiv="X-UA-Compatible"/>
  <meta content="width=device-width, initial-scale=1, viewport-fit=cover" name="viewport"/>
  <meta content="noarchive" name="robots"/>
  <meta content="default-src 'self' https://*.f95zone.com https://f95zone.com https://*.f95zone.to https://f95zone.to; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.f95zone.com https://f95zone.com https://*.f95zone.to https://f95zone.to https://cdn.jsdelivr.net https://cdnjs.cloudflare.com https://www.google.com https://www.gstatic.com https://www.googletagmanager.com https://www.google-analytics.com; img-src 'self' data: blob: https://*.f95zone.com https://f95zone.com https://*.f95zone.to https://f95zone.to https://external-content.duckduckgo.com https://www.google-analytics.com https://www.googletagmanager.com https://www.google.com https://www.google.ad https://www.google.ae https://www.google.com.af https://www.google.com.ag https://www.google.com.ai https://www.google.al https://www.google.am https://www.google.co.ao https://www.google.com.ar https://www.google.as https://www.google.at https://www.google.com.au https://www.google.az https://www.google.ba https://www.google.com.bd https://www.google.be https://www.google.bf https://www.google.bg https://www.google.com.bh https://www.google.bi https://www.google.bj https://www.google.com.bn https://www.google.com.bo https://www.google.com.br https://www.google.bs https://www.google.bt https://www.google.co.bw https://www.google.by https://www.google.com.bz https://www.google.ca https://www.google.cd https://www.google.cf https://www.google.cg https://www.google.ch https://www.google.ci https://www.google.co.ck https://www.google.cl https://www.google.cm https://www.google.cn https://www.google.com.co https://www.google.co.cr https://www.google.com.cu https://www.google.cv https://www.google.com.cy https://www.google.cz https://www.google.de https://www.google.dj https://www.google.dk https://www.google.dm https://www.google.com.do https://www.google.dz https://www.google.com.ec https://www.google.ee https://www.google.com.eg https://www.google.es https://www.google.com.et https://www.google.fi https://www.google.com.fj https://www.google.fm https://www.google.fr https://www.google.ga https://www.google.ge https://www.google.gg https://www.google.com.gh https://www.google.com.gi https://www.google.gl https://www.google.gm https://www.google.gr https://www.google.com.gt https://www.google.gy https://www.google.com.hk https://www.google.hn https://www.google.hr https://www.google.ht https://www.google.hu https://www.google.co.id https://www.google.ie https://www.google.co.il https://www.google.im https://www.google.co.in https://www.google.iq https://www.google.is https://www.google.it https://www.google.je https://www.google.com.jm https://www.google.jo https://www.google.co.jp https://www.google.co.ke https://www.google.com.kh https://www.google.ki https://www.google.kg https://www.google.co.kr https://www.google.com.kw https://www.google.kz https://www.google.la https://www.google.com.lb https://www.google.li https://www.google.lk https://www.google.co.ls https://www.google.lt https://www.google.lu https://www.google.lv https://www.google.com.ly https://www.google.co.ma https://www.google.md https://www.google.me https://www.google.mg https://www.google.mk https://www.google.ml https://www.google.com.mm https://www.google.mn https://www.google.ms https://www.google.com.mt https://www.google.mu https://www.google.mv https://www.google.mw https://www.google.com.mx https://www.google.com.my https://www.google.co.mz https://www.google.com.na https://www.google.com.ng https://www.google.com.ni https://www.google.ne https://www.google.nl https://www.google.no https://www.google.com.np https://www.google.nr https://www.google.nu https://www.google.co.nz https://www.google.com.om https://www.google.com.pa https://www.google.com.pe https://www.google.com.pg https://www.google.com.ph https://www.google.com.pk https://www.google.pl https://www.google.pn https://www.google.com.pr https://www.google.ps https://www.google.pt https://www.google.com.py https://www.google.com.qa https://www.google.ro https://www.google.ru https://www.google.rw https://www.google.com.sa https://www.google.com.sb https://www.google.sc https://www.google.se https://www.google.com.sg https://www.google.sh https://www.google.si https://www.google.sk https://www.google.com.sl https://www.google.sn https://www.google.so https://www.google.sm https://www.google.sr https://www.google.st https://www.google.com.sv https://www.google.td https://www.google.tg https://www.google.co.th https://www.google.com.tj https://www.google.tl https://www.google.tm https://www.google.tn https://www.google.to https://www.google.com.tr https://www.google.tt https://www.google.com.tw https://www.google.co.tz https://www.google.com.ua https://www.google.co.ug https://www.google.co.uk https://www.google.com.uy https://www.google.co.uz https://www.google.com.vc https://www.google.co.ve https://www.google.vg https://www.google.co.vi https://www.google.com.vn https://www.google.vu https://www.google.ws https://www.google.rs https://www.google.co.za https://www.google.co.zm https://www.google.co.zw https://www.google.cat https://stats.g.doubleclick.net https://*.giphy.com https://*.gfycat.com https://media.tenor.com https://*.redgifs.com/ https://*.sendvid.com https://*.gifdeliverynetwork.com https://*.media.tumblr.com https://*.imgur.com https://*.patreonusercontent.com https://cdn.discordapp.com https://media.discordapp.net https://i.redd.it https://*.imgbox.com https://i.gyazo.com https://secure.gravatar.com https://cdn.betterttv.net https://static-cdn.jtvnw.net https://*.photobucket.com https://*.deviantart.net https://*.pixhost.to https://puu.sh https://*.postimg.org https://*.kym-cdn.com https://i.ytimg.com; style-src 'unsafe-inline' https: data:; font-src https: data:; connect-src 'self' https:; frame-src https: data:; form-action 'self' https://discord.com https://*.f95.io; upgrade-insecure-requests; block-all-mixed-content;" http-equiv="Content-Security-Policy"/>
  <title>
   Ren'Py - How can I set multiple variables at once using a spreadsheet? [SOLVED] | F95zone
  </title>
  <meta content="I wanted to have up to 4 buttons, with multiple images inside, which would create and set multiple variables at once. So I tried adapting some ren'py/python..." name="description"/>
  <meta content="I wanted to have up to 4 buttons, with multiple images inside, which would create and set multiple variables at once. So I tried adapting some ren'py/python stuff.




Right now, all I have to do is create a spreadsheet per character per set of personnality/outfit.




Then, call this label..." property="og:description"/>
  <meta content="I wanted to have up to 4 buttons, with multiple images inside, which would create and set multiple variables at once. So I tried adapting some ren'py/python stuff.




Right now, all I have to do..." property="twitter:description"/>
  <meta content="https://f95zone.to/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/" property="og:url"/>
  <meta content="F95zone" property="og:site_name"/>
  <meta content="website" property="og:type"/>
  <meta content="Ren'Py - How can I set multiple variables at once using a spreadsheet? [SOLVED]" property="og:title"/>
  <meta content="Ren'Py - How can I set multiple variables at once using a..." property="twitter:title"/>
  <meta content="https://f95zone.to/assets/favicon-32x32.png" property="og:image"/>
  <meta content="https://f95zone.to/assets/favicon-32x32.png" property="twitter:image"/>
  <meta content="summary" property="twitter:card"/>
  <meta content="#181a1d" name="theme-color"/>
  <meta content="#181a1d" name="msapplication-TileColor"/>
  <meta content="ok_5603d60c9ec3f9189a2c7da22c2173e2" name="lb-check"/>
  <meta content="same-origin" name="referrer"/>
  <meta content="yes" name="apple-mobile-web-app-capable"/>
 </head>
 <body data-template="thread_view">
  <style>
   .uix_headerContainer .p-navSticky.is-sticky {
		top: 0 !important;
	}

	

	
	

	
	
	
		
			
			
				
			
		
	

	

	

		
		
		.uix_mainTabBar {top: 90px !important;}
		.uix_stickyBodyElement:not(.offCanvasMenu) {
			top: 110px !important;
			min-height: calc(100vh - 110px) !important;
		}
		.uix_sidebarInner .uix_sidebar--scroller {margin-top: 110px;}
		.uix_sidebarInner {margin-top: -110px;}
		.p-body-sideNavInner .uix_sidebar--scroller {margin-top: 110px;}
		.p-body-sideNavInner {margin-top: -110px;}
		.uix_stickyCategoryStrips {top: 110px !important;}
		#XF .u-anchorTarget {
			height: 110px;
			margin-top: -110px;
		}
	
		

		
			@media (max-width: 900px) {
		
				.p-sectionLinks {display: none;}

				

				.uix_mainTabBar {top: 50px !important;}
				.uix_stickyBodyElement:not(.offCanvasMenu) {
					top: 70px !important;
					min-height: calc(100vh - 70px) !important;
				}
				.uix_sidebarInner .uix_sidebar--scroller {margin-top: 70px;}
				.uix_sidebarInner {margin-top: -70px;}
				.p-body-sideNavInner .uix_sidebar--scroller {margin-top: 70px;}
				.p-body-sideNavInner {margin-top: -70px;}
				.uix_stickyCategoryStrips {top: 70px !important;}
				#XF .u-anchorTarget {
					height: 70px;
					margin-top: -70px;
				}

				
		
			}
		
	

	.uix_sidebarNav .uix_sidebar--scroller {max-height: calc(100vh - 70px);}
  </style>
  <div id="jumpToTop">
  </div>
  <div class="uix_pageWrapper--fixed">
   <div class="p-pageWrapper" id="top">
    <div class="p-body">
     <div class="p-body-inner">
      <!--XF:EXTRA_OUTPUT-->
      <noscript>
       <div class="blockMessage blockMessage--important blockMessage--iconic u-noJsOnly">
        JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
       </div>
      </noscript>
      <!--[if lt IE 9]><div class="blockMessage blockMessage&#45;&#45;important blockMessage&#45;&#45;iconic">You are using an out of date browser. It  may not display this or other websites correctly.<br />You should upgrade or use an <a href="https://www.google.com/chrome/browser/" target="_blank">alternative browser</a>.</div><![endif]-->
      <div class="uix_contentWrapper" uix_component="MainContainer">
       <div class="p-body-main">
        <div class="p-body-content" uix_component="MainContent">
         <!-- ABOVE MAIN CONTENT -->
         <div class="breadcrumb block">
          <div class="pageContent">
           <ul class="p-breadcrumbs" itemscope="" itemtype="https://schema.org/BreadcrumbList">
            <li itemprop="itemListElement" itemscope="" itemtype="https://schema.org/ListItem">
             <a href="/" itemprop="item">
              <span itemprop="name">
               Forums
              </span>
             </a>
             <meta content="1" itemprop="position"/>
            </li>
            <li itemprop="itemListElement" itemscope="" itemtype="https://schema.org/ListItem">
             <a href="/categories/development.72/" itemprop="item">
              <span itemprop="name">
               Development
              </span>
             </a>
             <meta content="2" itemprop="position"/>
            </li>
            <li itemprop="itemListElement" itemscope="" itemtype="https://schema.org/ListItem">
             <a href="/forums/programming-development-art.73/" itemprop="item">
              <span itemprop="name">
               Programming, Development &amp; Art
              </span>
             </a>
             <meta content="3" itemprop="position"/>
            </li>
            <li itemprop="itemListElement" itemscope="" itemtype="https://schema.org/ListItem">
             <a href="/forums/dev-help.113/" itemprop="item">
              <span itemprop="name">
               Dev Help
              </span>
             </a>
             <meta content="4" itemprop="position"/>
            </li>
           </ul>
          </div>
         </div>
         <div class="samBannerUnit samAlignCenter samCustomSize" data-position="container_breadcrumb_top_below" style="width: 728px; height: 90px;">
          <div class="samItem">
           <iframe allow="autoplay; fullscreen" frameborder="0" src="https://candy.engine.adglare.net/?496266440&amp;iframe&amp;sizes=728x90&amp;ag_custom_vlmcp=d1ca4cff-9d71-4fc8-b2eb-041dac16559a&amp;ag_custom_vlmspot=leaderboard_header" style="width:728px; height:90px;">
           </iframe>
          </div>
         </div>
         <div class="p-body-header" style=" ">
          <div class="pageContent">
           <div class="uix_headerInner">
            <div class="p-title">
             <h1 class="p-title-value">
              <a class="labelLink" href="/forums/dev-help.113/?prefix_id=7" rel="nofollow">
               <span class="pre-renpy" dir="auto">
                Ren'Py
               </span>
              </a>
              <span class="label-append">
              </span>
              How can I set multiple variables at once using a spreadsheet? [SOLVED]
             </h1>
            </div>
            <div class="p-description">
             <ul class="listInline listInline--bullet">
              <li>
               <i aria-hidden="true" class="fa--xf fas fa-user" title="Thread starter">
               </i>
               <span class="u-srOnly">
                Thread starter
               </span>
               <a class="username u-concealed" data-user-id="43799" data-xf-init="member-tooltip" dir="auto" href="/members/johndupont.43799/">
                <i class="fa-fw fas fa-group" style="padding-right: 2px; color: rgb(0, 179, 255);">
                </i>
                <span style="color: rgb(226, 179, 234);">
                 <a class="username u-concealed" data-user-id="43799" data-xf-init="member-tooltip" dir="auto" href="/members/johndupont.43799/">
                  JohnDupont
                 </a>
                </span>
               </a>
              </li>
              <li>
               <i aria-hidden="true" class="fa--xf fas fa-clock" title="Start date">
               </i>
               <span class="u-srOnly">
                Start date
               </span>
               <a class="u-concealed" href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/">
                <time class="u-dt" data-date-string="Aug 31, 2018" data-time="1535651764" data-time-string="1:56 AM" datetime="2018-08-31T01:56:04+0800" dir="auto" title="Aug 31, 2018 at 1:56 AM">
                 Aug 31, 2018
                </time>
               </a>
              </li>
             </ul>
            </div>
           </div>
           <div class="uix_headerInner--opposite">
            <div class="p-title-pageAction">
             <select class="br-select input" data-deselectable="false" data-initial-rating="0" data-rating-href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/br-rate" data-readonly="false" data-show-selected="true" data-vote-content='&lt;div data-href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/br-user-rated" data-xf-click="overlay" data-xf-init="tooltip" title="Members who rated this thread"&gt;0 Votes&lt;/div&gt;' data-widget-class="bratr-rating" data-xf-init="rating" name="rating">
              <option value="">
              </option>
              <option value="1">
               Terrible
              </option>
              <option value="2">
               Poor
              </option>
              <option value="3">
               Average
              </option>
              <option value="4">
               Good
              </option>
              <option value="5">
               Excellent
              </option>
             </select>
            </div>
           </div>
          </div>
         </div>
         <div class="p-body-pageContent">
          <div class="block block--messages" data-href="/inline-mod/" data-type="post" data-xf-init="">
           <div class="block-outer">
            <div class="block-outer-opposite">
             <div class="buttonGroup">
              <a class="button--link button" data-xf-click="overlay" href="/account/dpp-update?content_type=thread&amp;content_id=17515">
               <span class="button-text">
                Showing 100 posts per page
               </span>
              </a>
              <a class="tic--button button button--link" data-xf-click="overlay" href="/tic-ignore/ignore?content_type=thread&amp;content_id=17515">
               Ignore thread
              </a>
              <a class="button--link button" data-sk-unwatch="Unwatch" data-sk-watch="Watch" data-xf-click="switch-overlay" href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/watch">
               <span class="button-text">
                Watch
               </span>
              </a>
             </div>
            </div>
           </div>
           <div class="block-outer js-threadStatusField">
           </div>
           <div class="block-container lbContainer" data-lb-id="thread-17515" data-lb-universal="0" data-message-selector=".js-post" data-xf-init="lightbox select-to-quote">
            <div class="block-body js-replyNewMessageContainer">
             <article class="message message-threadStarterPost message--post js-post js-inlineModContainer" data-author="JohnDupont" data-content="post-1052140" id="js-post-1052140">
              <span class="u-anchorTarget" id="post-1052140">
              </span>
              <div class="message-inner">
               <div class="message-cell message-cell--user">
                <section class="message-user userExtra--expand" itemscope="" itemtype="https://schema.org/Person">
                 <div class="message-avatar">
                  <div class="message-avatar-wrapper">
                   <a class="avatar avatar--m" data-user-id="43799" data-xf-init="member-tooltip" href="/members/johndupont.43799/">
                    <img alt="JohnDupont" class="avatar-u43799-m" itemprop="image" src="/data/avatars/m/43/43799.jpg?1544568178" srcset="/data/avatars/l/43/43799.jpg?1544568178 2x"/>
                   </a>
                  </div>
                 </div>
                 <div class="uix_messagePostBitWrapper">
                  <div class="message-userDetails">
                   <h4 class="message-name">
                    <a class="username" data-user-id="43799" data-xf-init="member-tooltip" dir="auto" href="/members/johndupont.43799/" itemprop="name">
                     <i class="fa-fw fas fa-group" style="padding-right: 2px; color: rgb(0, 179, 255);">
                     </i>
                     <span class='="username--style15"'>
                      <span style="color: rgb(226, 179, 234);">
                       JohnDupont
                      </span>
                     </span>
                    </a>
                   </h4>
                   <h5 class="userTitle message-userTitle" dir="auto" itemprop="jobTitle">
                    Active Member
                   </h5>
                   <div class="userBanner userBanner userBanner--green message-userBanner" itemprop="jobTitle">
                    <span class="userBanner-before">
                    </span>
                    <strong>
                     Modder
                    </strong>
                    <span class="userBanner-after">
                    </span>
                   </div>
                   <div class="userBanner message-userBanner" itemprop="jobTitle">
                    <span class="userBanner-before">
                    </span>
                    <strong>
                    </strong>
                    <span class="userBanner-after">
                    </span>
                   </div>
                  </div>
                  <div class="message-userExtras">
                   <dl class="pairs pairs--justified">
                    <dt>
                     <span data-xf-init="tooltip" title="Joined">
                      <i aria-hidden="true" class="fa--xf fas fa-user uix_icon uix_icon--user">
                      </i>
                     </span>
                    </dt>
                    <dd>
                     May 27, 2017
                    </dd>
                   </dl>
                   <dl class="pairs pairs--justified">
                    <dt>
                     <span data-xf-init="tooltip" title="Messages">
                      <i aria-hidden="true" class="fa--xf fas fa-comments uix_icon uix_icon--messages">
                      </i>
                     </span>
                    </dt>
                    <dd>
                     836
                    </dd>
                   </dl>
                   <dl class="pairs pairs--justified">
                    <dt>
                     <span data-xf-init="tooltip" title="Likes">
                      <i aria-hidden="true" class="fa--xf fas fa-thumbs-up uix_icon uix_icon--like">
                      </i>
                     </span>
                    </dt>
                    <dd>
                     2,798
                    </dd>
                   </dl>
                  </div>
                 </div>
                 <span class="message-userArrow">
                 </span>
                </section>
               </div>
               <div class="message-cell message-cell--main">
                <div class="message-main uix_messageContent js-quickEditTarget">
                 <header class="message-attribution message-attribution--split">
                  <div class="message-attribution-main">
                   <a class="u-concealed" href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/post-1052140" rel="nofollow">
                    <time class="u-dt" data-date-string="Aug 31, 2018" data-time="1535651764" data-time-string="1:56 AM" datetime="2018-08-31T01:56:04+0800" dir="auto" title="Aug 31, 2018 at 1:56 AM">
                     Aug 31, 2018
                    </time>
                   </a>
                  </div>
                  <ul class="message-attribution-opposite message-attribution-opposite--list">
                   <li>
                    <a data-href="/posts/1052140/share" data-xf-init="share-tooltip" href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/post-1052140" rel="nofollow">
                     <i aria-hidden="true" class="fa--xf fas fa-share-alt uix_icon uix_icon--share">
                     </i>
                    </a>
                   </li>
                   <li>
                    <a class="bookmarkLink bookmarkLink--highlightable" data-label=".js-bookmarkText" data-sk-bookmarked="addClass:is-bookmarked, Edit bookmark" data-sk-bookmarkremoved="removeClass:is-bookmarked, Add bookmark" data-xf-click="bookmark-click" href="/posts/1052140/bookmark" title="Bookmark">
                     <span class="js-bookmarkText u-srOnly">
                      Add bookmark
                     </span>
                    </a>
                   </li>
                   <li>
                    <a href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/post-1052140" rel="nofollow">
                     #1
                    </a>
                   </li>
                  </ul>
                 </header>
                 <div class="message-content js-messageContent">
                  <div class="message-userContent lbContainer js-lbContainer" data-lb-caption-desc="JohnDupont · Aug 31, 2018 at 1:56 AM" data-lb-id="post-1052140">
                   <article class="message-body js-selectToQuote">
                    <div class="bbWrapper">
                     I wanted to have up to 4 buttons, with multiple images inside, which would create and set multiple variables at once. So I tried adapting some ren'py/python stuff.
                     <br/>
                     <div class="bbCodeSpoiler">
                      <button class="bbCodeSpoiler-button button--longText button" data-xf-click="toggle" type="button">
                       <span class="button-text">
                        <span>
                         Spoiler:
                         <span class="bbCodeSpoiler-button-title">
                          Example of what it looks like in-game
                         </span>
                        </span>
                       </span>
                      </button>
                      <div class="bbCodeSpoiler-content">
                       <div class="bbCodeBlock bbCodeBlock--spoiler">
                        <div class="bbCodeBlock-content">
                         <div class="lbContainer lbContainer--inline" data-lb-container-zoom="1" data-lb-id="attachment143747" data-lb-single-image="1" data-lb-trigger=".js-lbImage-attachment143747" data-xf-init="lightbox" title="Untitled.png">
                          <div aria-label="Zoom" class="lbContainer-zoomer js-lbImage-attachment143747" data-src="https://attachments.f95zone.to/2018/08/155352_Untitled.png">
                          </div>
                          <img alt="Untitled.png" class="bbImage lazyload" data-src="https://attachments.f95zone.to/2018/08/155352_Untitled.png" data-url="" data-zoom-target="1" src="data:image/svg+xml;charset=utf-8,%3Csvg xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg' width='1668' height='932' viewBox%3D'0 0 1668 932'%2F%3E" style=""/>
                          <noscript>
                           <img alt="Untitled.png" class="bbImage" data-url="" data-zoom-target="1" src="https://attachments.f95zone.to/2018/08/155352_Untitled.png" style=""/>
                          </noscript>
                         </div>
                        </div>
                       </div>
                      </div>
                     </div>
                     <br/>
                     <br/>
                     <br/>
                     Right now, all I have to do is create a spreadsheet per character per set of personnality/outfit.
                     <br/>
                     <div class="bbCodeSpoiler">
                      <button class="bbCodeSpoiler-button button--longText button" data-xf-click="toggle" type="button">
                       <span class="button-text">
                        <span>
                         Spoiler:
                         <span class="bbCodeSpoiler-button-title">
                          Example of spreadsheet (Not actually the one I used for the example sorry)
                         </span>
                        </span>
                       </span>
                      </button>
                      <div class="bbCodeSpoiler-content">
                       <div class="bbCodeBlock bbCodeBlock--spoiler">
                        <div class="bbCodeBlock-content">
                         <div class="lbContainer lbContainer--inline" data-lb-container-zoom="1" data-lb-id="attachment143749" data-lb-single-image="1" data-lb-trigger=".js-lbImage-attachment143749" data-xf-init="lightbox" title="Capture.PNG">
                          <div aria-label="Zoom" class="lbContainer-zoomer js-lbImage-attachment143749" data-src="https://attachments.f95zone.to/2018/08/155354_Capture.png">
                          </div>
                          <img alt="Capture.PNG" class="bbImage lazyload" data-src="https://attachments.f95zone.to/2018/08/155354_Capture.png" data-url="" data-zoom-target="1" src="data:image/svg+xml;charset=utf-8,%3Csvg xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg' width='1183' height='80' viewBox%3D'0 0 1183 80'%2F%3E" style=""/>
                          <noscript>
                           <img alt="Capture.PNG" class="bbImage" data-url="" data-zoom-target="1" src="https://attachments.f95zone.to/2018/08/155354_Capture.png" style=""/>
                          </noscript>
                         </div>
                        </div>
                       </div>
                      </div>
                     </div>
                     <br/>
                     <br/>
                     <br/>
                     Then, call this label:
                     <br/>
                     <div class="bbCodeBlock bbCodeBlock--screenLimited bbCodeBlock--code">
                      <div class="bbCodeBlock-title">
                       Code:
                      </div>
                      <div class="bbCodeBlock-content" dir="ltr">
                       <pre class="bbCodeCode" data-lang="" data-xf-init="code-block" dir="ltr"><code>label variables+images_spreadsheetX:
    $ variables+images("spreadsheetX.tsv")
    call variables+images
    return</code></pre>
                      </div>
                     </div>
                     <br/>
                     <br/>
                     Which itself calls this monstrosity, which I'll divide in 3 parts:
                     <br/>
                     <br/>
                     1) The init:
                     <br/>
                     <div class="bbCodeBlock bbCodeBlock--screenLimited bbCodeBlock--code">
                      <div class="bbCodeBlock-title">
                       Code:
                      </div>
                      <div class="bbCodeBlock-content" dir="ltr">
                       <pre class="bbCodeCode" data-lang="" data-xf-init="code-block" dir="ltr"><code>init -1 python:
   
    def clothingchoice(filename):
       
        # Creates the variables and defines them as []      
        # Variable for all the data
        global ALLTHEDATA
        # Variable for line 0
        global LISTLINE0
       
        ALLTHEDATA = []
        LISTLINE0 = []
       
        # From the file defined by $ clothingchoice(filename)
        with renpy.file(filename) as INTERNALNAMEFORTHETSVFILE:
           
            # For each line:
            for line in INTERNALNAMEFORTHETSVFILE:
           
                line = line.decode("utf-8")
                data = line.rstrip().split("\t")
               
                # Ignore empty lines and lines starting with "#"
                if data == "" or data[0][0] == "#": continue
               
                # Add all the data to 'ALLTHEDATA'
                ALLTHEDATA.append([data[0], data[1], data[2], data[3], data[4], data[5], data[6], data[7], data[8], data[9], data[10], data[11]])    
               
                # Add the data from column0 to 'LISTLINE0'              
                LISTLINE0.append(data[0])  
               
                # Then, for each line in column 1 create the variables 1 to 5
                for i in range(0,len(data[1].split(","))):
                    try:
                        globals()["{}".format(data[7].split(",")[i].split()[0])]
                    except KeyError:
                        globals()["{}".format(data[7].split(",")[i].split()[0])] = []
                   
                    try:
                        globals()["{}".format(data[8].split(",")[i].split()[0])]
                    except KeyError:
                        globals()["{}".format(data[8].split(",")[i].split()[0])] = []
                       
                    try:
                        globals()["{}".format(data[9].split(",")[i].split()[0])]
                    except KeyError:
                        globals()["{}".format(data[9].split(",")[i].split()[0])] = []
                       
                    try:
                        globals()["{}".format(data[10].split(",")[i].split()[0])]
                    except KeyError:
                        globals()["{}".format(data[10].split(",")[i].split()[0])] = []
                       
                    try:
                        globals()["{}".format(data[11].split(",")[i].split()[0])]
                    except KeyError:
                        globals()["{}".format(data[11].split(",")[i].split()[0])] = []

init -1:
    default LINE0 = []
   
   
    # Transform for the images
    transform transform_images:
        size (320,536)</code></pre>
                      </div>
                     </div>
                     <br/>
                     2) The label 'variables+images', which calls the screen 'SCREEN0':
                     <br/>
                     <div class="bbCodeBlock bbCodeBlock--screenLimited bbCodeBlock--code">
                      <div class="bbCodeBlock-title">
                       Code:
                      </div>
                      <div class="bbCodeBlock-content" dir="ltr">
                       <pre class="bbCodeCode" data-lang="" data-xf-init="code-block" dir="ltr"><code>label variables+images:       
    $ LINE0 = LISTLINE0   
    call screen SCREEN0</code></pre>
                      </div>
                     </div>
                     <br/>
                     3) The screen SCREEN0, which :
                     <br/>
                     - sets all the variables to False
                     <br/>
                     - show all the images
                     <br/>
                     - creates the buttons
                     <br/>
                     <br/>
                     When clicked the button sets some variables to True then returns to the first label:
                     <br/>
                     <div class="bbCodeBlock bbCodeBlock--screenLimited bbCodeBlock--code">
                      <div class="bbCodeBlock-title">
                       Code:
                      </div>
                      <div class="bbCodeBlock-content" dir="ltr">
                       <pre class="bbCodeCode" data-lang="" data-xf-init="code-block" dir="ltr"><code>screen SCREEN0:
    modal True
   
    for i in range(0,len(LINE0)):
        $ SetVariable("{}".format(ALLTHEDATA[i][7]) , "False")
        $ SetVariable("{}".format(ALLTHEDATA[i][8]) , "False")
        $ SetVariable("{}".format(ALLTHEDATA[i][9]) , "False")
        $ SetVariable("{}".format(ALLTHEDATA[i][10]) , "False")
        $ SetVariable("{}".format(ALLTHEDATA[i][11]) , "False")    
   
    # Shows the images 1 to 5  
    hbox:
        xfill
        ysize 536
        anchor (0.5,1.0) align (0.5,1.0)
        # For each data in 'LINE0'
        for i in range(0,len(LINE0)):
            if ALLTHEDATA[i][2] != 'jdmod':
                add "images/{}.png".format(ALLTHEDATA[i][2]) at transform_images
    hbox:
        xfill
        ysize 536
        anchor (0.5,1.0) align (0.5,1.0)
        # For each data in 'LINE0'
        for i in range(0,len(LINE0)):
            if ALLTHEDATA[i][3] != 'jdmod':
                add "images/{}.png".format(ALLTHEDATA[i][3]) at transform_images
    hbox:
        xfill
        ysize 536
        anchor (0.5,1.0) align (0.5,1.0)
        # For each data in 'LINE0'
        for i in range(0,len(LINE0)):
            if ALLTHEDATA[i][4] != 'jdmod':
                add "images/{}.png".format(ALLTHEDATA[i][4]) at transform_images
    hbox:
        xfill
        ysize 536
        anchor (0.5,1.0) align (0.5,1.0)
        # For each data in 'LINE0'
        for i in range(0,len(LINE0)):
            if ALLTHEDATA[i][5] != 'jdmod':
                add "images/{}.png".format(ALLTHEDATA[i][5]) at transform_images
    hbox:
        xfill
        ysize 536
        anchor (0.5,1.0) align (0.5,1.0)
        # For each data in 'LINE0'
        for i in range(0,len(LINE0)):
            if ALLTHEDATA[i][6] != 'jdmod':
                add "images/{}.png".format(ALLTHEDATA[i][6]) at transform_images
   
    # Set the variables
    hbox:
        xfill
        ysize 536      
        anchor (0.5,1.0) align (0.5,1.0)                  
        # For each data in 'LINE0'
        for i in range(0,len(LINE0)):

            # Creates a button
            button:
                xysize (320,536)
                #padding (0,0)
               
                # Add on image on top (foreground) when hovered
                hover_foreground Frame(highlight.png", left = 10, top = 10)
               
                # When CLICKED, SetVariables to True and Return
                clicked [SetVariable("{}".format(ALLTHEDATA[i][7]) , True) , SetVariable("{}".format(ALLTHEDATA[i][8]) , True) , SetVariable("{}".format(ALLTHEDATA[i][9]) , True) , SetVariable("{}".format(ALLTHEDATA[i][10]) , True) , SetVariable("{}".format(ALLTHEDATA[i][11]) , True) , Return]
   
    # Add text
    hbox:
        ysize 720
        anchor (0.5,1.0) align (0.5,1.0)      
        for i in range(0,len(LINE0)):
            frame:
                background Solid("#0000")
                xsize 320 xmargin 60 anchor (0.5,0.5) align (0.5,0.15)
                text "{}".format(ALLTHEDATA[i][1]) text_align 0.5 size 20 at truecenter</code></pre>
                      </div>
                     </div>
                     <br/>
                     <br/>
                     <span style="font-size: 18px">
                      <u>
                       It works but my problem is:
                      </u>
                      <br/>
                      Since I am currently using 1 column per variable, I can't use more than 5 variables without expanding initial the code and I also have to fill every empty column with an ugly 'jdmod'.
                      <b>
                       I'd like to use only 1 column for all the variables.
                      </b>
                     </span>
                     <br/>
                     <i>
                      Same thing for the images.
                     </i>
                     <br/>
                     I have tried multiple things but way past my knowledge of ren'py and python. It's a miracle this thing works in the first place.
                     <br/>
                     <br/>
                     Also I'd like to create only one spreadsheet per character.
                     <br/>
                     I have some ideas but if you can help for this one too, it would be great.
                     <br/>
                     <br/>
                     Thank you. You deserve it for getting this far.
                    </div>
                    <div class="js-selectToQuoteEnd">
                    </div>
                   </article>
                  </div>
                  <aside class="message-signature">
                   <div class="uix_signatureExpand">
                    Expand Signature
                   </div>
                   <div class="bbWrapper">
                    <div style="text-align: center">
                     <a class="link link--external" href="https://www.patreon.com/JohnDupont" rel="nofollow noopener" target="_blank">
                      <img class="bbImage lazyload" data-src="https://attachments.f95zone.to/2021/06/1253905_Signature_2.0_60.gif" data-url="https://attachments.f95zone.to/2021/06/1253905_Signature_2.0_60.gif" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" style=""/>
                      <noscript>
                       <img class="bbImage" src="https://attachments.f95zone.to/2021/06/1253905_Signature_2.0_60.gif"/>
                      </noscript>
                     </a>
                     ​
                    </div>
                   </div>
                  </aside>
                 </div>
                 <div class="reactionsBar js-reactionsList">
                 </div>
                 <footer class="message-footer">
                  <div class="message-actionBar actionBar">
                   <div class="actionBar-set actionBar-set--external">
                    <a class="reaction reaction--small actionBar-action actionBar-action--reaction reaction--imageHidden reaction--1" data-reaction-id="1" data-reaction-list="&lt; .js-post | .js-reactionsList" data-th-react-plus-content-id="1052140" data-th-react-plus-content-type="post" data-xf-init="reaction" href="/posts/1052140/react?reaction_id=1">
                     <i aria-hidden="true">
                     </i>
                     <img alt="Like" class="reaction-sprite js-reaction" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" title="Like"/>
                     <span class="reaction-text js-reactionText">
                      <bdi>
                       Like
                      </bdi>
                     </span>
                    </a>
                    <a class="actionBar-action actionBar-action--mq u-jsOnly js-multiQuote" data-message-id="1052140" data-mq-action="add" href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/reply?quote=1052140" title="Toggle multi-quote">
                     Quote
                    </a>
                    <a class="actionBar-action actionBar-action--reply" data-quote-href="/posts/1052140/quote" data-xf-click="quote" href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/reply?quote=1052140" title="Reply, quoting this message">
                     Reply
                    </a>
                   </div>
                   <div class="actionBar-set actionBar-set--internal">
                    <a class="actionBar-action actionBar-action--report" data-xf-click="overlay" href="/posts/1052140/report">
                     Report
                    </a>
                   </div>
                  </div>
                  <div class="js-historyTarget message-historyTarget toggleTarget" data-href="trigger-href">
                  </div>
                 </footer>
                </div>
               </div>
              </div>
             </article>
             <div class="samBannerUnit samAlignCenter" data-position="post_below_container_1">
              <div class="samItem">
               <iframe allow="autoplay; fullscreen" frameborder="0" src="https://candy.engine.adglare.net/?711900550&amp;iframe&amp;sizes=728x90&amp;ag_custom_vlmcp=11d8884a-c204-4705-8dc5-d17be23ed7bf&amp;ag_custom_vlmspot=leaderboard_posts" style="width:728px; height:90px;">
               </iframe>
              </div>
             </div>
             <article class="message message--post js-post js-inlineModContainer" data-author="Rich" data-content="post-1054690" id="js-post-1054690">
              <span class="u-anchorTarget" id="post-1054690">
              </span>
              <div class="message-inner">
               <div class="message-cell message-cell--user">
                <section class="message-user userExtra--expand" itemscope="" itemtype="https://schema.org/Person">
                 <div class="message-avatar">
                  <div class="message-avatar-wrapper">
                   <a class="avatar avatar--m" data-user-id="83870" data-xf-init="member-tooltip" href="/members/rich.83870/">
                    <img alt="Rich" class="avatar-u83870-m" itemprop="image" src="/data/avatars/m/83/83870.jpg?1502921058" srcset="/data/avatars/l/83/83870.jpg?1502921058 2x"/>
                   </a>
                  </div>
                 </div>
                 <div class="uix_messagePostBitWrapper">
                  <div class="message-userDetails">
                   <h4 class="message-name">
                    <a class="username" data-user-id="83870" data-xf-init="member-tooltip" dir="auto" href="/members/rich.83870/" itemprop="name">
                     <span class="username--style15">
                      Rich
                     </span>
                    </a>
                   </h4>
                   <h5 class="userTitle message-userTitle" dir="auto" itemprop="jobTitle">
                    Old Fart
                   </h5>
                   <div class="userBanner userBanner userBanner--green message-userBanner" itemprop="jobTitle">
                    <span class="userBanner-before">
                    </span>
                    <strong>
                     Modder
                    </strong>
                    <span class="userBanner-after">
                    </span>
                   </div>
                   <div class="userBanner .userBanner Donor message-userBanner" itemprop="jobTitle">
                    <span class="userBanner-before">
                    </span>
                    <strong>
                     Donor
                     <i class="fa fa-coffee">
                     </i>
                    </strong>
                    <span class="userBanner-after">
                    </span>
                   </div>
                   <div class="userBanner userBanner userBanner--orange message-userBanner" itemprop="jobTitle">
                    <span class="userBanner-before">
                    </span>
                    <strong>
                     Respected User
                    </strong>
                    <span class="userBanner-after">
                    </span>
                   </div>
                   <div class="userBanner .userBanner GameDeveloper message-userBanner" itemprop="jobTitle">
                    <span class="userBanner-before">
                    </span>
                    <strong>
                     Game Developer
                    </strong>
                    <span class="userBanner-after">
                    </span>
                   </div>
                   <div class="userBanner message-userBanner" itemprop="jobTitle">
                    <span class="userBanner-before">
                    </span>
                    <strong>
                    </strong>
                    <span class="userBanner-after">
                    </span>
                   </div>
                   <div class="userBanner message-userBanner" itemprop="jobTitle">
                    <span class="userBanner-before">
                    </span>
                    <strong>
                    </strong>
                    <span class="userBanner-after">
                    </span>
                   </div>
                  </div>
                  <div class="message-userExtras">
                   <dl class="pairs pairs--justified">
                    <dt>
                     <span data-xf-init="tooltip" title="Joined">
                      <i aria-hidden="true" class="fa--xf fas fa-user uix_icon uix_icon--user">
                      </i>
                     </span>
                    </dt>
                    <dd>
                     Jun 25, 2017
                    </dd>
                   </dl>
                   <dl class="pairs pairs--justified">
                    <dt>
                     <span data-xf-init="tooltip" title="Messages">
                      <i aria-hidden="true" class="fa--xf fas fa-comments uix_icon uix_icon--messages">
                      </i>
                     </span>
                    </dt>
                    <dd>
                     2,537
                    </dd>
                   </dl>
                   <dl class="pairs pairs--justified">
                    <dt>
                     <span data-xf-init="tooltip" title="Likes">
                      <i aria-hidden="true" class="fa--xf fas fa-thumbs-up uix_icon uix_icon--like">
                      </i>
                     </span>
                    </dt>
                    <dd>
                     7,258
                    </dd>
                   </dl>
                  </div>
                 </div>
                 <span class="message-userArrow">
                 </span>
                </section>
               </div>
               <div class="message-cell message-cell--main">
                <div class="message-main uix_messageContent js-quickEditTarget">
                 <header class="message-attribution message-attribution--split">
                  <div class="message-attribution-main">
                   <a class="u-concealed" href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/post-1054690" rel="nofollow">
                    <time class="u-dt" data-date-string="Aug 31, 2018" data-time="1535725112" data-time-string="10:18 PM" datetime="2018-08-31T22:18:32+0800" dir="auto" title="Aug 31, 2018 at 10:18 PM">
                     Aug 31, 2018
                    </time>
                   </a>
                  </div>
                  <ul class="message-attribution-opposite message-attribution-opposite--list">
                   <li>
                    <a data-href="/posts/1054690/share" data-xf-init="share-tooltip" href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/post-1054690" rel="nofollow">
                     <i aria-hidden="true" class="fa--xf fas fa-share-alt uix_icon uix_icon--share">
                     </i>
                    </a>
                   </li>
                   <li>
                    <a class="bookmarkLink bookmarkLink--highlightable" data-label=".js-bookmarkText" data-sk-bookmarked="addClass:is-bookmarked, Edit bookmark" data-sk-bookmarkremoved="removeClass:is-bookmarked, Add bookmark" data-xf-click="bookmark-click" href="/posts/1054690/bookmark" title="Bookmark">
                     <span class="js-bookmarkText u-srOnly">
                      Add bookmark
                     </span>
                    </a>
                   </li>
                   <li>
                    <a href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/post-1054690" rel="nofollow">
                     #2
                    </a>
                   </li>
                  </ul>
                 </header>
                 <div class="message-content js-messageContent">
                  <div class="message-userContent lbContainer js-lbContainer" data-lb-caption-desc="Rich · Aug 31, 2018 at 10:18 PM" data-lb-id="post-1054690">
                   <article class="message-body js-selectToQuote">
                    <div class="bbWrapper">
                     First, one way you could get rid of the 'jdmod' bit is to take advantage of the fact that Python considers an empty string to be "falsey" and a non-empty string to be "truthy".  Thus, instead of:
                     <br/>
                     <div class="bbCodeBlock bbCodeBlock--screenLimited bbCodeBlock--code">
                      <div class="bbCodeBlock-title">
                       Code:
                      </div>
                      <div class="bbCodeBlock-content" dir="ltr">
                       <pre class="bbCodeCode" data-lang="" data-xf-init="code-block" dir="ltr"><code> if ALLTHEDATA[i][3] != 'jdmod':
      ...</code></pre>
                      </div>
                     </div>
                     you could just do
                     <br/>
                     <div class="bbCodeBlock bbCodeBlock--screenLimited bbCodeBlock--code">
                      <div class="bbCodeBlock-title">
                       Code:
                      </div>
                      <div class="bbCodeBlock-content" dir="ltr">
                       <pre class="bbCodeCode" data-lang="" data-xf-init="code-block" dir="ltr"><code> if ALLTHEDATA[i][3]:
      ...</code></pre>
                      </div>
                     </div>
                     Thus, the indented block will only be executed if the variable is non-empty, since an empty string will be evaluated as if it was a boolean False.  If you have problems with spaces getting in, you can use ".strip()" on the string to remove white space.
                     <br/>
                     <br/>
                     So if you want to reduce the number of columns, it sounds like you might need to have your sheet structured with three columns:
                     <br/>
                     <ul>
                      <li data-xf-list-type="ul">
                       style index
                      </li>
                      <li data-xf-list-type="ul">
                       variable name
                      </li>
                      <li data-xf-list-type="ul">
                       variable value
                      </li>
                     </ul>
                     Obviously, this will mean that there will be multiple rows for each style.
                     <br/>
                     <div class="bbCodeBlock bbCodeBlock--screenLimited bbCodeBlock--code">
                      <div class="bbCodeBlock-title">
                       Code:
                      </div>
                      <div class="bbCodeBlock-content" dir="ltr">
                       <pre class="bbCodeCode" data-lang="" data-xf-init="code-block" dir="ltr"><code>style index,variable name,variable value
0, style_name, good
0, image, evag
0, Variable1, evanormal
1, style_name, sexy
1, image, evab
1, Variable1, evasexy
...</code></pre>
                      </div>
                     </div>
                     (showing the rows comma-separated instead of tab-separated, but you get the drift)
                     <br/>
                     <br/>
                     So your top-level array would be indexed by the style index, and then you have "variable name/variable value" pairs in a dictionary at that index in the array.  I'm banging the following out without checking it in Python for syntax, but something like:
                     <br/>
                     <div class="bbCodeBlock bbCodeBlock--screenLimited bbCodeBlock--code">
                      <div class="bbCodeBlock-title">
                       Code:
                      </div>
                      <div class="bbCodeBlock-content" dir="ltr">
                       <pre class="bbCodeCode" data-lang="" data-xf-init="code-block" dir="ltr"><code>ALLTHEDATA = []
with renpy.file(filename) as INTERNALNAMEFORTHETSVFILE:
      
    # For each line:
    for line in INTERNALNAMEFORTHETSVFILE:
      
        line = line.decode("utf-8")
        data = line.rstrip().split("\t")
          
        # Ignore empty lines and lines starting with "#"
        if data == "" or data[0][0] == "#": continue

        style_index = int(data[0])
        variable_name = data[1]
        variable_value = data[2]

        # make sure that ALL_THE_DATA has a dictionary at this index
        # by appending as many new dictionaries as required
        while len(ALL_THE_DATA) &lt; style_index + 1
            ALL_THE_DATA.append({})

        # set the variable name in the style dictionary to the variable value
        ALLTHEDATA[style_index][variable_name] = variable_value</code></pre>
                      </div>
                     </div>
                     So, after this ALLTHEDATA[1] gives you a dictionary of the form
                     <br/>
                     <div class="bbCodeBlock bbCodeBlock--screenLimited bbCodeBlock--code">
                      <div class="bbCodeBlock-title">
                       Code:
                      </div>
                      <div class="bbCodeBlock-content" dir="ltr">
                       <pre class="bbCodeCode" data-lang="" data-xf-init="code-block" dir="ltr"><code>{
    'style_name': 'sexy',
    'image': 'evab',
    'Variable1': 'evasexy'
}</code></pre>
                      </div>
                     </div>
                     So, to find the image for style 1, you'd do ALL_THE_DATA[1]['image'].  To find out whether or not a style has an image, you'd do:
                     <br/>
                     <div class="bbCodeBlock bbCodeBlock--screenLimited bbCodeBlock--code">
                      <div class="bbCodeBlock-title">
                       Code:
                      </div>
                      <div class="bbCodeBlock-content" dir="ltr">
                       <pre class="bbCodeCode" data-lang="" data-xf-init="code-block" dir="ltr"><code>if 'image' in ALL_THE_DATA[1]:
    ....</code></pre>
                      </div>
                     </div>
                     Of course, all that assumes I've understood what your goal is...
                    </div>
                    <div class="js-selectToQuoteEnd">
                    </div>
                   </article>
                  </div>
                  <aside class="message-signature">
                   <div class="uix_signatureExpand">
                    Expand Signature
                   </div>
                   <div class="bbWrapper">
                    <div style="text-align: center">
                     <br/>
                     <a class="link link--external" href="https://f95zone.com/threads/family-friends-and-strangers-v2-0-johnandrich.22416/" rel="nofollow noopener" target="_blank">
                      <img class="bbImage lazyload" data-src="https://i.imgur.com/ljM5KA7.png" data-url="https://i.imgur.com/ljM5KA7.png" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" style=""/>
                      <noscript>
                       <img class="bbImage" src="https://i.imgur.com/ljM5KA7.png"/>
                      </noscript>
                     </a>
                     <a class="link link--internal" href="https://f95zone.to/threads/ff-s-scenes-that-didnt-happen-v0-1-rich.133086/">
                      <img class="bbImage lazyload" data-src="https://attachments.f95zone.to/2022/10/2112839_stdh_signature.jpg" data-url="https://attachments.f95zone.to/2022/10/2112839_stdh_signature.jpg" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" style=""/>
                      <noscript>
                       <img class="bbImage" src="https://attachments.f95zone.to/2022/10/2112839_stdh_signature.jpg"/>
                      </noscript>
                     </a>
                     <a class="link link--internal" href="https://f95zone.to/threads/whores-of-thrones-v0-75-funfictionart.6304/unread">
                      <img class="bbImage lazyload" data-src="https://attachments.f95zone.to/2023/09/2984704_Wot_Banner_2023.png" data-url="https://attachments.f95zone.to/2023/09/2984704_Wot_Banner_2023.png" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" style=""/>
                      <noscript>
                       <img class="bbImage" src="https://attachments.f95zone.to/2023/09/2984704_Wot_Banner_2023.png"/>
                      </noscript>
                     </a>
                     <br/>
                     <br/>
                     ​
                    </div>
                    <a class="link link--external" href="https://subscribestar.adult/johnandrich" rel="nofollow noopener" target="_blank">
                     https://subscribestar.adult/johnandrich
                    </a>
                   </div>
                  </aside>
                 </div>
                 <div class="reactionsBar js-reactionsList is-active">
                  <ul class="reactionSummary th_reactplus_reactionSummary--condensed">
                   <li>
                    <span class="reaction reaction--small reaction--1" data-reaction-id="1">
                     <i aria-hidden="true">
                     </i>
                     <img alt="Like" class="reaction-sprite js-reaction" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" title="Like"/>
                    </span>
                   </li>
                  </ul>
                  <span class="u-srOnly">
                   Reactions:
                  </span>
                  <a class="reactionsBar-link" data-cache="false" data-xf-click="overlay" href="/posts/1054690/reactions">
                   <bdi>
                    JohnDupont
                   </bdi>
                  </a>
                 </div>
                 <footer class="message-footer">
                  <div class="message-actionBar actionBar">
                   <div class="actionBar-set actionBar-set--external">
                    <a class="reaction reaction--small actionBar-action actionBar-action--reaction reaction--imageHidden reaction--1" data-reaction-id="1" data-reaction-list="&lt; .js-post | .js-reactionsList" data-th-react-plus-content-id="1054690" data-th-react-plus-content-type="post" data-xf-init="reaction" href="/posts/1054690/react?reaction_id=1">
                     <i aria-hidden="true">
                     </i>
                     <img alt="Like" class="reaction-sprite js-reaction" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" title="Like"/>
                     <span class="reaction-text js-reactionText">
                      <bdi>
                       Like
                      </bdi>
                     </span>
                    </a>
                    <a class="actionBar-action actionBar-action--mq u-jsOnly js-multiQuote" data-message-id="1054690" data-mq-action="add" href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/reply?quote=1054690" title="Toggle multi-quote">
                     Quote
                    </a>
                    <a class="actionBar-action actionBar-action--reply" data-quote-href="/posts/1054690/quote" data-xf-click="quote" href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/reply?quote=1054690" title="Reply, quoting this message">
                     Reply
                    </a>
                   </div>
                   <div class="actionBar-set actionBar-set--internal">
                    <a class="actionBar-action actionBar-action--report" data-xf-click="overlay" href="/posts/1054690/report">
                     Report
                    </a>
                   </div>
                  </div>
                  <div class="js-historyTarget message-historyTarget toggleTarget" data-href="trigger-href">
                  </div>
                 </footer>
                </div>
               </div>
              </div>
             </article>
             <article class="message message--post js-post js-inlineModContainer" data-author="anne O'nymous" data-content="post-1055267" id="js-post-1055267">
              <span class="u-anchorTarget" id="post-1055267">
              </span>
              <div class="message-inner">
               <div class="message-cell message-cell--user">
                <section class="message-user userExtra--expand" itemscope="" itemtype="https://schema.org/Person">
                 <div class="message-avatar">
                  <div class="message-avatar-wrapper">
                   <a class="avatar avatar--m" data-user-id="63812" data-xf-init="member-tooltip" href="/members/anne-onymous.63812/">
                    <img alt="anne O'nymous" class="avatar-u63812-m" itemprop="image" src="/data/avatars/m/63/63812.jpg?1507736890" srcset="/data/avatars/l/63/63812.jpg?1507736890 2x"/>
                   </a>
                  </div>
                 </div>
                 <div class="uix_messagePostBitWrapper">
                  <div class="message-userDetails">
                   <h4 class="message-name">
                    <a class="username" data-user-id="63812" data-xf-init="member-tooltip" dir="auto" href="/members/anne-onymous.63812/" itemprop="name">
                     <span class="username--style15">
                      anne O'nymous
                     </span>
                    </a>
                   </h4>
                   <h5 class="userTitle message-userTitle" dir="auto" itemprop="jobTitle">
                    I'm not grumpy, I'm just coded that way.
                   </h5>
                   <div class="userBanner userBanner userBanner--green message-userBanner" itemprop="jobTitle">
                    <span class="userBanner-before">
                    </span>
                    <strong>
                     Modder
                    </strong>
                    <span class="userBanner-after">
                    </span>
                   </div>
                   <div class="userBanner .userBanner Donor message-userBanner" itemprop="jobTitle">
                    <span class="userBanner-before">
                    </span>
                    <strong>
                     Donor
                     <i class="fa fa-coffee">
                     </i>
                    </strong>
                    <span class="userBanner-after">
                    </span>
                   </div>
                   <div class="userBanner userBanner userBanner--orange message-userBanner" itemprop="jobTitle">
                    <span class="userBanner-before">
                    </span>
                    <strong>
                     Respected User
                    </strong>
                    <span class="userBanner-after">
                    </span>
                   </div>
                   <div class="userBanner message-userBanner" itemprop="jobTitle">
                    <span class="userBanner-before">
                    </span>
                    <strong>
                    </strong>
                    <span class="userBanner-after">
                    </span>
                   </div>
                  </div>
                  <div class="message-userExtras">
                   <dl class="pairs pairs--justified">
                    <dt>
                     <span data-xf-init="tooltip" title="Joined">
                      <i aria-hidden="true" class="fa--xf fas fa-user uix_icon uix_icon--user">
                      </i>
                     </span>
                    </dt>
                    <dd>
                     Jun 11, 2017
                    </dd>
                   </dl>
                   <dl class="pairs pairs--justified">
                    <dt>
                     <span data-xf-init="tooltip" title="Messages">
                      <i aria-hidden="true" class="fa--xf fas fa-comments uix_icon uix_icon--messages">
                      </i>
                     </span>
                    </dt>
                    <dd>
                     10,727
                    </dd>
                   </dl>
                   <dl class="pairs pairs--justified">
                    <dt>
                     <span data-xf-init="tooltip" title="Likes">
                      <i aria-hidden="true" class="fa--xf fas fa-thumbs-up uix_icon uix_icon--like">
                      </i>
                     </span>
                    </dt>
                    <dd>
                     15,771
                    </dd>
                   </dl>
                  </div>
                 </div>
                 <span class="message-userArrow">
                 </span>
                </section>
               </div>
               <div class="message-cell message-cell--main">
                <div class="message-main uix_messageContent js-quickEditTarget">
                 <header class="message-attribution message-attribution--split">
                  <div class="message-attribution-main">
                   <a class="u-concealed" href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/post-1055267" rel="nofollow">
                    <time class="u-dt" data-date-string="Sep 1, 2018" data-time="1535736930" data-time-string="1:35 AM" datetime="2018-09-01T01:35:30+0800" dir="auto" title="Sep 1, 2018 at 1:35 AM">
                     Sep 1, 2018
                    </time>
                   </a>
                  </div>
                  <ul class="message-attribution-opposite message-attribution-opposite--list">
                   <li>
                    <a data-href="/posts/1055267/share" data-xf-init="share-tooltip" href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/post-1055267" rel="nofollow">
                     <i aria-hidden="true" class="fa--xf fas fa-share-alt uix_icon uix_icon--share">
                     </i>
                    </a>
                   </li>
                   <li>
                    <a class="bookmarkLink bookmarkLink--highlightable" data-label=".js-bookmarkText" data-sk-bookmarked="addClass:is-bookmarked, Edit bookmark" data-sk-bookmarkremoved="removeClass:is-bookmarked, Add bookmark" data-xf-click="bookmark-click" href="/posts/1055267/bookmark" title="Bookmark">
                     <span class="js-bookmarkText u-srOnly">
                      Add bookmark
                     </span>
                    </a>
                   </li>
                   <li>
                    <a href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/post-1055267" rel="nofollow">
                     #3
                    </a>
                   </li>
                  </ul>
                 </header>
                 <div class="message-content js-messageContent">
                  <div class="message-userContent lbContainer js-lbContainer" data-lb-caption-desc="anne O'nymous · Sep 1, 2018 at 1:35 AM" data-lb-id="post-1055267">
                   <article class="message-body js-selectToQuote">
                    <div class="bbWrapper">
                     Honestly I didn't really understood what you try to do. Really looks like you tried to make something simple, but make it really complex.
                     <br/>
                     <br/>
                     What I understood is that you have multiples buttons, all filled by a layered picture. So, my question is, why not using dynamics displayable  ?
                     <br/>
                     Something like this (made on the fly) :
                     <br/>
                     <div class="bbCodeBlock bbCodeBlock--screenLimited bbCodeBlock--code">
                      <div class="bbCodeBlock-title">
                       Code:
                      </div>
                      <div class="bbCodeBlock-content" dir="ltr">
                       <pre class="bbCodeCode" data-lang="" data-xf-init="code-block" dir="ltr"><code>default buttonLayers = []

# a fully transparent image
image empty = Solid( "#00000000" )

image button one:
    contains:
        DynamicImage( buttonLayers[0]["base"] )
    contains:
        DynamicImage( buttonLayers[0]["tatoo"] )
    contains:
        DynamicImage( buttonLayers[0]['top"] )
    contains:
        DynamicImage( buttonLayers[0]["bottom"] )
image button two:
    contains:
        DynamicImage( buttonLayers[1]["base"] )
    contains:
        DynamicImage( buttonLayers[1]["tatoo"] )
    contains:
        DynamicImage( buttonLayers[1]['top"] )
    contains:
        DynamicImage( buttonLayers[1]["bottom"] )

label updateButton:
    python:
        buttonLayers[0]["base"] = "whatever picture you want for this case"
        # No tatoo for this time
        buttonLayers[0]["tatoo"] = empty
        buttonLayers[0]["top"] = "whatever picture you want for this case"
        buttonLayers[0]["bottom"] = "whatever picture you want for this case"
        [...]

screen showButtons:
     vbox:
         text "text for this button this time"
         imagebutton:
             idle button one
             action [whatever you want to do]

     vbox:
         text "text for this button this time"
         imagebutton:
             idle button two
             action [whatever you want to do]</code></pre>
                      </div>
                     </div>
                     <br/>
                     <blockquote class="bbCodeBlock bbCodeBlock--expandable bbCodeBlock--quote">
                      <div class="bbCodeBlock-title">
                       <a class="bbCodeBlock-sourceJump" data-content-selector="#post-1052140" data-xf-click="attribution" href="/goto/post?id=1052140">
                        JohnDupont said:
                       </a>
                      </div>
                      <div class="bbCodeBlock-content">
                       <div class="bbCodeBlock-expandContent">
                        <span style="font-size: 18px">
                         Since I am currently using 1 column per variable, I can't use more than 5 variables without expanding initial the code
                        </span>
                       </div>
                       <div class="bbCodeBlock-expandLink">
                        <a>
                         Click to expand...
                        </a>
                       </div>
                      </div>
                     </blockquote>
                     I still don't understand. You used a dynamic value for the first index of the array, just use one for the second since it's the only thing which change in the code you provided :
                     <br/>
                     <div class="bbCodeBlock bbCodeBlock--screenLimited bbCodeBlock--code">
                      <div class="bbCodeBlock-title">
                       Code:
                      </div>
                      <div class="bbCodeBlock-content" dir="ltr">
                       <pre class="bbCodeCode" data-lang="" data-xf-init="code-block" dir="ltr"><code>    # Shows the images 1 to 5  
    for idx in range(2,7):	
        hbox:
	    xfill
	    ysize 536
	    anchor (0.5,1.0) align (0.5,1.0)
	    # For each data in 'LINE0'
	    for i in range(0,len(LINE0)):
	        if ALLTHEDATA[i][idx] != 'jdmod':
		    add "images/{}.png".format(ALLTHEDATA[i][idx]) at transform_images</code></pre>
                      </div>
                     </div>
                     All this said, you seemed to struggle while describing what you want to do, and that's not a good thing. If you don't know how to describe the code you want to write, you'll never achieve to write it. The first thing to do is to take the time to peacefully think about what you want to do, until in your mind it's no more "something like this", but a precise description. Then it will be more easy for you to find the way it should be done.
                     <br/>
                     <br/>
                     <br/>
                     <blockquote class="bbCodeBlock bbCodeBlock--expandable bbCodeBlock--quote">
                      <div class="bbCodeBlock-title">
                       <a class="bbCodeBlock-sourceJump" data-content-selector="#post-1054690" data-xf-click="attribution" href="/goto/post?id=1054690">
                        Rich said:
                       </a>
                      </div>
                      <div class="bbCodeBlock-content">
                       <div class="bbCodeBlock-expandContent">
                        <div class="bbCodeBlock bbCodeBlock--screenLimited bbCodeBlock--code">
                         <div class="bbCodeBlock-title">
                          Code:
                         </div>
                         <div class="bbCodeBlock-content" dir="ltr">
                          <pre class="bbCodeCode" data-lang="" data-xf-init="code-block" dir="ltr"><code> if ALLTHEDATA[i][3] != 'jdmod':
      ...</code></pre>
                         </div>
                        </div>
                        you could just do
                        <br/>
                        <div class="bbCodeBlock bbCodeBlock--screenLimited bbCodeBlock--code">
                         <div class="bbCodeBlock-title">
                          Code:
                         </div>
                         <div class="bbCodeBlock-content" dir="ltr">
                          <pre class="bbCodeCode" data-lang="" data-xf-init="code-block" dir="ltr"><code> if ALLTHEDATA[i][3]:
      ...</code></pre>
                         </div>
                        </div>
                        Thus, the indented block will only be executed if the variable is non-empty,
                       </div>
                       <div class="bbCodeBlock-expandLink">
                        <a>
                         Click to expand...
                        </a>
                       </div>
                      </div>
                     </blockquote>
                     Er... Being empty and not being equal to "jdmod" are not the same thing.
                    </div>
                    <div class="js-selectToQuoteEnd">
                    </div>
                   </article>
                  </div>
                  <aside class="message-signature">
                   <div class="uix_signatureExpand">
                    Expand Signature
                   </div>
                   <div class="bbWrapper">
                    Ren'py:
                    <a class="link link--external" href="https://f95zone.com/threads/5676/" rel="nofollow noopener" target="_blank">
                     Track variables
                    </a>
                    -
                    <a class="link link--external" href="https://f95zone.com/threads/16011/" rel="nofollow noopener" target="_blank">
                     Save compatibiliy
                    </a>
                    -
                    <a class="link link--internal" href="https://f95zone.to/threads/125005/">
                     Track labels
                    </a>
                    <span style="color: rgb(41, 105, 176)">
                     Updated
                    </span>
                    <br/>
                    <a class="link link--internal" href="https://f95zone.to/threads/99929/">
                     Write a dynamic Ren'Py game
                    </a>
                   </div>
                  </aside>
                 </div>
                 <div class="reactionsBar js-reactionsList is-active">
                  <ul class="reactionSummary th_reactplus_reactionSummary--condensed">
                   <li>
                    <span class="reaction reaction--small reaction--1" data-reaction-id="1">
                     <i aria-hidden="true">
                     </i>
                     <img alt="Like" class="reaction-sprite js-reaction" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" title="Like"/>
                    </span>
                   </li>
                  </ul>
                  <span class="u-srOnly">
                   Reactions:
                  </span>
                  <a class="reactionsBar-link" data-cache="false" data-xf-click="overlay" href="/posts/1055267/reactions">
                   <bdi>
                    JohnDupont
                   </bdi>
                  </a>
                 </div>
                 <footer class="message-footer">
                  <div class="message-actionBar actionBar">
                   <div class="actionBar-set actionBar-set--external">
                    <a class="reaction reaction--small actionBar-action actionBar-action--reaction reaction--imageHidden reaction--1" data-reaction-id="1" data-reaction-list="&lt; .js-post | .js-reactionsList" data-th-react-plus-content-id="1055267" data-th-react-plus-content-type="post" data-xf-init="reaction" href="/posts/1055267/react?reaction_id=1">
                     <i aria-hidden="true">
                     </i>
                     <img alt="Like" class="reaction-sprite js-reaction" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" title="Like"/>
                     <span class="reaction-text js-reactionText">
                      <bdi>
                       Like
                      </bdi>
                     </span>
                    </a>
                    <a class="actionBar-action actionBar-action--mq u-jsOnly js-multiQuote" data-message-id="1055267" data-mq-action="add" href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/reply?quote=1055267" title="Toggle multi-quote">
                     Quote
                    </a>
                    <a class="actionBar-action actionBar-action--reply" data-quote-href="/posts/1055267/quote" data-xf-click="quote" href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/reply?quote=1055267" title="Reply, quoting this message">
                     Reply
                    </a>
                   </div>
                   <div class="actionBar-set actionBar-set--internal">
                    <a class="actionBar-action actionBar-action--report" data-xf-click="overlay" href="/posts/1055267/report">
                     Report
                    </a>
                   </div>
                  </div>
                  <div class="js-historyTarget message-historyTarget toggleTarget" data-href="trigger-href">
                  </div>
                 </footer>
                </div>
               </div>
              </div>
             </article>
             <article class="message message-threadStarterPost message--post js-post js-inlineModContainer" data-author="JohnDupont" data-content="post-1055777" id="js-post-1055777">
              <span class="u-anchorTarget" id="post-1055777">
              </span>
              <div class="message-inner">
               <div class="message-cell message-cell--user">
                <section class="message-user userExtra--expand" itemscope="" itemtype="https://schema.org/Person">
                 <div class="message-avatar">
                  <div class="message-avatar-wrapper">
                   <a class="avatar avatar--m" data-user-id="43799" data-xf-init="member-tooltip" href="/members/johndupont.43799/">
                    <img alt="JohnDupont" class="avatar-u43799-m" itemprop="image" src="/data/avatars/m/43/43799.jpg?1544568178" srcset="/data/avatars/l/43/43799.jpg?1544568178 2x"/>
                   </a>
                  </div>
                 </div>
                 <div class="uix_messagePostBitWrapper">
                  <div class="message-userDetails">
                   <h4 class="message-name">
                    <a class="username" data-user-id="43799" data-xf-init="member-tooltip" dir="auto" href="/members/johndupont.43799/" itemprop="name">
                     <i class="fa-fw fas fa-group" style="padding-right: 2px; color: rgb(0, 179, 255);">
                     </i>
                     <span class='="username--style15"'>
                      <span style="color: rgb(226, 179, 234);">
                       JohnDupont
                      </span>
                     </span>
                    </a>
                   </h4>
                   <h5 class="userTitle message-userTitle" dir="auto" itemprop="jobTitle">
                    Active Member
                   </h5>
                   <div class="userBanner userBanner userBanner--green message-userBanner" itemprop="jobTitle">
                    <span class="userBanner-before">
                    </span>
                    <strong>
                     Modder
                    </strong>
                    <span class="userBanner-after">
                    </span>
                   </div>
                   <div class="userBanner message-userBanner" itemprop="jobTitle">
                    <span class="userBanner-before">
                    </span>
                    <strong>
                    </strong>
                    <span class="userBanner-after">
                    </span>
                   </div>
                  </div>
                  <div class="message-userExtras">
                   <dl class="pairs pairs--justified">
                    <dt>
                     <span data-xf-init="tooltip" title="Joined">
                      <i aria-hidden="true" class="fa--xf fas fa-user uix_icon uix_icon--user">
                      </i>
                     </span>
                    </dt>
                    <dd>
                     May 27, 2017
                    </dd>
                   </dl>
                   <dl class="pairs pairs--justified">
                    <dt>
                     <span data-xf-init="tooltip" title="Messages">
                      <i aria-hidden="true" class="fa--xf fas fa-comments uix_icon uix_icon--messages">
                      </i>
                     </span>
                    </dt>
                    <dd>
                     836
                    </dd>
                   </dl>
                   <dl class="pairs pairs--justified">
                    <dt>
                     <span data-xf-init="tooltip" title="Likes">
                      <i aria-hidden="true" class="fa--xf fas fa-thumbs-up uix_icon uix_icon--like">
                      </i>
                     </span>
                    </dt>
                    <dd>
                     2,798
                    </dd>
                   </dl>
                  </div>
                 </div>
                 <span class="message-userArrow">
                 </span>
                </section>
               </div>
               <div class="message-cell message-cell--main">
                <div class="message-main uix_messageContent js-quickEditTarget">
                 <header class="message-attribution message-attribution--split">
                  <div class="message-attribution-main">
                   <a class="u-concealed" href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/post-1055777" rel="nofollow">
                    <time class="u-dt" data-date-string="Sep 1, 2018" data-time="1535746750" data-time-string="4:19 AM" datetime="2018-09-01T04:19:10+0800" dir="auto" title="Sep 1, 2018 at 4:19 AM">
                     Sep 1, 2018
                    </time>
                   </a>
                  </div>
                  <ul class="message-attribution-opposite message-attribution-opposite--list">
                   <li>
                    <a data-href="/posts/1055777/share" data-xf-init="share-tooltip" href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/post-1055777" rel="nofollow">
                     <i aria-hidden="true" class="fa--xf fas fa-share-alt uix_icon uix_icon--share">
                     </i>
                    </a>
                   </li>
                   <li>
                    <a class="bookmarkLink bookmarkLink--highlightable" data-label=".js-bookmarkText" data-sk-bookmarked="addClass:is-bookmarked, Edit bookmark" data-sk-bookmarkremoved="removeClass:is-bookmarked, Add bookmark" data-xf-click="bookmark-click" href="/posts/1055777/bookmark" title="Bookmark">
                     <span class="js-bookmarkText u-srOnly">
                      Add bookmark
                     </span>
                    </a>
                   </li>
                   <li>
                    <a href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/post-1055777" rel="nofollow">
                     #4
                    </a>
                   </li>
                  </ul>
                 </header>
                 <div class="message-content js-messageContent">
                  <div class="message-userContent lbContainer js-lbContainer" data-lb-caption-desc="JohnDupont · Sep 1, 2018 at 4:19 AM" data-lb-id="post-1055777">
                   <article class="message-body js-selectToQuote">
                    <div class="bbWrapper">
                     Thank you both.
                     <br/>
                     <br/>
                     <blockquote class="bbCodeBlock bbCodeBlock--expandable bbCodeBlock--quote">
                      <div class="bbCodeBlock-title">
                       <a class="bbCodeBlock-sourceJump" data-content-selector="#post-1055267" data-xf-click="attribution" href="/goto/post?id=1055267">
                        anne O'nymous said:
                       </a>
                      </div>
                      <div class="bbCodeBlock-content">
                       <div class="bbCodeBlock-expandContent">
                        All this said, you seemed to struggle while describing what you want to do, and that's not a good thing. If you don't know how to describe the code you want to write, you'll never achieve to write it. The first thing to do is to take the time to peacefully think about what you want to do, until in your mind it's no more "something like this", but a precise description. Then it will be more easy for you to find the way it should be done.
                       </div>
                       <div class="bbCodeBlock-expandLink">
                        <a>
                         Click to expand...
                        </a>
                       </div>
                      </div>
                     </blockquote>
                     You are one hundred percent right. I'm sorry ; I made this thing with very little knowledge of what I was doing and most of the original post was me trying to explain what I did, rather than explain what I wanted to achieve.
                     <br/>
                     <br/>
                     What I'd like to do is:
                     <br/>
                     From a spreadsheet like this:
                     <br/>
                     <div class="bbCodeSpoiler">
                      <button class="bbCodeSpoiler-button button--longText button" data-xf-click="toggle" type="button">
                       <span class="button-text">
                        <span>
                         Spoiler:
                         <span class="bbCodeSpoiler-button-title">
                          Spreadsheet
                         </span>
                        </span>
                       </span>
                      </button>
                      <div class="bbCodeSpoiler-content">
                       <div class="bbCodeBlock bbCodeBlock--spoiler">
                        <div class="bbCodeBlock-content">
                         <div class="lbContainer lbContainer--inline" data-lb-container-zoom="1" data-lb-id="attachment144093" data-lb-single-image="1" data-lb-trigger=".js-lbImage-attachment144093" data-xf-init="lightbox" title="Capture.PNG">
                          <div aria-label="Zoom" class="lbContainer-zoomer js-lbImage-attachment144093" data-src="https://attachments.f95zone.to/2018/08/155698_Capture.png">
                          </div>
                          <img alt="Capture.PNG" class="bbImage lazyload" data-src="https://attachments.f95zone.to/2018/08/155698_Capture.png" data-url="" data-zoom-target="1" src="data:image/svg+xml;charset=utf-8,%3Csvg xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg' width='1149' height='186' viewBox%3D'0 0 1149 186'%2F%3E" style=""/>
                          <noscript>
                           <img alt="Capture.PNG" class="bbImage" data-url="" data-zoom-target="1" src="https://attachments.f95zone.to/2018/08/155698_Capture.png" style=""/>
                          </noscript>
                         </div>
                        </div>
                       </div>
                      </div>
                     </div>
                     <br/>
                     Write something like that:
                     <br/>
                     <div class="bbCodeBlock bbCodeBlock--screenLimited bbCodeBlock--code">
                      <div class="bbCodeBlock-title">
                       Code:
                      </div>
                      <div class="bbCodeBlock-content" dir="ltr">
                       <pre class="bbCodeCode" data-lang="" data-xf-init="code-block" dir="ltr"><code>label:
    $ spreadsheet_is("character.tsv")
    $ options_selected_are("option1", "option2", ... from 2 to 4)
    call monstrosity
    return
   
label monstrosity:
    call screen
   
screen:
    for each option selected:
        set all the variables in the options selected to False
 
    hbox:
        for each option selected:
            add all the images for this option          

    hbox:
        for each option selected:
            button:
                clicked [set all the variables in this option to True, Return]
           
    hbox:
        for each option selected:
            text "description" for this option</code></pre>
                      </div>
                     </div>
                    </div>
                    <div class="js-selectToQuoteEnd">
                    </div>
                   </article>
                  </div>
                  <aside class="message-signature">
                   <div class="uix_signatureExpand">
                    Expand Signature
                   </div>
                   <div class="bbWrapper">
                    <div style="text-align: center">
                     <a class="link link--external" href="https://www.patreon.com/JohnDupont" rel="nofollow noopener" target="_blank">
                      <img class="bbImage lazyload" data-src="https://attachments.f95zone.to/2021/06/1253905_Signature_2.0_60.gif" data-url="https://attachments.f95zone.to/2021/06/1253905_Signature_2.0_60.gif" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" style=""/>
                      <noscript>
                       <img class="bbImage" src="https://attachments.f95zone.to/2021/06/1253905_Signature_2.0_60.gif"/>
                      </noscript>
                     </a>
                     ​
                    </div>
                   </div>
                  </aside>
                 </div>
                 <div class="reactionsBar js-reactionsList">
                 </div>
                 <footer class="message-footer">
                  <div class="message-actionBar actionBar">
                   <div class="actionBar-set actionBar-set--external">
                    <a class="reaction reaction--small actionBar-action actionBar-action--reaction reaction--imageHidden reaction--1" data-reaction-id="1" data-reaction-list="&lt; .js-post | .js-reactionsList" data-th-react-plus-content-id="1055777" data-th-react-plus-content-type="post" data-xf-init="reaction" href="/posts/1055777/react?reaction_id=1">
                     <i aria-hidden="true">
                     </i>
                     <img alt="Like" class="reaction-sprite js-reaction" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" title="Like"/>
                     <span class="reaction-text js-reactionText">
                      <bdi>
                       Like
                      </bdi>
                     </span>
                    </a>
                    <a class="actionBar-action actionBar-action--mq u-jsOnly js-multiQuote" data-message-id="1055777" data-mq-action="add" href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/reply?quote=1055777" title="Toggle multi-quote">
                     Quote
                    </a>
                    <a class="actionBar-action actionBar-action--reply" data-quote-href="/posts/1055777/quote" data-xf-click="quote" href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/reply?quote=1055777" title="Reply, quoting this message">
                     Reply
                    </a>
                   </div>
                   <div class="actionBar-set actionBar-set--internal">
                    <a class="actionBar-action actionBar-action--report" data-xf-click="overlay" href="/posts/1055777/report">
                     Report
                    </a>
                   </div>
                  </div>
                  <div class="js-historyTarget message-historyTarget toggleTarget" data-href="trigger-href">
                  </div>
                 </footer>
                </div>
               </div>
              </div>
             </article>
             <article class="message message--post js-post js-inlineModContainer" data-author="anne O'nymous" data-content="post-1056022" id="js-post-1056022">
              <span class="u-anchorTarget" id="post-1056022">
              </span>
              <div class="message-inner">
               <div class="message-cell message-cell--user">
                <section class="message-user userExtra--expand" itemscope="" itemtype="https://schema.org/Person">
                 <div class="message-avatar">
                  <div class="message-avatar-wrapper">
                   <a class="avatar avatar--m" data-user-id="63812" data-xf-init="member-tooltip" href="/members/anne-onymous.63812/">
                    <img alt="anne O'nymous" class="avatar-u63812-m" itemprop="image" src="/data/avatars/m/63/63812.jpg?1507736890" srcset="/data/avatars/l/63/63812.jpg?1507736890 2x"/>
                   </a>
                  </div>
                 </div>
                 <div class="uix_messagePostBitWrapper">
                  <div class="message-userDetails">
                   <h4 class="message-name">
                    <a class="username" data-user-id="63812" data-xf-init="member-tooltip" dir="auto" href="/members/anne-onymous.63812/" itemprop="name">
                     <span class="username--style15">
                      anne O'nymous
                     </span>
                    </a>
                   </h4>
                   <h5 class="userTitle message-userTitle" dir="auto" itemprop="jobTitle">
                    I'm not grumpy, I'm just coded that way.
                   </h5>
                   <div class="userBanner userBanner userBanner--green message-userBanner" itemprop="jobTitle">
                    <span class="userBanner-before">
                    </span>
                    <strong>
                     Modder
                    </strong>
                    <span class="userBanner-after">
                    </span>
                   </div>
                   <div class="userBanner .userBanner Donor message-userBanner" itemprop="jobTitle">
                    <span class="userBanner-before">
                    </span>
                    <strong>
                     Donor
                     <i class="fa fa-coffee">
                     </i>
                    </strong>
                    <span class="userBanner-after">
                    </span>
                   </div>
                   <div class="userBanner userBanner userBanner--orange message-userBanner" itemprop="jobTitle">
                    <span class="userBanner-before">
                    </span>
                    <strong>
                     Respected User
                    </strong>
                    <span class="userBanner-after">
                    </span>
                   </div>
                   <div class="userBanner message-userBanner" itemprop="jobTitle">
                    <span class="userBanner-before">
                    </span>
                    <strong>
                    </strong>
                    <span class="userBanner-after">
                    </span>
                   </div>
                  </div>
                  <div class="message-userExtras">
                   <dl class="pairs pairs--justified">
                    <dt>
                     <span data-xf-init="tooltip" title="Joined">
                      <i aria-hidden="true" class="fa--xf fas fa-user uix_icon uix_icon--user">
                      </i>
                     </span>
                    </dt>
                    <dd>
                     Jun 11, 2017
                    </dd>
                   </dl>
                   <dl class="pairs pairs--justified">
                    <dt>
                     <span data-xf-init="tooltip" title="Messages">
                      <i aria-hidden="true" class="fa--xf fas fa-comments uix_icon uix_icon--messages">
                      </i>
                     </span>
                    </dt>
                    <dd>
                     10,727
                    </dd>
                   </dl>
                   <dl class="pairs pairs--justified">
                    <dt>
                     <span data-xf-init="tooltip" title="Likes">
                      <i aria-hidden="true" class="fa--xf fas fa-thumbs-up uix_icon uix_icon--like">
                      </i>
                     </span>
                    </dt>
                    <dd>
                     15,771
                    </dd>
                   </dl>
                  </div>
                 </div>
                 <span class="message-userArrow">
                 </span>
                </section>
               </div>
               <div class="message-cell message-cell--main">
                <div class="message-main uix_messageContent js-quickEditTarget">
                 <header class="message-attribution message-attribution--split">
                  <div class="message-attribution-main">
                   <a class="u-concealed" href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/post-1056022" rel="nofollow">
                    <time class="u-dt" data-date-string="Sep 1, 2018" data-time="1535751564" data-time-string="5:39 AM" datetime="2018-09-01T05:39:24+0800" dir="auto" title="Sep 1, 2018 at 5:39 AM">
                     Sep 1, 2018
                    </time>
                   </a>
                  </div>
                  <ul class="message-attribution-opposite message-attribution-opposite--list">
                   <li>
                    <a data-href="/posts/1056022/share" data-xf-init="share-tooltip" href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/post-1056022" rel="nofollow">
                     <i aria-hidden="true" class="fa--xf fas fa-share-alt uix_icon uix_icon--share">
                     </i>
                    </a>
                   </li>
                   <li>
                    <a class="bookmarkLink bookmarkLink--highlightable" data-label=".js-bookmarkText" data-sk-bookmarked="addClass:is-bookmarked, Edit bookmark" data-sk-bookmarkremoved="removeClass:is-bookmarked, Add bookmark" data-xf-click="bookmark-click" href="/posts/1056022/bookmark" title="Bookmark">
                     <span class="js-bookmarkText u-srOnly">
                      Add bookmark
                     </span>
                    </a>
                   </li>
                   <li>
                    <a href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/post-1056022" rel="nofollow">
                     #5
                    </a>
                   </li>
                  </ul>
                 </header>
                 <div class="message-content js-messageContent">
                  <div class="message-userContent lbContainer js-lbContainer" data-lb-caption-desc="anne O'nymous · Sep 1, 2018 at 5:39 AM" data-lb-id="post-1056022">
                   <article class="message-body js-selectToQuote">
                    <div class="bbWrapper">
                     <blockquote class="bbCodeBlock bbCodeBlock--expandable bbCodeBlock--quote">
                      <div class="bbCodeBlock-title">
                       <a class="bbCodeBlock-sourceJump" data-content-selector="#post-1055777" data-xf-click="attribution" href="/goto/post?id=1055777">
                        JohnDupont said:
                       </a>
                      </div>
                      <div class="bbCodeBlock-content">
                       <div class="bbCodeBlock-expandContent">
                        You are one hundred percent right. I'm sorry
                       </div>
                       <div class="bbCodeBlock-expandLink">
                        <a>
                         Click to expand...
                        </a>
                       </div>
                      </div>
                     </blockquote>
                     No worry, I needed years to learn this
                     <img alt=";)" class="smilie smilie--sprite smilie--sprite668" data-shortname=";)" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" title="Wink    ;)"/>
                     <br/>
                     <br/>
                     <br/>
                     <blockquote class="bbCodeBlock bbCodeBlock--expandable bbCodeBlock--quote">
                      <div class="bbCodeBlock-title">
                       <a class="bbCodeBlock-sourceJump" data-content-selector="#post-1055777" data-xf-click="attribution" href="/goto/post?id=1055777">
                        JohnDupont said:
                       </a>
                      </div>
                      <div class="bbCodeBlock-content">
                       <div class="bbCodeBlock-expandContent">
                        From a spreadsheet like this:
                       </div>
                       <div class="bbCodeBlock-expandLink">
                        <a>
                         Click to expand...
                        </a>
                       </div>
                      </div>
                     </blockquote>
                     So :
                     <br/>
                     <ul>
                      <li data-xf-list-type="ul">
                       An undefined number of row ; which mean a list at first.
                      </li>
                      <li data-xf-list-type="ul">
                       Three different named fields for each row ; which mean a dict.
                      </li>
                      <li data-xf-list-type="ul">
                       Two of the fields have an undefined number of columns ; which mean yet a list for them.
                      </li>
                     </ul>
                     All this give something like this :
                     <br/>
                     <div class="bbCodeBlock bbCodeBlock--screenLimited bbCodeBlock--code">
                      <div class="bbCodeBlock-title">
                       Code:
                      </div>
                      <div class="bbCodeBlock-content" dir="ltr">
                       <pre class="bbCodeCode" data-lang="" data-xf-init="code-block" dir="ltr"><code>AllOptions = []

# create option 1
AllOptions.append( {} )

# Now fill it with description
AllOptions[0]["Description"] = "some description"

# Then create the images list for it
AllOptions[0]["Images"] = []
# And fill it with the first image
AllOptions[0]["Images"].append( "A displayable or image" )
# then the second, and so on
AllOptions[0]["Images"].append( "Another displayable or image" )

# And finally do the same with the variables list
AllOptions[0]["Variables"] = []
AllOptions[0]["Variables"].append( "Some variable" )
AllOptions[0]["Variables"].append( "Some other variable" )</code></pre>
                      </div>
                     </div>
                     I aimed for an explanation more than a demonstration, so wrote it as simple as possible.
                     <br/>
                     <br/>
                     <br/>
                     Now for the screen, it will be a little more complicated.
                     <br/>
                     You have a fixed number of rows, but their size are variables. So you can't display them by row, because they'll not be aligned. What you need is to display each column one by one, then Ren'py should use the wider one to define the size of the ensemble.
                     <br/>
                     It lead to something like this :
                     <br/>
                     <div class="bbCodeBlock bbCodeBlock--screenLimited bbCodeBlock--code">
                      <div class="bbCodeBlock-title">
                       Code:
                      </div>
                      <div class="bbCodeBlock-content" dir="ltr">
                       <pre class="bbCodeCode" data-lang="" data-xf-init="code-block" dir="ltr"><code>screen theScreen:

    # The rows must be side by side, so grouped in a hbox
    hbox:
        # Column "options"
        vbox:
            for i in range( 0, len( AllOptions ) ):
                text "Option number {}".format( i )

        # Column "Description"
        vbox:
            # There can be long text, limit the maximal size.
            xmaximum 400
            for i in range( 0, len( AllOptions ) ):
                text "{}".format( AllOptions[i]["Description"] )

        # Column "Images"
        #  Here it starts to be difficult, so it will be differed in an external
        # screen. In the same time the same screen global definition also
        # works for the last row, so it will simplify.
        vbox:
            use externalScreen( "Images" )

        # Row "Variables"
        vbox:
            use externalScreen( "Variables" )

screen externalScreen( target ):

    #  Format the column according to the number of entries in the biggest
    # 'target' list. And obviously, find this number.
    $ max = 0
    for i in range( 0, len( AllOptions ):
        if len( AllOptions[i][target] ) &gt; max:
            $ max = len( AllOptions[i][target] )

    #  This column is an ensemble of row of columns. And like previously, we
    # need to display them by column to let Ren'py align everything.
    hbox:
        # Display the number of columns find above.
        for n in range(0, max ):
            vbox:
                for i in range( 0, len( AllOptions ) ):
                    # Some list will be shorter, fill them with an empty value.
                    if len( AllOptions[i][target] ) &gt;= n: # Not sure if "&gt;=" or just "&gt;"
                        text ""
                    else:
                        text "{}".format( AllOptions[i][target][n] )</code></pre>
                      </div>
                     </div>
                     Keep in mind that I write it on the fly and that it's already 11:30PM here. So it's more the spirit of the screen than the screen itself.
                     <br/>
                     Also, for the example I used
                     <i>
                      text
                     </i>
                     as display to simplify. Change it by what you need. If the type of content from "Images" and "Variables" is different, the two last lines of the screen must be replaced by these four ones:
                     <br/>
                     <div class="bbCodeBlock bbCodeBlock--screenLimited bbCodeBlock--code">
                      <div class="bbCodeBlock-title">
                       Code:
                      </div>
                      <div class="bbCodeBlock-content" dir="ltr">
                       <pre class="bbCodeCode" data-lang="" data-xf-init="code-block" dir="ltr"><code>                        elif target == "Images":
                            text "{}".format( AllOptions[i][target][n]
                        else:  # imply "Variables"
                            text "{}".format( AllOptions[i][target][n]</code></pre>
                      </div>
                     </div>
                     Once again, I used a
                     <i>
                      text
                     </i>
                     , change by what is needed.
                     <br/>
                     <br/>
                     Edit: Corrected a big error in the screen
                    </div>
                    <div class="js-selectToQuoteEnd">
                    </div>
                   </article>
                  </div>
                  <aside class="message-signature">
                   <div class="uix_signatureExpand">
                    Expand Signature
                   </div>
                   <div class="bbWrapper">
                    Ren'py:
                    <a class="link link--external" href="https://f95zone.com/threads/5676/" rel="nofollow noopener" target="_blank">
                     Track variables
                    </a>
                    -
                    <a class="link link--external" href="https://f95zone.com/threads/16011/" rel="nofollow noopener" target="_blank">
                     Save compatibiliy
                    </a>
                    -
                    <a class="link link--internal" href="https://f95zone.to/threads/125005/">
                     Track labels
                    </a>
                    <span style="color: rgb(41, 105, 176)">
                     Updated
                    </span>
                    <br/>
                    <a class="link link--internal" href="https://f95zone.to/threads/99929/">
                     Write a dynamic Ren'Py game
                    </a>
                   </div>
                  </aside>
                 </div>
                 <div class="reactionsBar js-reactionsList is-active">
                  <ul class="reactionSummary th_reactplus_reactionSummary--condensed">
                   <li>
                    <span class="reaction reaction--small reaction--1" data-reaction-id="1">
                     <i aria-hidden="true">
                     </i>
                     <img alt="Like" class="reaction-sprite js-reaction" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" title="Like"/>
                    </span>
                   </li>
                  </ul>
                  <span class="u-srOnly">
                   Reactions:
                  </span>
                  <a class="reactionsBar-link" data-cache="false" data-xf-click="overlay" href="/posts/1056022/reactions">
                   <bdi>
                    JohnDupont
                   </bdi>
                  </a>
                 </div>
                 <footer class="message-footer">
                  <div class="message-actionBar actionBar">
                   <div class="actionBar-set actionBar-set--external">
                    <a class="reaction reaction--small actionBar-action actionBar-action--reaction reaction--imageHidden reaction--1" data-reaction-id="1" data-reaction-list="&lt; .js-post | .js-reactionsList" data-th-react-plus-content-id="1056022" data-th-react-plus-content-type="post" data-xf-init="reaction" href="/posts/1056022/react?reaction_id=1">
                     <i aria-hidden="true">
                     </i>
                     <img alt="Like" class="reaction-sprite js-reaction" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" title="Like"/>
                     <span class="reaction-text js-reactionText">
                      <bdi>
                       Like
                      </bdi>
                     </span>
                    </a>
                    <a class="actionBar-action actionBar-action--mq u-jsOnly js-multiQuote" data-message-id="1056022" data-mq-action="add" href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/reply?quote=1056022" title="Toggle multi-quote">
                     Quote
                    </a>
                    <a class="actionBar-action actionBar-action--reply" data-quote-href="/posts/1056022/quote" data-xf-click="quote" href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/reply?quote=1056022" title="Reply, quoting this message">
                     Reply
                    </a>
                   </div>
                   <div class="actionBar-set actionBar-set--internal">
                    <a class="actionBar-action actionBar-action--report" data-xf-click="overlay" href="/posts/1056022/report">
                     Report
                    </a>
                   </div>
                  </div>
                  <div class="js-historyTarget message-historyTarget toggleTarget" data-href="trigger-href">
                  </div>
                 </footer>
                </div>
               </div>
              </div>
             </article>
             <article class="message message-threadStarterPost message--post js-post js-inlineModContainer" data-author="JohnDupont" data-content="post-1059456" id="js-post-1059456">
              <span class="u-anchorTarget" id="post-1059456">
              </span>
              <div class="message-inner">
               <div class="message-cell message-cell--user">
                <section class="message-user userExtra--expand" itemscope="" itemtype="https://schema.org/Person">
                 <div class="message-avatar">
                  <div class="message-avatar-wrapper">
                   <a class="avatar avatar--m" data-user-id="43799" data-xf-init="member-tooltip" href="/members/johndupont.43799/">
                    <img alt="JohnDupont" class="avatar-u43799-m" itemprop="image" src="/data/avatars/m/43/43799.jpg?1544568178" srcset="/data/avatars/l/43/43799.jpg?1544568178 2x"/>
                   </a>
                  </div>
                 </div>
                 <div class="uix_messagePostBitWrapper">
                  <div class="message-userDetails">
                   <h4 class="message-name">
                    <a class="username" data-user-id="43799" data-xf-init="member-tooltip" dir="auto" href="/members/johndupont.43799/" itemprop="name">
                     <i class="fa-fw fas fa-group" style="padding-right: 2px; color: rgb(0, 179, 255);">
                     </i>
                     <span class='="username--style15"'>
                      <span style="color: rgb(226, 179, 234);">
                       JohnDupont
                      </span>
                     </span>
                    </a>
                   </h4>
                   <h5 class="userTitle message-userTitle" dir="auto" itemprop="jobTitle">
                    Active Member
                   </h5>
                   <div class="userBanner userBanner userBanner--green message-userBanner" itemprop="jobTitle">
                    <span class="userBanner-before">
                    </span>
                    <strong>
                     Modder
                    </strong>
                    <span class="userBanner-after">
                    </span>
                   </div>
                   <div class="userBanner message-userBanner" itemprop="jobTitle">
                    <span class="userBanner-before">
                    </span>
                    <strong>
                    </strong>
                    <span class="userBanner-after">
                    </span>
                   </div>
                  </div>
                  <div class="message-userExtras">
                   <dl class="pairs pairs--justified">
                    <dt>
                     <span data-xf-init="tooltip" title="Joined">
                      <i aria-hidden="true" class="fa--xf fas fa-user uix_icon uix_icon--user">
                      </i>
                     </span>
                    </dt>
                    <dd>
                     May 27, 2017
                    </dd>
                   </dl>
                   <dl class="pairs pairs--justified">
                    <dt>
                     <span data-xf-init="tooltip" title="Messages">
                      <i aria-hidden="true" class="fa--xf fas fa-comments uix_icon uix_icon--messages">
                      </i>
                     </span>
                    </dt>
                    <dd>
                     836
                    </dd>
                   </dl>
                   <dl class="pairs pairs--justified">
                    <dt>
                     <span data-xf-init="tooltip" title="Likes">
                      <i aria-hidden="true" class="fa--xf fas fa-thumbs-up uix_icon uix_icon--like">
                      </i>
                     </span>
                    </dt>
                    <dd>
                     2,798
                    </dd>
                   </dl>
                  </div>
                 </div>
                 <span class="message-userArrow">
                 </span>
                </section>
               </div>
               <div class="message-cell message-cell--main">
                <div class="message-main uix_messageContent js-quickEditTarget">
                 <header class="message-attribution message-attribution--split">
                  <div class="message-attribution-main">
                   <a class="u-concealed" href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/post-1059456" rel="nofollow">
                    <time class="u-dt" data-date-string="Sep 2, 2018" data-time="1535840981" data-time-string="6:29 AM" datetime="2018-09-02T06:29:41+0800" dir="auto" title="Sep 2, 2018 at 6:29 AM">
                     Sep 2, 2018
                    </time>
                   </a>
                  </div>
                  <ul class="message-attribution-opposite message-attribution-opposite--list">
                   <li>
                    <a data-href="/posts/1059456/share" data-xf-init="share-tooltip" href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/post-1059456" rel="nofollow">
                     <i aria-hidden="true" class="fa--xf fas fa-share-alt uix_icon uix_icon--share">
                     </i>
                    </a>
                   </li>
                   <li>
                    <a class="bookmarkLink bookmarkLink--highlightable" data-label=".js-bookmarkText" data-sk-bookmarked="addClass:is-bookmarked, Edit bookmark" data-sk-bookmarkremoved="removeClass:is-bookmarked, Add bookmark" data-xf-click="bookmark-click" href="/posts/1059456/bookmark" title="Bookmark">
                     <span class="js-bookmarkText u-srOnly">
                      Add bookmark
                     </span>
                    </a>
                   </li>
                   <li>
                    <a href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/post-1059456" rel="nofollow">
                     #6
                    </a>
                   </li>
                  </ul>
                 </header>
                 <div class="message-content js-messageContent">
                  <div class="message-userContent lbContainer js-lbContainer" data-lb-caption-desc="JohnDupont · Sep 2, 2018 at 6:29 AM" data-lb-id="post-1059456">
                   <article class="message-body js-selectToQuote">
                    <div class="bbWrapper">
                     Thank you for the help.
                     <br/>
                     Even though I tried some of your solutions, I didn't end up using any. But you made me realized that most of what I thought I knew about python was wrong and that motivated me to actually read some Python documentation.
                     <br/>
                     <br/>
                     I started from scratch (
                     <a class="link link--external" href="https://lemmasoft.renai.us/forums/viewtopic.php?t=1899" rel="nofollow noopener" target="_blank">
                      well almost
                     </a>
                     ), rewrote everything with what I wanted in mind, spent hours to find a solution for the variables but I think I finished it.
                     <br/>
                     <br/>
                     <div class="bbCodeBlock bbCodeBlock--screenLimited bbCodeBlock--code">
                      <div class="bbCodeBlock-title">
                       Code:
                      </div>
                      <div class="bbCodeBlock-content" dir="ltr">
                       <pre class="bbCodeCode" data-lang="" data-xf-init="code-block" dir="ltr"><code>label gallery_variableselection_character:
    $ spreadsheet("JDMOD/Database/TEST.tsv")
    $ options_selected = [0, 1]
    call JDMOD_TEST
    return</code></pre>
                      </div>
                     </div>
                     <div class="bbCodeBlock bbCodeBlock--screenLimited bbCodeBlock--code">
                      <div class="bbCodeBlock-title">
                       Code:
                      </div>
                      <div class="bbCodeBlock-content" dir="ltr">
                       <pre class="bbCodeCode" data-lang="" data-xf-init="code-block" dir="ltr"><code>init python:
    def spreadsheet(filename):
        f = file(config.gamedir + "/" + filename)
        global rv
        rv = [ ]
    
        for l in f:
            if l == "" or l[0][0] == "#": continue
            l = l[:-1]
            rv.append(l.split('\t'))
        f.close()
    
    def splitted(line,column,number):   
        return rv[line][column].split(",")[number].split()
    
    def vartrue(l):
        for z in range(0,len(options_selected)):
            if choice == z:
                for true in range(0,len(rv[options_selected[z]][3].split(","))):
                    globals()["{}".format(rv[options_selected[z]][3].split(",")[true])] = True
            else:
                for true in range(0,len(rv[options_selected[z]][3].split(","))):
                    globals()["{}".format(rv[options_selected[z]][3].split(",")[true])] = False   
    
init -1:
    $ choice = None
    transform transform_clothingchoice_characters:
        size (320,536)

label JDMOD_TEST:
    call screen SCREEN

 
screen SCREEN:
    modal True
 
    # Text background
    hbox:
        ysize 720
        anchor (0.5,1.0) align (0.5,1.0)   
        for o in range(0,len(options_selected)):       
            frame:                   
                ysize 120 xsize 320 xmargin 20 anchor (0.5,0.5) align (0.5,0.15)
                background Frame("gui/button/choice_idle_background.png", left=0, top=0)
            
    # Description
    hbox:
        ysize 720
        anchor (0.5,1.0) align (0.5,1.0)   
        for o in range(0,len(options_selected)):
            frame:           
                xsize 320 xmargin 60 anchor (0.5,0.5) align (0.5,0.15)
                background Solid("#0000")
                text rv[options_selected[o]][1] text_align 0.5 size 20 at truecenter

    # Button
    hbox:
        xfill
        ysize 536   
        anchor (0.5,1.0) align (0.5,1.0) 
        for o in range(0,len(options_selected)):
            frame:
                background Solid("#5555")
                button:
                    xysize (320,536)
                    padding (0,0)
                    hovered SetVariable("choice", o)
                    # Images
                    for i in range(0,len(rv[int(options_selected[o])][2].split(","))):
                        add splitted(options_selected[o],2,i) at transform_clothingchoice_characters                   
                    hover_foreground Frame("JDMOD/thumbnails/highlight.png", left = 10, top = 10)
                    # Variables to True
                    clicked [ vartrue(o), Return ]</code></pre>
                      </div>
                     </div>
                     This was the spread I used for testing :
                     <br/>
                     <div class="lbContainer lbContainer--inline" data-lb-container-zoom="1" data-lb-id="attachment144552" data-lb-single-image="1" data-lb-trigger=".js-lbImage-attachment144552" data-xf-init="lightbox" title="Capture.PNG">
                      <div aria-label="Zoom" class="lbContainer-zoomer js-lbImage-attachment144552" data-src="https://attachments.f95zone.to/2018/09/156157_Capture.png">
                      </div>
                      <img alt="Capture.PNG" class="bbImage lazyload" data-src="https://attachments.f95zone.to/2018/09/156157_Capture.png" data-url="" data-zoom-target="1" src="data:image/svg+xml;charset=utf-8,%3Csvg xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg' width='1027' height='88' viewBox%3D'0 0 1027 88'%2F%3E" style=""/>
                      <noscript>
                       <img alt="Capture.PNG" class="bbImage" data-url="" data-zoom-target="1" src="https://attachments.f95zone.to/2018/09/156157_Capture.png" style=""/>
                      </noscript>
                     </div>
                     <br/>
                     <br/>
                     The images works fine (except I have to write "images/" and ".png" in the spreadsheet), it only creates variables I need and gives them the right value.
                     <br/>
                     <br/>
                     EDIT: It seems like I don't have a problem when I don't write "images/" and ".png" but I don't know why. Maybe because the images are defined with the same name in the script?
                    </div>
                    <div class="js-selectToQuoteEnd">
                    </div>
                   </article>
                  </div>
                  <aside class="message-signature">
                   <div class="uix_signatureExpand">
                    Expand Signature
                   </div>
                   <div class="bbWrapper">
                    <div style="text-align: center">
                     <a class="link link--external" href="https://www.patreon.com/JohnDupont" rel="nofollow noopener" target="_blank">
                      <img class="bbImage lazyload" data-src="https://attachments.f95zone.to/2021/06/1253905_Signature_2.0_60.gif" data-url="https://attachments.f95zone.to/2021/06/1253905_Signature_2.0_60.gif" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" style=""/>
                      <noscript>
                       <img class="bbImage" src="https://attachments.f95zone.to/2021/06/1253905_Signature_2.0_60.gif"/>
                      </noscript>
                     </a>
                     ​
                    </div>
                   </div>
                  </aside>
                 </div>
                 <div class="reactionsBar js-reactionsList">
                 </div>
                 <footer class="message-footer">
                  <div class="message-actionBar actionBar">
                   <div class="actionBar-set actionBar-set--external">
                    <a class="reaction reaction--small actionBar-action actionBar-action--reaction reaction--imageHidden reaction--1" data-reaction-id="1" data-reaction-list="&lt; .js-post | .js-reactionsList" data-th-react-plus-content-id="1059456" data-th-react-plus-content-type="post" data-xf-init="reaction" href="/posts/1059456/react?reaction_id=1">
                     <i aria-hidden="true">
                     </i>
                     <img alt="Like" class="reaction-sprite js-reaction" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" title="Like"/>
                     <span class="reaction-text js-reactionText">
                      <bdi>
                       Like
                      </bdi>
                     </span>
                    </a>
                    <a class="actionBar-action actionBar-action--mq u-jsOnly js-multiQuote" data-message-id="1059456" data-mq-action="add" href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/reply?quote=1059456" title="Toggle multi-quote">
                     Quote
                    </a>
                    <a class="actionBar-action actionBar-action--reply" data-quote-href="/posts/1059456/quote" data-xf-click="quote" href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/reply?quote=1059456" title="Reply, quoting this message">
                     Reply
                    </a>
                   </div>
                   <div class="actionBar-set actionBar-set--internal">
                    <a class="actionBar-action actionBar-action--report" data-xf-click="overlay" href="/posts/1059456/report">
                     Report
                    </a>
                   </div>
                  </div>
                  <div class="js-historyTarget message-historyTarget toggleTarget" data-href="trigger-href">
                  </div>
                 </footer>
                </div>
               </div>
              </div>
             </article>
             <article class="message message--post js-post js-inlineModContainer" data-author="anne O'nymous" data-content="post-1060969" id="js-post-1060969">
              <span class="u-anchorTarget" id="post-1060969">
              </span>
              <div class="message-inner">
               <div class="message-cell message-cell--user">
                <section class="message-user userExtra--expand" itemscope="" itemtype="https://schema.org/Person">
                 <div class="message-avatar">
                  <div class="message-avatar-wrapper">
                   <a class="avatar avatar--m" data-user-id="63812" data-xf-init="member-tooltip" href="/members/anne-onymous.63812/">
                    <img alt="anne O'nymous" class="avatar-u63812-m" itemprop="image" src="/data/avatars/m/63/63812.jpg?1507736890" srcset="/data/avatars/l/63/63812.jpg?1507736890 2x"/>
                   </a>
                  </div>
                 </div>
                 <div class="uix_messagePostBitWrapper">
                  <div class="message-userDetails">
                   <h4 class="message-name">
                    <a class="username" data-user-id="63812" data-xf-init="member-tooltip" dir="auto" href="/members/anne-onymous.63812/" itemprop="name">
                     <span class="username--style15">
                      anne O'nymous
                     </span>
                    </a>
                   </h4>
                   <h5 class="userTitle message-userTitle" dir="auto" itemprop="jobTitle">
                    I'm not grumpy, I'm just coded that way.
                   </h5>
                   <div class="userBanner userBanner userBanner--green message-userBanner" itemprop="jobTitle">
                    <span class="userBanner-before">
                    </span>
                    <strong>
                     Modder
                    </strong>
                    <span class="userBanner-after">
                    </span>
                   </div>
                   <div class="userBanner .userBanner Donor message-userBanner" itemprop="jobTitle">
                    <span class="userBanner-before">
                    </span>
                    <strong>
                     Donor
                     <i class="fa fa-coffee">
                     </i>
                    </strong>
                    <span class="userBanner-after">
                    </span>
                   </div>
                   <div class="userBanner userBanner userBanner--orange message-userBanner" itemprop="jobTitle">
                    <span class="userBanner-before">
                    </span>
                    <strong>
                     Respected User
                    </strong>
                    <span class="userBanner-after">
                    </span>
                   </div>
                   <div class="userBanner message-userBanner" itemprop="jobTitle">
                    <span class="userBanner-before">
                    </span>
                    <strong>
                    </strong>
                    <span class="userBanner-after">
                    </span>
                   </div>
                  </div>
                  <div class="message-userExtras">
                   <dl class="pairs pairs--justified">
                    <dt>
                     <span data-xf-init="tooltip" title="Joined">
                      <i aria-hidden="true" class="fa--xf fas fa-user uix_icon uix_icon--user">
                      </i>
                     </span>
                    </dt>
                    <dd>
                     Jun 11, 2017
                    </dd>
                   </dl>
                   <dl class="pairs pairs--justified">
                    <dt>
                     <span data-xf-init="tooltip" title="Messages">
                      <i aria-hidden="true" class="fa--xf fas fa-comments uix_icon uix_icon--messages">
                      </i>
                     </span>
                    </dt>
                    <dd>
                     10,727
                    </dd>
                   </dl>
                   <dl class="pairs pairs--justified">
                    <dt>
                     <span data-xf-init="tooltip" title="Likes">
                      <i aria-hidden="true" class="fa--xf fas fa-thumbs-up uix_icon uix_icon--like">
                      </i>
                     </span>
                    </dt>
                    <dd>
                     15,771
                    </dd>
                   </dl>
                  </div>
                 </div>
                 <span class="message-userArrow">
                 </span>
                </section>
               </div>
               <div class="message-cell message-cell--main">
                <div class="message-main uix_messageContent js-quickEditTarget">
                 <header class="message-attribution message-attribution--split">
                  <div class="message-attribution-main">
                   <a class="u-concealed" href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/post-1060969" rel="nofollow">
                    <time class="u-dt" data-date-string="Sep 2, 2018" data-time="1535885912" data-time-string="6:58 PM" datetime="2018-09-02T18:58:32+0800" dir="auto" title="Sep 2, 2018 at 6:58 PM">
                     Sep 2, 2018
                    </time>
                   </a>
                  </div>
                  <ul class="message-attribution-opposite message-attribution-opposite--list">
                   <li>
                    <a data-href="/posts/1060969/share" data-xf-init="share-tooltip" href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/post-1060969" rel="nofollow">
                     <i aria-hidden="true" class="fa--xf fas fa-share-alt uix_icon uix_icon--share">
                     </i>
                    </a>
                   </li>
                   <li>
                    <a class="bookmarkLink bookmarkLink--highlightable" data-label=".js-bookmarkText" data-sk-bookmarked="addClass:is-bookmarked, Edit bookmark" data-sk-bookmarkremoved="removeClass:is-bookmarked, Add bookmark" data-xf-click="bookmark-click" href="/posts/1060969/bookmark" title="Bookmark">
                     <span class="js-bookmarkText u-srOnly">
                      Add bookmark
                     </span>
                    </a>
                   </li>
                   <li>
                    <a href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/post-1060969" rel="nofollow">
                     #7
                    </a>
                   </li>
                  </ul>
                 </header>
                 <div class="message-content js-messageContent">
                  <div class="message-userContent lbContainer js-lbContainer" data-lb-caption-desc="anne O'nymous · Sep 2, 2018 at 6:58 PM" data-lb-id="post-1060969">
                   <article class="message-body js-selectToQuote">
                    <div class="bbWrapper">
                     <blockquote class="bbCodeBlock bbCodeBlock--expandable bbCodeBlock--quote">
                      <div class="bbCodeBlock-title">
                       <a class="bbCodeBlock-sourceJump" data-content-selector="#post-1059456" data-xf-click="attribution" href="/goto/post?id=1059456">
                        JohnDupont said:
                       </a>
                      </div>
                      <div class="bbCodeBlock-content">
                       <div class="bbCodeBlock-expandContent">
                        Thank you for the help.
                        <br/>
                        Even though I tried some of your solutions, I didn't end up using any.
                       </div>
                       <div class="bbCodeBlock-expandLink">
                        <a>
                         Click to expand...
                        </a>
                       </div>
                      </div>
                     </blockquote>
                     Not a problem. It's part of what I explained it more than giving a code actually really doing everything. When it's your own code, you understand it better and so use it more easily. You needed guidance, and apparently the one I gave was enough ; why asking for more than your actual, "yes, I made it !" ?
                     <br/>
                     <br/>
                     <br/>
                     <blockquote class="bbCodeBlock bbCodeBlock--expandable bbCodeBlock--quote">
                      <div class="bbCodeBlock-title">
                       <a class="bbCodeBlock-sourceJump" data-content-selector="#post-1059456" data-xf-click="attribution" href="/goto/post?id=1059456">
                        JohnDupont said:
                       </a>
                      </div>
                      <div class="bbCodeBlock-content">
                       <div class="bbCodeBlock-expandContent">
                        EDIT: It seems like I don't have a problem when I don't write "images/" and ".png" but I don't know why. Maybe because the images are defined with the same name in the script?
                       </div>
                       <div class="bbCodeBlock-expandLink">
                        <a>
                         Click to expand...
                        </a>
                       </div>
                      </div>
                     </blockquote>
                     Because of the way Ren'py works.
                     <br/>
                     Basically speaking, there's two kind of images, the "external" ones, that are a file somewhere inside the "images/" folder, and the "internal" ones, that are created with the
                     <i>
                      image
                     </i>
                     statement. Since some times Ren'py can works with both in the same way. Something like this :
                     <br/>
                     If the name/tag correspond to a "internal" image, display it. Else, search if an "external" image correspond to this name/tag. If yes, display it, else well do nothing there's an error.
                     <br/>
                     <br/>
                     It's not as clever as it look, but it let you forget about the 'images/' and extension.
                     <br/>
                     This said, I don't recommend to works this way. Here it's not a real problem since it's an automated process. But when you use it manually, try to put at least the extension. It change nothing to the performance and act as a reminder ; this is an "external" image.
                    </div>
                    <div class="js-selectToQuoteEnd">
                    </div>
                   </article>
                  </div>
                  <aside class="message-signature">
                   <div class="uix_signatureExpand">
                    Expand Signature
                   </div>
                   <div class="bbWrapper">
                    Ren'py:
                    <a class="link link--external" href="https://f95zone.com/threads/5676/" rel="nofollow noopener" target="_blank">
                     Track variables
                    </a>
                    -
                    <a class="link link--external" href="https://f95zone.com/threads/16011/" rel="nofollow noopener" target="_blank">
                     Save compatibiliy
                    </a>
                    -
                    <a class="link link--internal" href="https://f95zone.to/threads/125005/">
                     Track labels
                    </a>
                    <span style="color: rgb(41, 105, 176)">
                     Updated
                    </span>
                    <br/>
                    <a class="link link--internal" href="https://f95zone.to/threads/99929/">
                     Write a dynamic Ren'Py game
                    </a>
                   </div>
                  </aside>
                 </div>
                 <div class="reactionsBar js-reactionsList">
                 </div>
                 <footer class="message-footer">
                  <div class="message-actionBar actionBar">
                   <div class="actionBar-set actionBar-set--external">
                    <a class="reaction reaction--small actionBar-action actionBar-action--reaction reaction--imageHidden reaction--1" data-reaction-id="1" data-reaction-list="&lt; .js-post | .js-reactionsList" data-th-react-plus-content-id="1060969" data-th-react-plus-content-type="post" data-xf-init="reaction" href="/posts/1060969/react?reaction_id=1">
                     <i aria-hidden="true">
                     </i>
                     <img alt="Like" class="reaction-sprite js-reaction" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" title="Like"/>
                     <span class="reaction-text js-reactionText">
                      <bdi>
                       Like
                      </bdi>
                     </span>
                    </a>
                    <a class="actionBar-action actionBar-action--mq u-jsOnly js-multiQuote" data-message-id="1060969" data-mq-action="add" href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/reply?quote=1060969" title="Toggle multi-quote">
                     Quote
                    </a>
                    <a class="actionBar-action actionBar-action--reply" data-quote-href="/posts/1060969/quote" data-xf-click="quote" href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/reply?quote=1060969" title="Reply, quoting this message">
                     Reply
                    </a>
                   </div>
                   <div class="actionBar-set actionBar-set--internal">
                    <a class="actionBar-action actionBar-action--report" data-xf-click="overlay" href="/posts/1060969/report">
                     Report
                    </a>
                   </div>
                  </div>
                  <div class="js-historyTarget message-historyTarget toggleTarget" data-href="trigger-href">
                  </div>
                 </footer>
                </div>
               </div>
              </div>
             </article>
            </div>
           </div>
           <div class="block-outer block-outer--after">
            <div class="block-outer-opposite">
             <a class="showIgnoredLink is-hidden js-showIgnored" data-xf-init="tooltip" href="javascript:" title="Show hidden content by {{names}}">
              Show ignored content
             </a>
            </div>
            <div class="block-outer-opposite">
             <a class="th_reactplus_showHiddenLink js-thReactPlusShowHidden is-hidden" data-xf-init="tooltip" href="javascript:void(0)" title="Show hidden content by {{names}}">
              Show hidden low quality content
             </a>
            </div>
           </div>
          </div>
          <div class="blockMessage blockMessage--warning">
           <strong>
            Warning!
           </strong>
           This thread is more than 2245 days old.
           <br/>
           It's likely that no further discussion is required, in which case we recommend starting a new thread. If however you feel your response is required you can still do so.
           <div class="blockMessage blockMessage--error">
            <ul class="inputChoices">
             <li class="inputChoices-choice">
              <label class="iconic">
               <input id="js-confirmOld" name="confirm" type="checkbox" value="1"/>
               <i aria-hidden="true">
               </i>
               <span class="iconic-label">
                I understand this is an old thread, but want to reply anyway
               </span>
              </label>
             </li>
            </ul>
           </div>
          </div>
          <div class="blockMessage blockMessage--none">
          </div>
          <div class="block-container block--similarContents view-thread">
           <h3 class="block-minorHeader collapseTrigger collapseTrigger--block is-active" data-storage-key="_similarThreads" data-storage-type="cookie" data-target=".block--similarContents .block-body" data-xf-click="toggle" data-xf-init="toggle-storage-ex">
            Similar threads
           </h3>
           <div class="block-body toggleTarget is-active">
            <div class="structItemContainer">
             <div class="structItemContainer-group js-threadList">
              <div class="structItem structItem--thread js-trendingThreadItem is-prefix33 js-inlineModContainer js-threadListItem-33801" data-author="Heisenberg867">
               <div class="structItem-cell structItem-cell--icon">
                <div class="structItem-iconContainer">
                 <a class="avatar avatar--s avatar--default avatar--default--dynamic" data-user-id="761056" data-xf-init="member-tooltip" href="/members/heisenberg867.761056/" style="background-color: #ffc107; color: #ffe57f">
                  <span class="avatar-u761056-s">
                   H
                  </span>
                 </a>
                </div>
               </div>
               <div class="structItem-cell structItem-cell--main" data-xf-init="touch-proxy">
                <div class="structItem-title" uix-data-href="/threads/advice-on-using-daz3d-for-a-rookie.33801/">
                 <a class="labelLink" data-xf-init="tooltip" href="/forums/dev-help.113/?prefix_id[0]=33" rel="nofollow" title="Add to filters">
                  <span class="label label--orange" dir="auto">
                   Daz
                  </span>
                 </a>
                 <a class="" data-preview-url="/threads/advice-on-using-daz3d-for-a-rookie.33801/preview" data-tp-primary="on" data-xf-init="preview-tooltip" href="/threads/advice-on-using-daz3d-for-a-rookie.33801/">
                  Advice on using Daz3D for a rookie
                 </a>
                </div>
                <div class="structItem-minor">
                 <ul class="structItem-extraInfo">
                  <li>
                   <a class="tic--button button--ignoreText" data-xf-click="overlay" href="/tic-ignore/ignore?content_type=thread&amp;content_id=33801">
                    Ignore
                   </a>
                  </li>
                 </ul>
                 <ul class="structItem-parts">
                  <li>
                   <a class="username" data-user-id="761056" data-xf-init="member-tooltip" dir="auto" href="/members/heisenberg867.761056/">
                    Heisenberg867
                   </a>
                  </li>
                  <li class="structItem-startDate">
                   <a href="/threads/advice-on-using-daz3d-for-a-rookie.33801/" rel="nofollow">
                    <time class="u-dt" data-date-string="Jul 23, 2019" data-time="1563864713" data-time-string="2:51 PM" datetime="2019-07-23T14:51:53+0800" dir="auto" title="Jul 23, 2019 at 2:51 PM">
                     Jul 23, 2019
                    </time>
                   </a>
                  </li>
                 </ul>
                </div>
               </div>
               <div class="structItem-cell structItem-cell--meta" title="First message reaction score: 6">
                <dl class="pairs pairs--justified">
                 <dt>
                  Replies
                 </dt>
                 <dd>
                  9
                 </dd>
                </dl>
                <dl class="pairs pairs--justified structItem-minor">
                 <dt>
                  Views
                 </dt>
                 <dd>
                  5K
                 </dd>
                </dl>
               </div>
               <div class="structItem-cell structItem-cell--latest">
                <a href="/threads/advice-on-using-daz3d-for-a-rookie.33801/latest" rel="nofollow">
                 <time class="structItem-latestDate u-dt" data-date-string="Aug 24, 2019" data-time="1566638567" data-time-string="5:22 PM" datetime="2019-08-24T17:22:47+0800" dir="auto" title="Aug 24, 2019 at 5:22 PM">
                  Aug 24, 2019
                 </time>
                </a>
                <div class="structItem-minor">
                 <a class="username" data-user-id="761056" data-xf-init="member-tooltip" dir="auto" href="/members/heisenberg867.761056/">
                  Heisenberg867
                 </a>
                </div>
               </div>
               <div class="structItem-cell structItem-cell--icon structItem-cell--iconEnd">
                <div class="structItem-iconContainer">
                 <a class="avatar avatar--xxs avatar--default avatar--default--dynamic" data-user-id="761056" data-xf-init="member-tooltip" href="/members/heisenberg867.761056/" style="background-color: #ffc107; color: #ffe57f">
                  <span class="avatar-u761056-s">
                   H
                  </span>
                 </a>
                </div>
               </div>
              </div>
              <div class="structItem structItem--thread js-trendingThreadItem js-inlineModContainer js-threadListItem-54493" data-author="Something special">
               <div class="structItem-cell structItem-cell--icon">
                <div class="structItem-iconContainer">
                 <a class="avatar avatar--s avatar--default avatar--default--dynamic" data-user-id="2468859" data-xf-init="member-tooltip" href="/members/something-special.2468859/" style="background-color: #689f38; color: #ccff90">
                  <span class="avatar-u2468859-s">
                   S
                  </span>
                 </a>
                </div>
               </div>
               <div class="structItem-cell structItem-cell--main" data-xf-init="touch-proxy">
                <div class="structItem-title" uix-data-href="/threads/how-to-properly-setup-subsurface-scattering-in-daz-iray.54493/">
                 <a class="" data-preview-url="/threads/how-to-properly-setup-subsurface-scattering-in-daz-iray.54493/preview" data-tp-primary="on" data-xf-init="preview-tooltip" href="/threads/how-to-properly-setup-subsurface-scattering-in-daz-iray.54493/">
                  How to properly setup subsurface scattering in daz iray
                 </a>
                </div>
                <div class="structItem-minor">
                 <ul class="structItem-extraInfo">
                  <li>
                   <a class="tic--button button--ignoreText" data-xf-click="overlay" href="/tic-ignore/ignore?content_type=thread&amp;content_id=54493">
                    Ignore
                   </a>
                  </li>
                 </ul>
                 <ul class="structItem-parts">
                  <li>
                   <a class="username" data-user-id="2468859" data-xf-init="member-tooltip" dir="auto" href="/members/something-special.2468859/">
                    Something special
                   </a>
                  </li>
                  <li class="structItem-startDate">
                   <a href="/threads/how-to-properly-setup-subsurface-scattering-in-daz-iray.54493/" rel="nofollow">
                    <time class="u-dt" data-date-string="Jun 14, 2020" data-time="1592073050" data-time-string="2:30 AM" datetime="2020-06-14T02:30:50+0800" dir="auto" title="Jun 14, 2020 at 2:30 AM">
                     Jun 14, 2020
                    </time>
                   </a>
                  </li>
                 </ul>
                </div>
               </div>
               <div class="structItem-cell structItem-cell--meta" title="First message reaction score: 9">
                <dl class="pairs pairs--justified">
                 <dt>
                  Replies
                 </dt>
                 <dd>
                  1
                 </dd>
                </dl>
                <dl class="pairs pairs--justified structItem-minor">
                 <dt>
                  Views
                 </dt>
                 <dd>
                  1K
                 </dd>
                </dl>
               </div>
               <div class="structItem-cell structItem-cell--latest">
                <a href="/threads/how-to-properly-setup-subsurface-scattering-in-daz-iray.54493/latest" rel="nofollow">
                 <time class="structItem-latestDate u-dt" data-date-string="Jun 14, 2020" data-time="1592073267" data-time-string="2:34 AM" datetime="2020-06-14T02:34:27+0800" dir="auto" title="Jun 14, 2020 at 2:34 AM">
                  Jun 14, 2020
                 </time>
                </a>
                <div class="structItem-minor">
                 <a class="username" data-user-id="2468859" data-xf-init="member-tooltip" dir="auto" href="/members/something-special.2468859/">
                  Something special
                 </a>
                </div>
               </div>
               <div class="structItem-cell structItem-cell--icon structItem-cell--iconEnd">
                <div class="structItem-iconContainer">
                 <a class="avatar avatar--xxs avatar--default avatar--default--dynamic" data-user-id="2468859" data-xf-init="member-tooltip" href="/members/something-special.2468859/" style="background-color: #689f38; color: #ccff90">
                  <span class="avatar-u2468859-s">
                   S
                  </span>
                 </a>
                </div>
               </div>
              </div>
              <div class="structItem structItem--thread js-trendingThreadItem is-prefix14 js-inlineModContainer js-threadListItem-91263" data-author="DiscipleOfVirginia">
               <div class="structItem-cell structItem-cell--icon">
                <div class="structItem-iconContainer">
                 <a class="avatar avatar--s" data-user-id="923538" data-xf-init="member-tooltip" href="/members/discipleofvirginia.923538/">
                  <img alt="DiscipleOfVirginia" class="avatar-u923538-s" src="/data/avatars/s/923/923538.jpg?1657735493" srcset="/data/avatars/m/923/923538.jpg?1657735493 2x"/>
                 </a>
                </div>
               </div>
               <div class="structItem-cell structItem-cell--main" data-xf-init="touch-proxy">
                <div class="structItem-title" uix-data-href="/threads/guys-have-this-idea-been-done-before-i-feel-it-hasnt.91263/">
                 <a class="labelLink" data-xf-init="tooltip" href="/forums/dev-help.113/?prefix_id[0]=14" rel="nofollow" title="Add to filters">
                  <span class="label label--lightGreen" dir="auto">
                   Others
                  </span>
                 </a>
                 <a class="" data-preview-url="/threads/guys-have-this-idea-been-done-before-i-feel-it-hasnt.91263/preview" data-tp-primary="on" data-xf-init="preview-tooltip" href="/threads/guys-have-this-idea-been-done-before-i-feel-it-hasnt.91263/">
                  Guys, have this idea been done before? I feel it hasn't
                 </a>
                </div>
                <div class="structItem-minor">
                 <ul class="structItem-extraInfo">
                  <li>
                   <a class="tic--button button--ignoreText" data-xf-click="overlay" href="/tic-ignore/ignore?content_type=thread&amp;content_id=91263">
                    Ignore
                   </a>
                  </li>
                 </ul>
                 <ul class="structItem-parts">
                  <li>
                   <a class="username" data-user-id="923538" data-xf-init="member-tooltip" dir="auto" href="/members/discipleofvirginia.923538/">
                    <i class="fa-fw fa-flip-horizontal fa-spin fas fa-crown" style="padding-right: 2px; color: rgb(223, 245, 137);">
                    </i>
                    <span style="color: rgb(255, 0, 183);">
                     <a class="username" data-user-id="923538" data-xf-init="member-tooltip" dir="auto" href="/members/discipleofvirginia.923538/">
                      DiscipleOfVirginia
                     </a>
                    </span>
                   </a>
                  </li>
                  <li class="structItem-startDate">
                   <a href="/threads/guys-have-this-idea-been-done-before-i-feel-it-hasnt.91263/" rel="nofollow">
                    <time class="u-dt" data-date-string="Aug 14, 2021" data-time="1628939759" data-time-string="7:15 PM" datetime="2021-08-14T19:15:59+0800" dir="auto" title="Aug 14, 2021 at 7:15 PM">
                     Aug 14, 2021
                    </time>
                   </a>
                  </li>
                 </ul>
                </div>
               </div>
               <div class="structItem-cell structItem-cell--meta" title="First message reaction score: 11">
                <dl class="pairs pairs--justified">
                 <dt>
                  Replies
                 </dt>
                 <dd>
                  24
                 </dd>
                </dl>
                <dl class="pairs pairs--justified structItem-minor">
                 <dt>
                  Views
                 </dt>
                 <dd>
                  2K
                 </dd>
                </dl>
               </div>
               <div class="structItem-cell structItem-cell--latest">
                <a href="/threads/guys-have-this-idea-been-done-before-i-feel-it-hasnt.91263/latest" rel="nofollow">
                 <time class="structItem-latestDate u-dt" data-date-string="Sep 6, 2021" data-time="1630942860" data-time-string="11:41 PM" datetime="2021-09-06T23:41:00+0800" dir="auto" title="Sep 6, 2021 at 11:41 PM">
                  Sep 6, 2021
                 </time>
                </a>
                <div class="structItem-minor">
                 <a class="username" data-user-id="1121028" data-xf-init="member-tooltip" dir="auto" href="/members/deleted-member-1121028.1121028/">
                  Deleted member 1121028
                 </a>
                </div>
               </div>
               <div class="structItem-cell structItem-cell--icon structItem-cell--iconEnd">
                <div class="structItem-iconContainer">
                 <a class="avatar avatar--xxs avatar--default avatar--default--dynamic" data-user-id="1121028" data-xf-init="member-tooltip" href="/members/deleted-member-1121028.1121028/" style="background-color: #1e88e5; color: #82b1ff">
                  <span class="avatar-u1121028-s">
                   D
                  </span>
                 </a>
                </div>
               </div>
              </div>
              <div class="structItem structItem--thread js-trendingThreadItem is-prefix14 is-prefix7 js-inlineModContainer js-threadListItem-139457" data-author="GNVE">
               <div class="structItem-cell structItem-cell--icon">
                <div class="structItem-iconContainer">
                 <a class="avatar avatar--s" data-user-id="763644" data-xf-init="member-tooltip" href="/members/gnve.763644/">
                  <img alt="GNVE" class="avatar-u763644-s" src="/data/avatars/s/763/763644.jpg?1582493965" srcset="/data/avatars/m/763/763644.jpg?1582493965 2x"/>
                 </a>
                </div>
               </div>
               <div class="structItem-cell structItem-cell--main" data-xf-init="touch-proxy">
                <div class="structItem-title" uix-data-href="/threads/goofing-around-with-open-ais-new-chatbot-and-how-it-can-help-devs.139457/">
                 <a class="labelLink" data-xf-init="tooltip" href="/forums/dev-help.113/?prefix_id[0]=14" rel="nofollow" title="Add to filters">
                  <span class="label label--lightGreen" dir="auto">
                   Others
                  </span>
                 </a>
                 <span class="label-append">
                 </span>
                 <a class="labelLink" data-xf-init="tooltip" href="/forums/dev-help.113/?prefix_id[0]=7" rel="nofollow" title="Add to filters">
                  <span class="pre-renpy" dir="auto">
                   Ren'Py
                  </span>
                 </a>
                 <a class="" data-preview-url="/threads/goofing-around-with-open-ais-new-chatbot-and-how-it-can-help-devs.139457/preview" data-tp-primary="on" data-xf-init="preview-tooltip" href="/threads/goofing-around-with-open-ais-new-chatbot-and-how-it-can-help-devs.139457/">
                  Goofing around with Open AI's new chatbot and how it can help dev's
                 </a>
                </div>
                <div class="structItem-minor">
                 <ul class="structItem-extraInfo">
                  <li>
                   <a class="tic--button button--ignoreText" data-xf-click="overlay" href="/tic-ignore/ignore?content_type=thread&amp;content_id=139457">
                    Ignore
                   </a>
                  </li>
                 </ul>
                 <ul class="structItem-parts">
                  <li>
                   <a class="username" data-user-id="763644" data-xf-init="member-tooltip" dir="auto" href="/members/gnve.763644/">
                    GNVE
                   </a>
                  </li>
                  <li class="structItem-startDate">
                   <a href="/threads/goofing-around-with-open-ais-new-chatbot-and-how-it-can-help-devs.139457/" rel="nofollow">
                    <time class="u-dt" data-date-string="Dec 4, 2022" data-time="1670100298" data-time-string="4:44 AM" datetime="2022-12-04T04:44:58+0800" dir="auto" title="Dec 4, 2022 at 4:44 AM">
                     Dec 4, 2022
                    </time>
                   </a>
                  </li>
                 </ul>
                </div>
               </div>
               <div class="structItem-cell structItem-cell--meta" title="First message reaction score: 3">
                <dl class="pairs pairs--justified">
                 <dt>
                  Replies
                 </dt>
                 <dd>
                  12
                 </dd>
                </dl>
                <dl class="pairs pairs--justified structItem-minor">
                 <dt>
                  Views
                 </dt>
                 <dd>
                  2K
                 </dd>
                </dl>
               </div>
               <div class="structItem-cell structItem-cell--latest">
                <a href="/threads/goofing-around-with-open-ais-new-chatbot-and-how-it-can-help-devs.139457/latest" rel="nofollow">
                 <time class="structItem-latestDate u-dt" data-date-string="Jan 13, 2023" data-time="1673611253" data-time-string="8:00 PM" datetime="2023-01-13T20:00:53+0800" dir="auto" title="Jan 13, 2023 at 8:00 PM">
                  Jan 13, 2023
                 </time>
                </a>
                <div class="structItem-minor">
                 <a class="username" data-user-id="4161211" data-xf-init="member-tooltip" dir="auto" href="/members/the-rogue-trader.4161211/">
                  The Rogue Trader
                 </a>
                </div>
               </div>
               <div class="structItem-cell structItem-cell--icon structItem-cell--iconEnd">
                <div class="structItem-iconContainer">
                 <a class="avatar avatar--xxs" data-user-id="4161211" data-xf-init="member-tooltip" href="/members/the-rogue-trader.4161211/">
                  <img alt="The Rogue Trader" class="avatar-u4161211-s" src="/data/avatars/s/4161/4161211.jpg?1631955389"/>
                 </a>
                </div>
               </div>
              </div>
              <div class="structItem structItem--thread js-trendingThreadItem js-inlineModContainer js-threadListItem-16261" data-author="Kaffekop">
               <div class="structItem-cell structItem-cell--icon">
                <div class="structItem-iconContainer">
                 <a class="avatar avatar--s" data-user-id="127252" data-xf-init="member-tooltip" href="/members/kaffekop.127252/">
                  <img alt="Kaffekop" class="avatar-u127252-s" src="/data/avatars/s/127/127252.jpg?1514463019" srcset="/data/avatars/m/127/127252.jpg?1514463019 2x"/>
                 </a>
                </div>
               </div>
               <div class="structItem-cell structItem-cell--main" data-xf-init="touch-proxy">
                <div class="structItem-title" uix-data-href="/threads/variables-and-math.16261/">
                 <a class="" data-preview-url="/threads/variables-and-math.16261/preview" data-tp-primary="on" data-xf-init="preview-tooltip" href="/threads/variables-and-math.16261/">
                  Variables and math
                 </a>
                </div>
                <div class="structItem-minor">
                 <ul class="structItem-extraInfo">
                  <li>
                   <a class="tic--button button--ignoreText" data-xf-click="overlay" href="/tic-ignore/ignore?content_type=thread&amp;content_id=16261">
                    Ignore
                   </a>
                  </li>
                 </ul>
                 <ul class="structItem-parts">
                  <li>
                   <a class="username" data-user-id="127252" data-xf-init="member-tooltip" dir="auto" href="/members/kaffekop.127252/">
                    Kaffekop
                   </a>
                  </li>
                  <li class="structItem-startDate">
                   <a href="/threads/variables-and-math.16261/" rel="nofollow">
                    <time class="u-dt" data-date-string="Aug 14, 2018" data-time="1534254474" data-time-string="9:47 PM" datetime="2018-08-14T21:47:54+0800" dir="auto" title="Aug 14, 2018 at 9:47 PM">
                     Aug 14, 2018
                    </time>
                   </a>
                  </li>
                 </ul>
                </div>
               </div>
               <div class="structItem-cell structItem-cell--meta" title="First message reaction score: 2">
                <dl class="pairs pairs--justified">
                 <dt>
                  Replies
                 </dt>
                 <dd>
                  48
                 </dd>
                </dl>
                <dl class="pairs pairs--justified structItem-minor">
                 <dt>
                  Views
                 </dt>
                 <dd>
                  3K
                 </dd>
                </dl>
               </div>
               <div class="structItem-cell structItem-cell--latest">
                <a href="/threads/variables-and-math.16261/latest" rel="nofollow">
                 <time class="structItem-latestDate u-dt" data-date-string="Jun 1, 2019" data-time="1559389665" data-time-string="7:47 PM" datetime="2019-06-01T19:47:45+0800" dir="auto" title="Jun 1, 2019 at 7:47 PM">
                  Jun 1, 2019
                 </time>
                </a>
                <div class="structItem-minor">
                 <a class="username" data-user-id="63812" data-xf-init="member-tooltip" dir="auto" href="/members/anne-onymous.63812/">
                  anne O'nymous
                 </a>
                </div>
               </div>
               <div class="structItem-cell structItem-cell--icon structItem-cell--iconEnd">
                <div class="structItem-iconContainer">
                 <a class="avatar avatar--xxs" data-user-id="63812" data-xf-init="member-tooltip" href="/members/anne-onymous.63812/">
                  <img alt="anne O'nymous" class="avatar-u63812-s" src="/data/avatars/s/63/63812.jpg?1507736890"/>
                 </a>
                </div>
               </div>
              </div>
             </div>
            </div>
           </div>
          </div>
         </div>
         <!-- BELOW MAIN CONTENT -->
        </div>
       </div>
      </div>
      <div class="breadcrumb block p-breadcrumb--bottom">
       <div class="pageContent">
        <ul class="p-breadcrumbs p-breadcrumbs--bottom" itemscope="" itemtype="https://schema.org/BreadcrumbList">
         <li itemprop="itemListElement" itemscope="" itemtype="https://schema.org/ListItem">
          <a href="/" itemprop="item">
           <span itemprop="name">
            Forums
           </span>
          </a>
          <meta content="1" itemprop="position"/>
         </li>
         <li itemprop="itemListElement" itemscope="" itemtype="https://schema.org/ListItem">
          <a href="/categories/development.72/" itemprop="item">
           <span itemprop="name">
            Development
           </span>
          </a>
          <meta content="2" itemprop="position"/>
         </li>
         <li itemprop="itemListElement" itemscope="" itemtype="https://schema.org/ListItem">
          <a href="/forums/programming-development-art.73/" itemprop="item">
           <span itemprop="name">
            Programming, Development &amp; Art
           </span>
          </a>
          <meta content="3" itemprop="position"/>
         </li>
         <li itemprop="itemListElement" itemscope="" itemtype="https://schema.org/ListItem">
          <a href="/forums/dev-help.113/" itemprop="item">
           <span itemprop="name">
            Dev Help
           </span>
          </a>
          <meta content="4" itemprop="position"/>
         </li>
        </ul>
       </div>
      </div>
      <div class="samBannerUnit samAlignCenter" data-position="container_breadcrumb_bottom_below">
       <div class="samItem">
        <iframe allow="autoplay; fullscreen" frameborder="0" src="https://candy.engine.adglare.net/?356780338&amp;iframe&amp;sizes=728x90&amp;ag_custom_vlmcp=e44a1cb3-639e-45f1-831b-672df53f2a57&amp;ag_custom_vlmspot=leaderboard_footer" style="width:728px; height:90px;">
        </iframe>
       </div>
      </div>
     </div>
    </div>
    <div class="uix_fabBar uix_fabBar--active">
     <div class="u-scrollButtons js-scrollButtons" data-trigger-type="both">
      <a class="button--scroll button" data-xf-click="scroll-to" href="#top">
       <span class="button-text">
        <i aria-hidden="true" class="fa--xf fas fa-arrow-up">
        </i>
        <span class="u-srOnly">
         Top
        </span>
       </span>
      </a>
      <a class="button--scroll button" data-xf-click="scroll-to" href="#footer">
       <span class="button-text">
        <i aria-hidden="true" class="fa--xf fas fa-arrow-down">
        </i>
        <span class="u-srOnly">
         Bottom
        </span>
       </span>
      </a>
     </div>
     <div class="p-title-pageAction">
      <select class="br-select input" data-deselectable="false" data-initial-rating="0" data-rating-href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/br-rate" data-readonly="false" data-show-selected="true" data-vote-content='&lt;div data-href="/threads/how-can-i-set-multiple-variables-at-once-using-a-spreadsheet-solved.17515/br-user-rated" data-xf-click="overlay" data-xf-init="tooltip" title="Members who rated this thread"&gt;0 Votes&lt;/div&gt;' data-widget-class="bratr-rating" data-xf-init="rating" name="rating">
       <option value="">
       </option>
       <option value="1">
        Terrible
       </option>
       <option value="2">
        Poor
       </option>
       <option value="3">
        Average
       </option>
       <option value="4">
        Good
       </option>
       <option value="5">
        Excellent
       </option>
      </select>
     </div>
    </div>
   </div>
  </div>
  <div class="u-bottomFixer js-bottomFixTarget">
  </div>
  <form hidden="hidden" style="display:none">
   <input id="_xfClientLoadTime" name="_xfClientLoadTime" tabindex="-1" title="_xfClientLoadTime" type="text" value=""/>
  </form>
 </body>
</html>
