Hello all you.. Ahem.. Lovely people. While I am pretty known to be an insufferable **** at times, wouldn't you believe I can also be nice?!
Surely my words are enough proof, right? No..? Okay, then... Have a nice and (from my usage), very helpful little script. Just so you all know you're not being played,
here is a little demonstration of what it does/how it works. Note: All of the 'think' stuff is manually done by me. That's not actually a feature of the system.
So, how do you use it? Simple!
- Make sure GMCP is enabled,
- Install the script via the package manager (untested on 3.0 delta, use at your own peril!)
- Use 'ptinstall' to get everything up and running. Voilà! You're done. Might wanna check the aliases below, though!
Following is a list of all the aliases featured in the log above.
- qwc will display who's online, as well as the cities they're a part of. The highlighting is not a feature, either. You can find all of that lovely stuff inside of CONFIG WHOCOLOUR! @Garryn and co are to thank for that, unfortunately for me!
- qwup will update everyone who shows up under the 'untracked' column. Please give this a moment or two, if there's a lot of people it can take a bit of time.
- pt stats will display the total players tracked, as well as the cities that have each number!
- ptc (city) will display the members of the defined city. 'ptc celidon' for instance!
- ptp (prof) similar to the above, will display members of the defined profession! 'ptc hunter' for example!
- pt rem will clear out the database, especially helpful as it can get quite large! - This will only removed dormant/inactive/retired people.
- Finally erep (city) (channel) will clear your enemies list, and then enemy everyone of the defined city/faction, then report it to the designated channel. If you don't want it to report, simply put ? or something in its stead. Note this'll likely fire a 'invalid command' to the game, I'm too lazy to add in optional reporting!
- erep m/d/am clt1 will enemy all online magickers/demonic/anti-magicker (respectively), as an example and report it to clt1;
- erep celidon rt will enemy all online celidon people, and report it to ring!
That's about all there is to it! The database will save/load on logout/mudlet start automatically. Though there is a manual save alias as well with 'ptsave' - i didn't bother adding one to load, sorry! The save one was just in case of disconnects, which you can still type in even when not connected to the game.
PS: For those of you oddballs that use affliction trackers, you can also use this to get around people who like illusioning separate class cures. Simply by capturing the line, and doing something like "if player_tracking.names[matches[2]].Class ~= "Runeguard" then " --- Cool huh?
PPS: I shall not be held accountable for any variables/function names that might conflict with existing ones! I made them as 'obscure' as possible, to prevent this, but who knows!
Comments
whois (person) command, that'll print stuff like this!
I'm amazing, I know.
ptp and ptc are drawing blanks for me, and I tested things that should be known:
https://gyazo.com/d93e5cc7d654b1c7b5bdc5d3c7d0ca38
enemying is being... strange, but I think I know what's causing that... (using | as a separator, so that should simply be changing the reporting)
other than that! this is a great edition and tool to use, thank you so very much!
Yes, using | as a separator will conflict with the reporting sorry to say! Simply because when I used this in other games, I used triggers to capture people who would report enemy lists like that.
(Party): Person says, "Enemies are: One|Two|Three|Four." - for instance, would be captured and separated into a table of enemies for me to have!
Otherwise, this is a lovely tool. Thank you!
Apparently I can't edit the original post, so uh... Just delete the one you downloaded, and get this one instead. You won't have to do PTINSTALL again, just uninstall/reinstall and restart mudlet!
@Garryn / @Eoghan / @Jeremy, mind clarifying the last 'think' in that log please? Useful as this seems to be, don't wanna be breaking no rules with it!
@Everyone else, I don't wanna make another long post, so just read the log to see how to do it!