Reply to Re: NPC Code problems
If you don't have an account, just leave the password field blank.
if (&result == 4)
{
if (&gold <= 999999) goto nogold;
if (&level < 20) goto lowlevel2;
&gold -= 1000000;
add_magic("item-fb",437, 2);
goto restart;
}
if (&result == 5)
{
goto restart;
}
Also if that doesnt work try using goto spells; instead of goto restart; i dont know if that will work because there is a spells: defnied but not a restart:
{
if (&gold <= 999999) goto nogold;
if (&level < 20) goto lowlevel2;
&gold -= 1000000;
add_magic("item-fb",437, 2);
goto restart;
}
if (&result == 5)
{
goto restart;
}
Also if that doesnt work try using goto spells; instead of goto restart; i dont know if that will work because there is a spells: defnied but not a restart:






