Modify and little request pls HELP ME :)))))

Posted by Fegat\\n0 on Tue 11 Jun 2002 08:22 AM — 2 posts, 11,300 views.

#0
hi Nick, i've done a little modify in your code:

in mud.h
extern char * const dir_exit [];

in act_move.h
char * const dir_exit [] =
{
"&YN&zord", "&YE&zst", "&YS&zud", "&YO&zvest", "&YA&zlto", "&YB&zasso"
};


in do_exits function:

{
strcat( buf, " " );
len = strlen(buf);
strcat( buf, dir_exit[pexit->vdir] );
/*make_char_upper(buf, len);*/
}

/*send_to_char( buf, ch );*/
pager_printf_color( ch, buf );


you have the exits Nord, Sud, whit the 1st letter for exit in divers colour :)


now, i've many little request for u :P

how i can?
- Eliminate the mental_state
- Eliminate a class
- Eliminate a Race

- For speack
now: do_say: say all in one room
i wont: do_say: say all in total area

now: do_tell: say to one
i wont :do_tell: say to one

now: do_shout: shout all
i wont :do_shout: shout all (% to distance where's one players refer to who shout)

do_chat: eliminate

- In room
now:
a guard
a guard
a guard
a guard

i wont:
a guard (4)
Australia Forum Administrator #1
Quote:

- For speack
now: do_say: say all in one room
i wont: do_say: say all in total area


Look in act_comm.c for that one. The function talk_channel is pretty-much what you want, except you might need to check the target is in the same area.

As for the rest, it is pretty straightforward, but I don't have time to do all the coding for you. To eliminate things like do_chat just take them out of the commands.dat file.