Page 1 of 1

Suggestions for scripts!

Posted: Mon May 09, 2005 3:50 am
by CASSIDY
I didn't see a suggestion post..sooo


I was wondering if someone smart could please make a script that says random funny quotes from the show Sealab 2021, there are hundreds of these and it would be really neat to use.

:wink: :lol:

Re: Suggestions for scripts!

Posted: Mon May 09, 2005 7:30 am
by zaudragon

Code: Select all

on substitute()
	set quotes to {"1", "2"}
	return item (random number from 1 to (number of items in quotes))
end substitute
Just change quotes to anything you like, with each quote in quotes and a comma after it excluding the last one which doesn't need a comma.

Re: Suggestions for scripts!

Posted: Mon May 09, 2005 10:40 pm
by CASSIDY
zaudragon wrote:

Code: Select all

on substitute()
	set quotes to {"1", "2"}
	return item (random number from 1 to (number of items in quotes))
end substitute
Just change quotes to anything you like, with each quote in quotes and a comma after it excluding the last one which doesn't need a comma.
what should i do with this..and where!!!!!?????

Posted: Mon May 09, 2005 11:07 pm
by Wengero
open up script editor and copy paste this in, then do the editing then save it
now the next step is best done by downloading a working script off the xtras site using show package contents and putting replacing the script inside with your script and editing the .plist file(its really not that hard just look as to the obvious meaning of each thing)