say verb

0 views
Skip to first unread message

Michael Taboada

unread,
Dec 20, 2009, 8:16:49 PM12/20/09
to MOO-...@googlegroups.com
Hi,
I was wondering how the lambda core uses "hi! to alias to say hi! without having to make a space between the quote and the sentence, like " hi!
I wonder this, because I want to make a verb like ", except with '.
If anyone has an answer, that would be very helpful.
 
-Michael
 
AI5HF
 
Http://ai5hf.mtgames.org/
http://moo.mtgames.org/
"A world that contained something as amazing as that bumblebee was a world in which he wanted to live." -- Christopher Paolini, Brisingr
"The songs of the dead are the lamentations of the living." -- Christopher Paolini, Eldest
skype: lilmike2
msn: ai...@hotmail.com
gmail: ai5hf....@gmail.com
 
pc details:
Intel quad core q6700-2.66 GHz; 4 gb ddr2 duel channel ram; 500 gb harddrive; windows xp pro.

Luke-Jr

unread,
Dec 20, 2009, 8:33:07 PM12/20/09
to moo-...@googlegroups.com
On Sunday 20 December 2009 07:16:49 pm Michael Taboada wrote:
> I was wondering how the lambda core uses "hi! to alias to say hi! without
> having to make a space between the quote and the sentence, like " hi! I
> wonder this, because I want to make a verb like ", except with '. If
> anyone has an answer, that would be very helpful.

LambdaCore doesn't. That's actually in your MOO engine.
But LambdaCore *does* map 'name msg to "page name msg" with a verb named:
'*

Michael Taboada

unread,
Dec 20, 2009, 8:38:45 PM12/20/09
to moo-...@googlegroups.com
Then how is it done, so I could make a say verb like that.

-Michael

AI5HF

Http://ai5hf.mtgames.org/
http://moo.mtgames.org/
"A world that contained something as amazing as that bumblebee was a world
in which he wanted to live." -- Christopher Paolini, Brisingr
"The songs of the dead are the lamentations of the living." -- Christopher
Paolini, Eldest
skype: lilmike2
msn: ai...@hotmail.com
gmail: ai5hf....@gmail.com

pc details:
Intel quad core q6700-2.66 GHz; 4 gb ddr2 duel channel ram; 500 gb
harddrive; windows xp pro.


--------------------------------------------------
From: "Luke-Jr" <lu...@dashjr.org>
Sent: Sunday, December 20, 2009 7:33 PM
To: <moo-...@googlegroups.com>
Subject: Re: [MOO-talk] say verb

> --
>
> You received this message because you are subscribed to the Google Groups
> "MOO Talk" group.
> To post to this group, send email to MOO-...@googlegroups.com.
> To unsubscribe from this group, send email to
> MOO-talk+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/MOO-talk?hl=en.
>
>

Luke-Jr

unread,
Dec 20, 2009, 8:41:22 PM12/20/09
to moo-...@googlegroups.com
On Sunday 20 December 2009 07:38:45 pm Michael Taboada wrote:
> Then how is it done, so I could make a say verb like that.

@verb $player:'* any any any
@prog $player:'
argstr = verb[1..$] + (argstr ? (" " + argstr) | "");
<your code here>
.

Luke-Jr

unread,
Dec 20, 2009, 8:42:27 PM12/20/09
to moo-...@googlegroups.com
On Sunday 20 December 2009 07:16:49 pm Michael Taboada wrote:
> wonder this, because I want to make a verb like ", except with '.

BTW, I would find it VERY annoying if ' did something other than page.

Reply all
Reply to author
Forward
0 new messages