Nathan,
Sorry, I did not check the forum recently.
Not sure if you still need G9 script, since you got G12.
But below is the script, I found it on my flash driver, it should work.
=================================================
@title Flash TTL
@param a Flash :0 TTL,1 Manul power (0,1)
@default a 0
@param c Flash compensation (-3~3)
@default c 0
rem DIGIC3 Flash Power id:121 0:auto 1:Manual
rem the default setting
get_prop 121 q
print "Default TTL: ", q
set_prop 121 a
get_prop 121 q
if q=0 then print "Flash in TTL mode"
if q=1 then print "Flash in Manual mode"
sleep 500
e=0
set_prop 127 e
get_prop 127 P
c=c*96
print "Old compensation:",P
P=P+c
set_prop 127 P
print "New compensation:",P
end
==========================================
James