The brand file accepts using mIRC commands. When the random action/msg is pulled, it is also evaluated.

If you wanted a random name, there is a few ways to go about it. One is if you want a random one form a specific list, you could use something like:

$gettok(A B C D E,$calc($rand(1,999) % 5 + 1),32)

The A B C D E would be the list of specific nicknames to use, the 5 is the number of names in that list. If you want a random nickname from the channel, use this:

$nick($chan,$calc($rand(1,999) % $nick($chan,0) + 1))

To ad Mistress or Master before either (You won't be able to do specify it based on gender, unless you coded a work-around, but if you wanted just a simple random, use:

$iif($calc($rand(1,999) % 2),Mistress,Master)

Add that before either of your random commands. Again, put any of this information in the brand file, and mIRC will evaluate it at the time of the random message.


-KingTomato