First off: i have never done scripts before.

I edited a "distance/malee weapon switching script" and came up with this bootlegged shit script, but i think it works.

what i wanted was; if character has spectral bolts, he should use these. If not, he should use prismatic bolts.

if someone can creat a proper script for this i would be thankful. i couldnt find any on the forum, hence, my achievement.