On Sunday 11 August 2002 10:14 pm, 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
Explore your code.
**nod**
The variable is already there, just pay attention to what you're doing. If
you've got copyover, look at how that gets it's port. Otherwise, look at how
db.c prints out it's port to the logs (ie: yourmud is up and running on port:
blah).
From there it should be pretty simple
--
----------------------------------------------------
TJW: Head tech, Dreamless Realms
Mud: http://dreamless.wolfstream.net
Snippets http://dreamless.wolfstream.net/
Telnet dreamless.wolfstream.net:9275
The OLC Pages http://olc.wolfstream.net
----------------------------------------------------