Welcome to envoxforums.co.uk Sign in | Join | Faq

Envox 6.x

Started by pepper at 11-03-2005 2:17 PM. Topic has 2 replies.

Print Search
Sort Posts:    
   11-03-2005, 2:17 PM
pepper is not online. Last active: 11/3/2005 2:13:44 PM pepper

Top 10 Posts
Joined on 11-03-2005
Posts 1
Problem with random number block
Reply Quote
Hi,

I am having problems using the random number block. I am trying to get a random number between 0 and 3, I am setting the @RandomNumSeed to TimeConv(@Time; "hh:mm:ss"; "hhmmss") on a SetVariable block before the random number block. Any suggestions?

Thnx in advance!


   Report 
   11-03-2005, 5:38 PM
ichi is not online. Last active: 11/8/2006 8:11:08 PM ichi

Top 10 Posts
Joined on 07-29-2005
Posts 6
Re: Problem with random number block
Reply Quote
Just an idea for a work around...
Can you use a RunHostedScript block and just use some VBScript like..?..

Randomize
Rnd()


Hope that helps...


   Report 
   05-24-2007, 9:56 AM
dweebster is not online. Last active: 5/24/2007 6:42:11 AM dweebster

Top 10 Posts
Joined on 05-24-2007
Posts 2
Re: Problem with random number block
Reply Quote
Just set the @RandomNumSeed to @time+@channelnum before you enter the RandomGen block which you set the generate a value between 0 and 3.

Hope this helps!
   Report 
envoxforums.co.... » Version Specifi... » Envox 6.x » Problem with random number block

Powered by Community Server, by Telligent Systems