Hey! so i recently started using trinity and Eluna and started converting some of my scripts to eluna over from arcemu's lua engine and i am releasing my Learn Spells on level up Scripts.
it checks what class you are. than checks for your level. if you have spells for that level it teachs them you to. it doesn't teach quest spells or talents.
Warrior - http://pastebin.com/XqJgqLM2
Pally - http://pastebin.com/ifJMkW1b
Hunter - http://pastebin.com/vrVbdzHB
Druid - http://pastebin.com/MWyn2J4e
Warlock - http://pastebin.com/n8qmvxT4
Mage - http://pastebin.com/cKttMYyc
Priest - http://pastebin.com/izMjHHjb
Shaman - http://pastebin.com/9XuvWmTi
Rogue - http://pastebin.com/w6VM6uXg
Death Knight - http://pastebin.com/bDEwmw8C
tested and working on the newest compile of trinity with Eluna