It looks like you're new here. If you want to get involved, click one of these buttons!
sLang = "Dwarf" Dim ipad, sDir, sTable sDir = GetMapperDir() & "Plugins\InspirationPadTables" sTable = sDir & "\" & sLang & ".ipt" ipad = CreateIPadTable( sTable) ipad.Go(1) RandomTownName = ipad.GetResult( 0) msgbox RandomTownName
Table: MyDwarfCity
[[!NameStart][!NameEnd] >>Proper] ({translation})
Table: NameStart
alf[translation=={translation} [#translateStart]]
Table: NameEnd
drukafaren[translation=={translation} [#translateEnd]]
Table: translateStart
air
Table: translateEnd
city
Comments
So for anyone attempting to use variables in an Ipad script through FM8, you simply need to prepend $ to the beginning of your variable name where its value is supposed to be used. So my example would now be:
Table: MyDwarfCity [[!NameStart][!NameEnd] >>Proper] ({$translation}) Table: NameStart alf[translation=={$translation} [#translateStart]] Table: NameEnd drukafaren[translation=={$translation} [#translateEnd]] Table: translateStart air Table: translateEnd city