I have done some searching and couldn't find an answer so sorry if this has already been answered.
Hello I have made a basic spell scribe to scribe spells when people hail him. up to their level using the ulevel variable, but I was wondering how to make it so if someone hails him and they don't have any spells for that level the npc will say "Sorry there are no spells available for your level at this moment" also if the person has all their spells for their level he would say "Why are you wasting my time? you already have all the spells for your current level"
any help would be appreciated thanks!