ditto_n
Mar 19 2004, 18:30
Hey everyone,
Is it just my coding or does foo_text not suport "true" tagZ? I tried to make it show Q7 instead of Insane for Mpc profile. I put this:
$if($stricmp(%__mpc_profile%,'Insane'),Q7)
and it didnt write anything. Maybe $stricmp can be added to foo_text, or maybe somone can write their own version of foo_text that uses tagZ?
foosion
Mar 19 2004, 18:40
foo_text does support TAGZ. However, your string checks whether the mpc_profile tech info field is equal to Insane, when you would want to check for 'Insane' (TagZ uses apostrophes to quote strings, which is needed when you want special characters in the output. 'Insane' in a format string is however the same as Insane).
To get an apostrophe in the output, you'll have to write two apostrophes. Thus, your string should be:
$if($stricmp(%__mpc_profile%,''Insane''),Q7)
ditto_n
Mar 19 2004, 19:42
Ah i guess i should have tried a script without quotes first.. gah.. O well.. Ty much foosion