Hello, like this:
bool isDead = Lua.LuaDoString<bool>("return UnitIsDead('target')");
string spellName = Lua.LuaDoString<string>("local name, rank, icon, castingTime, minRange, maxRange, spellID = GetSpellInfo(1); return name;");
// only in next wrobot version
List<string> returnGetSpellInfo = Lua.LuaDoString<List<string>>("return GetSpellInfo(1);");
string spellName2 = returnGetSpellInfo[0];