Fix
I actually figured it out on my own and fixed it.
It seems that you need to add ( // ) to the 3 codes.
Copy this and replace what you have, should fix it.
-AdamHandler
if (LogoutAtCap && WoWCurrency.GetCurrencyByType(WoWCurrencyType.HonorPoints).Amount > 3750 && WoWCurrency.GetCurrencyByType(WoWCurrencyType.JusticePoints).Amount > 3750)
{
// Slog("HonorPoints and Justice Points are Capped! Logging out!");
// InactivityDetector.ForceLogout(true);
// return;
}
if (LogOutHPCap && WoWCurrency.GetCurrencyByType(WoWCurrencyType.HonorPoints).Amount > 3750)
{
// Slog("Honor Points Are Capped. Logging Out!");
// InactivityDetector.ForceLogout(true);
// return;
}
if (LogOutJPCap && WoWCurrency.GetCurrencyByType(WoWCurrencyType.JusticePoints).Amount > 3750)
{
// Slog("Justice Points are Capped! Logging out!");
// InactivityDetector.ForceLogout(true);
// return;
Adding the // will get rid of the errors. But even better, is to replace the
Code:InactivityDetector.ForceLogout(true);
with
Code:Lua.DoString("ForceQuit()");
I actually figured it out on my own and fixed it.
It seems that you need to add ( // ) to the 3 codes.
Copy this and replace what you have, should fix it.
-AdamHandler
if (LogoutAtCap && WoWCurrency.GetCurrencyByType(WoWCurrencyType.HonorPoints).Amount > 3750 && WoWCurrency.GetCurrencyByType(WoWCurrencyType.JusticePoints).Amount > 3750)
{
// Slog("HonorPoints and Justice Points are Capped! Logging out!");
// InactivityDetector.ForceLogout(true);
// return;
}
if (LogOutHPCap && WoWCurrency.GetCurrencyByType(WoWCurrencyType.HonorPoints).Amount > 3750)
{
// Slog("Honor Points Are Capped. Logging Out!");
// InactivityDetector.ForceLogout(true);
// return;
}
if (LogOutJPCap && WoWCurrency.GetCurrencyByType(WoWCurrencyType.JusticePoints).Amount > 3750)
{
// Slog("Justice Points are Capped! Logging out!");
// InactivityDetector.ForceLogout(true);
// return;