Re: Dice
Re: Dice
- Subject: Re: Dice
- From: David Andrews <email@hidden>
- Date: Tue, 26 Oct 2004 23:03:23 -0400
On Oct 26, 2004, at 10:45 PM, kai wrote:
[snip]
Try:
some paragraph of "1
2
3
4
5
6"
;-)
---
kai
And I'll try some character as well:
...
set nums to {1, 2, 3, 4, 5, 6}
set numss to "1 2 3 4 5 6"
set numsp to "1
2
3
4
5
6"
set numsc to "123456"
...
--set roll to random number from 1 to 6 -->
--{{100218, 100223, 99687, 99897, 99802, 100173}, 73}
--set roll to some word of numss -->
--{{99582, 100278, 100027, 100086, 100208, 99819}, 95}
--set roll to some item of nums -->
--{{99731, 100335, 99784, 100104, 100027, 100019}, 22}
--set roll to some paragraph of numsp -->
--{{100025, 99924, 100171, 99564, 100307, 100009}, 40}
set roll to some character of numsc -->
--{{100016, 100070, 100107, 99883, 100047, 99877}, 43}
...
Not bad, if there were not some item! :)
Dave A
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >Re: Dice (From: kai <email@hidden>) |