[/code]-r1q2 text${var}text scripting support.
what is this? aprq2 1.19 :O
Moderator: Moderators
what is this? aprq2 1.19 :O
My guess is that it works like in a bash script... if you put a variable inside text you need to have braces around it ( {} ) in order for the variable to be recognized.
i.e. you could have a variable $firstword, that is set to "dick"
and then you could insert that into other text like for example:
(which would ofcourse produce "you gay dickhead")
If you don't have the braces q2 would be looking for a variable that was named $firstwordhead, but since the braces are in place, it inserts the correct variable, and then puts the head at the end as text.
Note that this is only a qualified guess, I could be wrong about this
i.e. you could have a variable $firstword, that is set to "dick"
and then you could insert that into other text like for example:
Code: Select all
say "you gay ${firstword}head"
If you don't have the braces q2 would be looking for a variable that was named $firstwordhead, but since the braces are in place, it inserts the correct variable, and then puts the head at the end as text.
Note that this is only a qualified guess, I could be wrong about this
Is there a list of all pre-defined macros/variables for aprq2?
There are some in the readmes, but i doubt that those are all.
There are some in the readmes, but i doubt that those are all.
Last edited by gegoj on Sun Apr 02, 2006 5:40 am, edited 1 time in total.
Some people drink from the fountain of knowledge... ...and some just gargle...