[PENNMUSH] Local Commands
Andrew Mackie-Mason
drewmm at gmail.com
Mon May 16 15:27:05 CDT 2005
I've been looking around those sites--thanks again, by the way--but I
cannot figure out how to get attributes. Say I wanted a +finger
command, where the caller could type +finger One, for example, or any
other user. So far I have:
&cmd-finger finger-object=$+finger *:@pemit %#=%0/name
But this dosn't work. How can I get the user from the argument, and
then get their name?
Thanks,
Andrew
On 5/15/05, Andrew Mackie-Mason <drewmm at gmail.com> wrote:
> Thanks!
>
> Andrew
>
> On 5/15/05, Gabe Stein <potterhead4 at comcast.net> wrote:
> > Hi,
> >
> > There are a lot of db's to get you started, such as Mush Warehouse
> > (http://moosh.net) and MushCode (http://mushcode.com) that have a lot of
> > global commands to help get you started.
> >
> > But to give you a pointer, basically what you're doing is giving something a
> > command attribute. So you'd say:
> >
> > &cmd_who wholistobject=$+who:@dowhatever
> >
> > The $-symbol defines the command, so any attribute with a $-symbol as the
> > first character will have the next thing be the command.
> >
> > Like I said, look around. Mushcode.com has a nice beginning programing
> > tutorial, so enjoy.
> >
> >
> >
> >
> > -Gabe
> >
> >
> > On May 15, 2005, at 6:03 PM, Andrew Mackie-Mason wrote:
> >
> > Hello,
> >
> > I am new to PennMUSH, and creating MUSHes in general, so please bear
> > with me. I would like help with creating local commands, for instance:
> > +help, +who, +mail, etc.
> >
> > Thank you!
> >
> > Andrew
> > _______________________________________________
> > Pennmush mailing list
> > Pennmush at pennmush.org
> > http://www.pennmush.org/mailman/listinfo/pennmush
> > PennMUSH FAQ-o-matic! http://www.pennmush.org/cgi-penn/fom
> >
> >
>
More information about the Pennmush
mailing list