OK, I've twice written long replies that end up getting eaten because the NameGen script is so long and I was trying to include it in my post.  The short answer to your question is that you cannot force a script to output/not output, nor to whisper/not whisper that output UNLESS the script, itself, has built-in ways to do that.  However, the MetascriptToolbox offers some flexibility, here.    I found the NameGen script you were using and updated it to work with the MetascriptToolbox as a plug-in. With this version, you can still access it from the command line like you always would (and have it report to the chat panel the name it generated for you), or you can use it as a plug-in to the Toolbox and have it return the name to the command line so that it will be there when another script (like TokenMod) gets the message.   You'll have to get the updated script from  my repo , because the length of the script was causing this message forum to fail and eat my message.  Setup   Install the MetascriptToolbox (from the 1-click)  Delete your current NameGen script and install the new one from my repo   Usage  You can use it as a stand-alone script the same as you always could, but now you can use it as a plug-in right in the command line of another script and return the generated name. Here it is in a TokenMod command where you are asking for a medieval boy name:  !token-mod {{  --on     flipv     fliph --set     represents|@{Commoner|character_id}     rotation|180     bar1|4     bar2|10     name|{&eval}namegen(medieval boy){&/eval} }}  If you ALSO want to output the result of the name change, that can be done with further MetascriptToolbox tricks, but since I've already had bad luck with messages getting eaten, I'll wait for you to indicate that you'd be interested before I take the time to demonstrate that.