Custom Titles script

slyz

Developer
Here is a small script, requested by a friend. I'm posting it in case anyone else is interested.

The original request was to be able to specify a list of your custom titles from which a random one would be chosen and used on login.

- call it once like this:
Code:
call titles.ash refresh
This will create a data file called titles.txt in Mafia's /data folder.

You can remove the lines corresponding to titles you don't want to use.

- to see a list of titles it will pick from, simply call the script like this:
Code:
call titles.ash show

- When you want to use a random title among those in the data file (or among all of the titles you have if the data file doesn't exist), call the script like this:
Code:
call titles.ash random

You can add this to Mafia's login actions by adding "call titles.ash random;" in the "On Login:" line of Preferences -> Breakfast.
 

Attachments

  • titles.ash
    2.3 KB · Views: 46
Top