last.txt

Uploaded: 24 Apr, 2007
Previous uploads by this submitter: 0

Author: Richard Ortiz

Downloads: 100

This is a modification to the LAST command. It maintains a login database which is used to
track logins on a daily basis (2 quick functions are to show todays logins and yesterdays logins eg last today or last yesterday),
another feature is the ability to show a specific characters possible alternate characters. Based
on the name you search for you will get a list of possible alternate characters for that character.
After which a recursive search is performed, and pulls a list of possible alternate characters
from the main list of alternate characters.

It will not be very effective at first, but once your login database fills up I am sure you
will find it very useful. The alternate character search portion of this modification relies
heavily on the fact that players tend to login to their different characters each day. I decided
to do the search based on daily logins instead of on every login the database to avoid a potential
that two different players login under the same ip address in the course of time.

Example output:
>last findalts gohan

Possible Alts of Gohan:
———————————————————-
->Chico 1 1 [Deleted]
->Kilamari 48 1 [Deleted]
->Test 2 1 [Deleted]
->Ethmoid 3 1 [Deleted]
->Kalax 1 1 [Deleted]
————Recurssive Matches————
->Cell [] 1 1 [Exists]
->Galactus [Kilamari] 0 1 [Exists]
->Kamidogu [Kilamari] 0 1 [Exists]
->Havok [Kilamari] 0 1 [Exists]
->Eon [Kilamari] 0 1 [Exists]
->Kosh [Kilamari] 0 1 [Exists]
->Hyren [Test] 0 1 [Deleted]
->Chark [Test] 0 1 [Deleted]
->Salm [Test] 0 1 [Deleted]
->Lashe [Test] 0 1 [Deleted]
->Solace [Test] 0 1 [Deleted]
->Raeyn [Test] 0 1 [Deleted]
->Tes [Test] 0 1 [Deleted]
->TestChar [Test] 0 1 [Deleted]
->Dead [Test] 0 1 [Deleted]
->Viral [Test] 0 1 [Deleted]
->Ocyris [Test] 0 1 [Deleted]
->Fallen [Cell] 0 1 [Exists]
->Eternal [Cell] 0 1 [Deleted]
->Exile [Cell] 0 1 [Deleted]
———————————————————-
25 Total Possible Alts: 7 still exist, 18 are deleted.

Helpfile from my mud:
=============================================================================

Syntax: last <player name>
This option allows for one to see the last login of a specific
player.

Syntax: last <number>
This option allows for one to input a range and view the last
number of logins chosen.

Syntax: last searchname <name>
This option allows one to view 50 of the players logins ending
with the most recent login found.

Syntax: last findalts <main character name>
This option allows one to view all possible alternate characters
of the main character specified.

Syntax: last fromip <IP address>
This option allows one to view 50 of the most recent logins
from the given IP address.

This option also has one extra feature, it in a sense allows for
a wildcard. Lets say for example you want to see all ips starting
with 24.21.*.*, you would simple type last fromip 24.21.

Note the period at the end of 24.21., this is because if you were
to leave it out, an ip address like 154.24.212.234 might show up.

=============================================================================


*** As of May 04 updated to hopefully remove all possible errors, thanks to conner for pointing them
all out for me.