|
double0fro Beginner
Joined: 19 May 2002 Posts: 15
|
Posted: Wed Oct 02, 2002 10:20 am
Appending text to a variable |
Sorry for the lame post, but its late and my brain stopped fuctioning after i wrote this alias...so heres the finishing touch.
I have a variable @spell that contains a spell name(ie. armor) i have a check to see if it fails, how can i append the word failed to the variable so it would become:
@spell = armor - failed
bear in mind i can't use that because @spell can be any number of spells, i just want to be able to append - failed to whatever is currently in the variable.
Again sorry for the lame question.
Thanks
Double0fro |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Wed Oct 02, 2002 12:38 pm |
#VAR spell %concat(@spell, " - failed")
Kjata |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|