¿ªÔÆÌåÓý

Mysterious Error #error
I am running into an odd error. Summon Monster I ( ***ERROR on line 891 of table 'Spells' - Group 'Creatures.SumMon1' not found. *** ) Here is the crux.? I can roll on the attached table and never
By Otaku Smurf · #9834 ·
Re: Arrays to track count?
DSAddNR~ worked, thanks.
By Otaku Smurf · #9833 ·
Re: Arrays to track count?
There is a special version of DSAdd that does not give you a printed value¡­ DSAddNR~ NR for No Return value Vance Sent from Mail for Windows 10 Sent: Tuesday, April 6, 2021 5:59 PM To:
By Vance · #9832 ·
Re: Arrays to track count?
In the :AddItem group you're using DSAdd, which returns the index of the entry added. You need to use DSAddNR which does not return any value. (I'd forgotten about that when I gave the example using
By ErolB1 · #9831 ·
Re: Arrays to track count?
Ok, I am just working a small test before I toss in the really big random table.? When I run this, I get an output like: 1 2 Emerald 3 1500 Ruby 1 2500 The first 1 and 2 are the index values. How
By Otaku Smurf · #9830 ·
Re: Arrays to track count?
Erol, Perfect. I think I can wrap my head around that. [email protected]> wrote:
By Otaku Smurf · #9829 ·
Re: Arrays to track count?
I've only done a little bit with DS functions myself, but per the help file you need to include the default values in DSCreate {DSCreate~Gems,GemID,xxxx,Count,1} which sets up an empty array/temp
By ErolB1 · #9828 ·
Re: Arrays to track count?
That's definitely a way to do it. I know I've done exactly that in one of my tables way back when (for treasure generation), but I wasn't able to find it with a quick look. There might be an example
By Bruce Gulke · #9827 ·
Arrays to track count?
I am working on my own random gem table combining the 1ed DMG and articles from Dragon Magazine. I am able to loop through my initial table, but that is spitting out one gem at a time. Arrays have
By Otaku Smurf · #9826 ·
Re: A tilda (~) before group/table calls?
Huh, I always assumed those were unintentional in most examples. ~ is also used in the tiddlywiki format to prevent interpreting CamelCase as a wiki link
By Pieter Van Dyck · #9825 ·
Re: trouble with lnested IF statements
Found it! (I tend to post and then keep searching.. hehhehehe), it took me a few minutes to realize that I needed the =1 after the And function to get it to resolve as true. My function now looks
By tim@... · #9824 ·
Re: trouble with lnested IF statements
Logical operators in "if" (or "iif") statements isn't supported, but there are logical functions for And, Or, and Xor. So you could write your example something
By Bruce Gulke · #9823 ·
trouble with lnested IF statements
Ok, so I am working on Calendar that also displays the weather. My output looks like this image -- note that I cycle through the entire month and display it all at once, each day one after the
By tim@... · #9822 ·
Re: Rolling until total reached
Or you could simply use {Loop~10, [roll]<br>} Sent from Mail for Windows 10 Sent: Friday, February 19, 2021 6:51 AM To: [email protected] Subject: Re: [TableSmith] Rolling until total
By Vance · #9821 ·
Re: Rolling until total reached
The problem is with your |Total=%Total%+1| When you use = it is a Literal value and puts ¡°0+1¡± as the value. What you want is |Total+1| or |Total={Calc~%Total%+1}| Vance Sent from Mail for
By Vance · #9820 ·
Re: Rolling until total reached
First thing, you do not need? " */ End* " in every If statement. That might be blowing it up. You also don't need *|Total=%Total%+1|* in every line, *|Total+1|* is all you need there. However, a
By tim@... · #9819 ·
Rolling until total reached
I'm trying to create a table that keeps a running total of points to spend. Once it reaches the max, it stops producing results. Here is the structure I attempted with dummy text. When I run, the
By jimmyflowers1@... · #9818 ·
Re: A tilda (~) before group/table calls?
Ah! Thanks! I knew I had seen the explanation before, but could not remember it...
By tim@... · #9817 ·
Re: A tilda (~) before group/table calls?
It allows for a reroll of the item from the interface. It will be colored blue to note its availability. Scott Sent: Thursday, February 18, 2021 19:08 To: [email protected] Subject:
By Scott · #9816 ·
A tilda (~) before group/table calls?
In several examples in the help file, there is a ~ (a tilda) before the table/group call, like this 1,[~CharGen.Start(3,)] //(G=3, C=default)// 1,[~CharGen.Start(,4)] //(G=default,
By tim@... · #9815 ·