[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  SMAUG coding
. . -> [Subject]  Modify and little request pls HELP ME :)))))

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

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

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page


Posted by Fegat\\n0   (2 posts)  [Biography] bio
Date Tue 11 Jun 2002 08:22 AM (UTC)  quote  ]
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)
[Go to top] top

Posted by Nick Gammon   Australia  (18,769 posts)  [Biography] bio   Forum Administrator
Date Reply #1 on Tue 11 Jun 2002 10:15 PM (UTC)  quote  ]
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
[Go to top] 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.


1,335 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]