MOO-cows Mailing List Archive

[Prev][Next][Index][Thread]

Re: [newbie] listening note programming question




From: "D. Jason Nolan" <jnolan@oise.on.ca>
>overboard.  I took $note and added a verb :tell with the string
>this:set_text({@this.text, dobjstr});
>
>This added anything said onto the note.
>
>But now I want to add the names of the speaker.  So I tried:
>
>this:set_text({this.text, tostr(player.name, " -> ", argstr)});

Try adding the @ in again...

this:set_text({@this.text, tostr(player.name, " -> ", argstr)});

>Which works, but ONLY gives me the last thing that someone said prefaced
>by their name, and a cryptic {list}

That's because you didn't "unravel" the first list.  I've made this
mistake more than once...

    /t

Tom Ritchford     tom@mvision.com, tom@weirdos.com

Verge's "Little Idiot" -- Music for the mentally peculiar.
1-800-WEIRDOS           http://www.fly.net/~verge


References:

Home | Subject Index | Thread Index