how to set random topics the same way

Support / help / discussion forum for twitter bot
Post Reply
User avatar
Xiaomi
Posts: 80
Joined: Wed Jul 05, 2023 8:51 am

how to set random topics the same way

Post by Xiaomi »

how to set random topics the same way

For example, random topics are AA BB CC DD

format i set: %kw%TT %kw%YY %kw%MM
My result 1: #AATT #BBYY #DDMM
My result 2: #CCTT #DDTT #AAMM
None of this is what I want,


What I want: #AATT #AAYY #AAMM

#BBTT #BBYY #BBMM


How do I set it up?

What I want: #AATT #AAYY #AAMM

#BBTT #BBYY #BBMM
User avatar
martin@rootjazz
Site Admin
Posts: 35160
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: how to set random topics the same way

Post by martin@rootjazz »

Spintax lets you specify various options, that when processed one is selected

{option1|option2|...|optionN}

example:
{hi|hey|hello|good morning} {sir|madam}

When processed you could get:
hi sir
hello sir
hey madam
good morning sir
hi madam
etc etc






SO

{AAA|BBB|CCC}




Regards,
Martin
User avatar
Xiaomi
Posts: 80
Joined: Wed Jul 05, 2023 8:51 am

Re: how to set random topics the same way

Post by Xiaomi »

martin@rootjazz wrote: Sat Jul 08, 2023 9:50 pm Spintax lets you specify various options, that when processed one is selected

{option1|option2|...|optionN}

example:
{hi|hey|hello|good morning} {sir|madam}

When processed you could get:
hi sir
hello sir
hey madam
good morning sir
hi madam
etc etc






SO

{AAA|BBB|CCC}


This is not the result I want, how can I get such a result

{hi|hey|hello} {sir|madam|yes}


1:hi sir hi madam hi yes
2:hello sir hello madam hello yes
3:hey sir hey madam hey yes




Regards,
Martin
User avatar
Xiaomi
Posts: 80
Joined: Wed Jul 05, 2023 8:51 am

Re: how to set random topics the same way

Post by Xiaomi »

martin@rootjazz wrote: Sat Jul 08, 2023 9:50 pm Spintax lets you specify various options, that when processed one is selected

{option1|option2|...|optionN}

example:
{hi|hey|hello|good morning} {sir|madam}

When processed you could get:
hi sir
hello sir
hey madam
good morning sir
hi madam
etc etc






SO

{AAA|BBB|CCC}




Regards,
Martin



This is not the result I want, how can I get such a result

{hi|hey|hello} {sir|madam|yes}


1:hi sir hi madam hi yes
2:hello sir hello madam hello yes
3:hey sir hey madam hey yes
User avatar
Xiaomi
Posts: 80
Joined: Wed Jul 05, 2023 8:51 am

Re: how to set random topics the same way

Post by Xiaomi »

xiaokalami wrote: Sun Jul 09, 2023 2:02 am
martin@rootjazz wrote: Sat Jul 08, 2023 9:50 pm Spintax lets you specify various options, that when processed one is selected

{option1|option2|...|optionN}

example:
{hi|hey|hello|good morning} {sir|madam}

When processed you could get:
hi sir
hello sir
hey madam
good morning sir
hi madam
etc etc






SO

{AAA|BBB|CCC}


This is not the result I want, how can I get such a result

{hi|hey|hello} {sir|madam|yes}


1:hi sir hi madam hi yes
2:hello sir hello madam hello yes
3:hey sir hey madam hey yes




Regards,
Martin


Mr
Ladies
Child


Blue
Green
Black



What formula do I use for these words to get the result I want?Here's what I want to get.
↓↓↓↓↓↓↓↓↓


#MrBlue #MrGreen #MrBlack


#LadiesBlue # LadiesGreen # LadiesBlack


#ChildBlue #ChildGreen #ChildBlack
User avatar
958
Posts: 211
Joined: Mon Jun 19, 2023 1:45 am

Re: how to set random topics the same way

Post by 958 »

martin@rootjazz wrote: Sat Jul 08, 2023 9:50 pm Spintax lets you specify various options, that when processed one is selected

{option1|option2|...|optionN}

example:
{hi|hey|hello|good morning} {sir|madam}

When processed you could get:
hi sir
hello sir
hey madam
good morning sir
hi madam
etc etc






SO

{AAA|BBB|CCC}




Regards,
Martin
hi. martin. I also encountered the same problem, how to make each row of such a fixed label have a space symbol in the middle, apply it to tweets, the label without the space symbol is gray....I need to use 3-4 fixed labels per row Image

How to set it so that the label is applied to the tweet with a space symbol, and the space will disappear when it is applied to the tweet, so that the label is gray Image Image
User avatar
martin@rootjazz
Site Admin
Posts: 35160
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: how to set random topics the same way

Post by martin@rootjazz »

xiaokalami wrote: Sun Jul 09, 2023 1:50 pm

Mr
Ladies
Child


Blue
Green
Black



What formula do I use for these words to get the result I want?Here's what I want to get.
↓↓↓↓↓↓↓↓↓


#MrBlue #MrGreen #MrBlack


#LadiesBlue # LadiesGreen # LadiesBlack


#ChildBlue #ChildGreen #ChildBlack
you cannot , that isn't random. It's specific

1a 1b 1c
2a 2b 2c
3a 3b 3c


Random would be

{mr|ladies|children} {blue|green|black}

But it's like rolling a dice, you may get
mr green
mr green
mr blue
ladies blue
children black
children blue
mr green
children black

etc etc


IF you want your specified options, you will need to spin out the generated content externally and import to the program completed.



Regards,
Martin
Post Reply