I understand. I guess being too ambitious is a common noob misstake.
So I shall try to hamper it a bit. Thanks a lot!
I think I shall take away the secondaryeffects, making it only:
#newweapon 849
#name "The most awesome weapon ever(?)"
#dmg 27
#nratt 4
#att 0
#def 1
#len 9
#twohand
#sound 8
#magic
#bonus
#secondaryeffectalways 409
#end
About the Ap, it was me missunderstanding the function of Ap. Thanks for explaining that too!