Another option you can do is to set something in bust_a_prompt in comm.c
to auto display the port number in your prompts. Just find an unused
letter to add it in to, and then use "sprintf( buf2, "%d", port );".
If you want a command to show it, just use something similar to that line.
All in all, it's a piece of cake.

Good Luck

RD
A Merging of Fates MUD
telnet://mud.merging.org:5454

---

Windows - Where do you want to go today?
Linux   - Where do you want to go tomarow?
FreeBSD - When are you two going to catch up?

On Sun, 11 Aug 2002, Vertigo wrote:

> I want to write a command or maybe even write in the ability to see what
> port you're on.  It sounds like it has no function but for someone like
> me who is constantly on the builder port, code port and main port, it's
> sometimes difficult to determine what port I'm on.  Has anyone done this
> yet?
>
> Vertigo
> Realm of Lanera
>
>
> --
> ROM mailing list
> [email protected]
> http://www.rom.org/cgi-bin/mailman/listinfo/rom
>


Reply via email to