Added event. This is how i'm using it.. inline with a slew of other !commands, thus the [if ($1 == !roll)] around the whole thing.
If !roll is called from a PM, all output is limited to that window, regardless of other channels you may be in. If !roll is called from within a channel containing the bot, rolls are reported in a PM to the user who called it, with final output being sent both to the PM as well as a notice to the channel where the command originated.