Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llStuffies and /stuffies

Shebang Sunshine
Royal PITA
Join date: 3 Dec 2002
Posts: 765
02-08-2003 08:26
In scripting I'd like to see something that would read in the contents of a notecard in the object's inventory.

a) read in the entire contents into a list, perhaps
b) read in a random line (without having to read the entire card into list and then grab a random)
c) read in a specific line number and/or the line beginning with a specific word

I'd also like to see the email function be able to attach an inventory item to the email before sending it

In the /stuffies I'd like to see some variables. Let's say up in Gestures I made one like this:
CODE

Chat Input Chat Output
/hello $1 Hello $1, how are you today?

Now what I'd actually need to type would be "/hello someone's_name" so that the chat output would actually be:
Hello someone's_name, how are you today?

$1 would be the first word I typed after "/hello" -- $2 would be the second word typed after, $3 the third -- $1* would be the first word and all words following, etc.

Hope this makes sense - my brain is still a little cottony and I've not had enough dew yet today to be seeing in color yet.

#!
_____________________
--
Gravy: the new ice cream.
Flyk Escher
Registered User
Join date: 20 Mar 2002
Posts: 89
02-08-2003 10:03
oo one of the grid monkeys had a macro that seemed to do exactly what you describe. But I can't remember the name dang it. I'll try to figure out who it was fer ya.

Hope yer feelin better #!.
_____________________
If you build it they will come.
If you don't someone else will think it up and take yer idea straight outta yer brain!!
Shebang Sunshine
Royal PITA
Join date: 3 Dec 2002
Posts: 765
02-08-2003 10:21
Ooooh I hope you can remember! Or that the grid monkey in question reads this and responds.

I'm feeling a bit better, yes. Now it just feels like razor blades are twirling around inside my nose whenever I breathe.

:/

#!
_____________________
--
Gravy: the new ice cream.