Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ SMAUG
➜ SMAUG coding
➜ Modify and little request pls HELP ME :)))))
Modify and little request pls HELP ME :)))))
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Fegat\\n0
(2 posts) Bio
|
Date
| Tue 11 Jun 2002 08:22 AM (UTC) |
Message
| 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) | Top |
|
Posted by
| Nick Gammon
Australia (23,162 posts) Bio
Forum Administrator |
Date
| Reply #1 on Tue 11 Jun 2002 10:15 PM (UTC) |
Message
|
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. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
9,708 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top