HRW:Weyrlings/Code/General
| Weyrling Program | |||
|---|---|---|---|
|
| |||
| Code | |||
This is just some general code that will set your dragon to dark and !puppet when you are not online so people cannot +tidy your dragon away, and your dragon will not clutter up the Contents list of a room. When you log back in, your dragon will be !dark and puppet again, so people can see your dragon on the Contents list and your dragon will act as a puppet. Just so you know, if your dragon is set dark and puppet, it will still be viewable as MUSH inherently forces anything set as a puppet to be visible.
Copy paste the following and replace Dragoneth with your dragon's name as long as it is either in the same room or in your inventory. This will return the Dragon Dbref you need for the code in the second box.
- @pemit me=[num(Dragoneth)]
Take the number you received above (for example #1234) and use it to replace Dragon Dbref below.
- @aconnect me=+bbscan/general new ; +bbscan/hrw new ; +bbscan/hrw-hatch new ; +events ; +skim u ; @set Dragon Dbref=!dark ; @set Dragon Dbref=puppet
- @adisconnect me=+flush ; @set Dragon Dbref=dark ; @set Dragon Dbref=!puppet
- @listen <dragon>=*
The last bit will set your dragon to listen for everything. This will stop messages, such as 'Dragoneth is now listening.' to pop up when you set and unset the puppet flag from your dragon.
