Suggestions for scripts!

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
Post Reply
CASSIDY
Harmless
Posts: 15
Joined: Fri May 06, 2005 3:05 am

Suggestions for scripts!

Post 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:
I could sell RAID to a bug, Ima hustla I could sell salt to a slug cuzzzz
User avatar
zaudragon
Growl Team
Posts: 1852
Joined: Sat Dec 04, 2004 5:05 am
Location: Kensington, CA, USA
Contact:

Re: Suggestions for scripts!

Post 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.
Blog | X(tras)
Communists code without classes.
CASSIDY
Harmless
Posts: 15
Joined: Fri May 06, 2005 3:05 am

Re: Suggestions for scripts!

Post 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!!!!!?????
I could sell RAID to a bug, Ima hustla I could sell salt to a slug cuzzzz
Wengero
Crema
Posts: 373
Joined: Fri Mar 18, 2005 3:37 am
Contact:

Post 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)
Post Reply