How to add @homes to mudbot for new bosses you add

Discussion on running your own board and editing MajorMUD.
Post Reply
Ravyn
Posts: 38
Joined: Wed Mar 30, 2016 4:40 pm

How to add @homes to mudbot for new bosses you add

Post by Ravyn »

--Setting up @homes for new bosses--

(note mudbot needs to have permissions turned on for each user just like in stock mud, you turn on
the query stuff and sysop commands)

Here is the way to set up a really simple @home for new non-stock non-roaming bosses in mega.
It unfortunately does not work as efficiently as the stock mega @homes due to mega's lack of
sophistication in message response programming but it does the job and is pretty easy to
set up, the major drawback is you have to be IN THE ROOM WITH MUDBOT to get the results, or on
broadcast channel with him. The major thing mega lacks in message responses is variable storage
beyond one message response and the ability to use conditions (AND, IF, OR, NOT, etc) so unfortunately
you cannot make it telepath back. The other side effect of this is mudbot will spew a home or not
home to the temple room when someone telepaths him a stock mega @home, but personally its not an issue
id rather have the new @home capability than worry about somethin like that. You decide if its
right for your board, if members want @homes on all the new monsters to me its worth it.

Step one, give mudbot sysop/mudop commands and put him on broadcast channel 1.

Step two, instruct your members to go to broadcast channel 1 for mudbot to perform @homes

Step three, set up the following message responses on mudbot


Please pay attention to EXACT capitalization and punctuation in the following responses.


---Go into game data/message responses, create a response called "@home broadcast alive"

Message: Specific Monster is Alive

Response: ((MonCheck: Alive Now!))^Mbr ((MonCheck: Alive Now!!))^M

"find anywhere in text", "find in conversations" both checked.

---next, create another response called "@home broadcast killtime"

Message: Last Killed: {1} (RG: {2})

Response: ((MonCheck: Killed {1}, {2} hr rgn))^Mbr ((MonCheck: Killed {1}, {2} hr rgn))^M

"find anywhere in text", "find in conversations" both checked.

---next, create entries for each non-stock monster you add, I'll use great green dragon
---as an example since stock mega never included it.
---name it "@home great green dragon"

Message: @home great green dragon

Response: sys stat room 3111 1^M

"find anywhere in text", "find in conversations" both checked.

---results:

when user types, telepaths, or broadcasts mudbot "@home monstername" they will get a result saying
either (unknown), ((MonCheck: Alive Now!)), or ((MonCheck: Killed 01-Jan-13 12:00:00, 28 hour regen))
both in the temple and on broadcast channel 1.

The user must do the math in their head for the regen time vs stock mega saying "8 hours to regen" etc.

Also note this process takes over for the stock mega @homes, you are modifying it to work a little
differently.

repeat process with the name and room # of each of your non-stock monsters


by Ravyn of CodeRed BBS ravyn.codered AT gmail.com


Bloodrock
Posts: 301
Joined: Mon Jul 16, 2012 9:02 pm

Re: How to add @homes to mudbot for new bosses you add

Post by Bloodrock »

i use @alive instead for mobs i added to my realm and use @home for default mobs basically same thing thou since users still gotta be on br chan 1 for results of either


Post Reply