I swear I have searched throughout the whole forum before posting, but I couldnt find the solution 
I got the following code:
I can't make it work. If, instead of using
Does anyone know the right syntax? Thank you in advance!

I got the following code:
Code:
local MyRune = "Force Shield"
if not mq.TLO.Me.Gem(MyRune)() then
mq.cmd('/memorize "' , MyRune , '" 4')
end
I can't make it work. If, instead of using
mq.cmd('/memorize "' , MyRune , '" 4') , I use mq.cmd('/memorize "Force Shield" 4'), then everything works fine. That means that the concatenation of the variable MyRune breaks the cmd. I assume the quotes symbols are the culprit of the issue. Unfortunately, the spell name must be surrounded by quotes for the /memorize command to work.Does anyone know the right syntax? Thank you in advance!

