The message from the script is being sent at line #120 in the original script, with the sendChat function. Changing '/direct ' to '/w gm ' might be all you need to do, but the script is also rebuilding inline rolls, and I'm not certain the HTML is going to be stable for a whisper. (For such a simple change, however, it wouldn't be hard to try it.) Also, a caution: My critical hit script uses a primitive and fairly naive version of the buildInline function. For the basics of a D&D roll it ought to work okay (d20+modifier), but it may get jammed up with more complicated rolls, particularly ones which use grouping. The most up-to-date version of the function I'm aware of is employed by Honey Badger's Power Cards script. Unfortunately, the amount of modifications that have been made with respect to HB's script over the initial version used in mine means you can't simply copy the one into the other.