scripting: also allow global-to-global event transitions

Signed-off-by: Peter Soetens <peter@thesourceworks.com>