Different scripts for different user groups: Is it possible to use different scripts for different users or user groups?

Yes, this is possible. You can either query a user's name or a role in your scripts:

if Q[user=...]

if Q[Role=...]

Or you can make use of the "user catalog" option in the GuiXT configuration file guixt.ini. Here you can assign different script directories to different users, based on user name, role, client or SAP user parameters.