|
terl Beginner
Joined: 13 Aug 2003 Posts: 10
|
Posted: Thu Aug 14, 2003 3:55 am
can i merge varibales? |
hi again.
Regarding that visualize act spell from my earlier post...
can i merge 2 varibales together?
one would be for the visualize to be on and the other for the type of viusalize i'm casting
is that possible?
example:
cast visualize act at tonal control
#va spells casting {'viusalize act' %1 %2}
#va visu_type {%1 %2}
#va song_visu %ctime
#va s_visu -and here- visu_type "ON"
that'd return me the exact visualization as ON and not just paste over the last visu i did, if i do more then 1 at a time.
help appreciated!!
thanks
terl |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Thu Aug 14, 2003 4:41 am |
Special parameters %-1 through %-99 are also defined which represent the parameter plus all text following it. Thus, %-1 contains all text following the alias.
#AL visu {cast visualize act at %-1
#va casting {'visualize act' %-1}
#va visu_type {%-1}
#va song_visu %ctime
#va s_visu_%remove( " ", %-1) "ON"} |
|
|
|
terl Beginner
Joined: 13 Aug 2003 Posts: 10
|
Posted: Thu Aug 14, 2003 4:45 am |
Hrm,
gave me a syntax error on the last line.
#va s_visu_%remove( " ", %-1) "ON"}
^ syntax error
also can u plz explain what exactly it does, since i need to use the variable in another alias to echo to me the songs i'm currently singing :)
thx
Terl
edit: ok i found the error. :)
if u could just explain exactly what it does, would be great!!
Terl |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Thu Aug 14, 2003 5:22 am |
It casts visualize act and makes/updates four variables.
|
|
|
|
|
|