hackmudrc file? #16
Replies: 1 comment 1 reply
-
|
I second this! It would be a great way to do "startup" stuff; a script that shows you currently active users, or the change in corps.top since last login, or checks your logs to see if you were poked/breached, check your "emails" from an email script, etc etc. Like function(c, a) {
//Let's us run our startup script manually if we'd like.
c.run_count = c.run_count || a.run_count;
if (c.run_count === 1) return #fs.emails.check({ user: "jumpsplat120", pass: "hunter2" });
if (c.run_count === 2) return #fs.jumpsplat120.scan({ tier: 1 });
if (c.run_count === 3) return #fs.jumpsplat120.scan({ tier: 2 });
if (c.run_count === 4) return #ms.https.neofetch();
//If our run count is higher than 4, we return nothing, since we want neofetch
//to be the last thing displayed, and we only want it to show the one time.
}``` |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
What if hackmud users could have something like a
.zshrc? The primary purpose of this would be to define scripts that run when you first login to that user in that game instance. (It would only do it once, and wouldn't do it again until you quit the game, but maybe this could be customised?)This could also be a place to store per-user settings, like default chat pane channels and scripts.
Beta Was this translation helpful? Give feedback.
All reactions