I could never get a firm grasp on scripting and coding, so I'm just throwing something I came up with based on what I've seen on the wiki.
trying to make a book only teach a spell if the player's conjuration skill is one hundred!!! ......... This is a regular book and not a spellbook.
Int playerconjuration = Game.GetPlayer().GetAV("Conjuration")
Event OnRead()
If playerconjuration == 100
Game.GetPlayer().Addspell(MysixaySpell)
ElseIf
Debug.Notification("You cannot comprehend the knowledge in this tome.")
EndIf
EndEvent
SPELL Property MysixaySpell Auto
compiling this gives me these errors. Like always I have no idea what any of this means because I do not have Coding Dictionary? 3.0 implanted in my cerebral cortex.
no viable alternative at input 'Game' <--- [censored] cyborg speak
(3,28): required (...)+ loop did not match anything at input '.' <----wtf? why can't programmers say "This doesn't work because of this and that. Do it this way instead."
(3,4): Unknown user flag Game <--- this makes a little more sense, but still moderate cyborg speak.
(8,7): no viable alternative at input '\\r\\n' <---wat?
Is there a sixy way to do this?