Spintax Help

duceduc

Supreme Member
Joined
Aug 23, 2014
Messages
1,398
Reaction score
278
I am trying write this bit of a spintax but am having trouble. I got this to work so far but want to add alternative words to it.

Working:
'{would|should|could|dare} not'

Not working:
'{{would|should|could|dare} not|{wouldn't|shouldn't|couldn't}}'

I want it to choice either this 'would not;should not; could not' or 'wouldn't;shouldn't;couldn't'
 
This bit is malformed not| you need to get rid of the pipe so its like this.... not
:)
 
Try this:

{{would|should|could|dare} not|{wouldn't|shouldn't|couldn't}}
 
Hmm. If I get rid of the pipe, it breaks the code anything after it.
 
Try this:

{{would|should|could|dare} not|{wouldn't|shouldn't|couldn't}}

It looks the same with mine. Just w/o the quotes. I tried it anyways and it doesn't work.
 
Ya I just tried it in that site and it does not work. I guess their spinner is garbage.

Test it here:

Code:
http://www.wmutils.com/spinner/
 
I am trying write this bit of a spintax but am having trouble. I got this to work so far but want to add alternative words to it.

Working:
'{would|should|could|dare} not'

Not working:
'{{would|should|could|dare} not|{wouldn't|shouldn't|couldn't}}'

I want it to choice either this 'would not;should not; could not' or 'wouldn't;shouldn't;couldn't'

It works just fine here: http://wmutils.com/spinner/
 
Thanks guys for the confirmation.

I have now another issue. There are some comments I could delete a word and still make sense. It seems Follow Liker doesn't support this code. That is, any blank space between {} that doesn't have a character after it does not get parse as a space
Ex:
'.....{Does |Please |}{check|see} my account'

Result:
'.....Doescheck my account'; '....Pleasesee my account'

The reason I wanted this way is because I may have a sentence before it that has a space. I don't want to have extra spaces if the bot doesn't choose a word between the first set of {}.

Any way of coding it?
 
There should be a character between "}{" instead of "{}", like this '......{Does|Pease} {check|see} my account'. Just make sure there is a space beteen two "{}"('{...} {...}'), there will be no such problem.
 
The word should have been 'Do' and not 'Does', but that is not the point.

I understand I need a space between the set of {} brackets, but when the bot doesn't choose 'do' or 'please', it will parse like this with 2 blank spaces.
ex:
'Great feed. {Do|Please|} {check|view} my account. '

Result:
'Great feed.<space><space>check my account or 'Great feed.<space><space>view my account'

I want to have only one space before '<space>check my account.'
 
Back
Top