Halfagain IM Forums
May 23, 2012, 12:02 *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Due to increasing spam we are forced to make this forum "Read Only". If you have an issue, most likely was discussed here. Use the Search function and try to find related discussions. If you can't find any helpful information, just email support at halfagain dot com"
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Randomize sentences in senseblocks  (Read 1205 times)
0 Members and 1 Guest are viewing this topic.
maliboo
Newbie
*

Karma: 10
Offline Offline

Posts: 7


« on: March 17, 2006, 07:28 »

It would be useful, if we could get another tag that allows to shuffle words or sentences in senseblocks. Webspinner does that and I find it very useful.

Example: Tony plays soccer,;; tennis,;; golf and loves diving.

Result:

Tony plays golf, soccer, soccer and loves diving.
Tony plays tennis, golf, soccer and loves diving.
...

It allowes more variations with a simple construct.
Logged
Omar
Here to help.
Administrator
Hero Member
*****

Karma: 10001
Offline Offline

Posts: 2687


« Reply #1 on: March 17, 2006, 10:11 »

In your example diving is not a variable.

Now you can do this with such block:

Tony plays [sport], [sport], [sport] and loves diving.

or even

Tony plays [sport], [sport], [sport] and loves [sport2].

Using more time variable [sport] will tell script to chouse a new random item. This should be unique (not used before). However, can appear duplicates though if you do not have a big enough list of sports.


But your suggestion will be noted as well
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!