Does anyone know the correct UO Razor script syntax to count the # of spellbooks in your backpack. You'd think this was easy, but none of the examples provided actually work. I've tried all kinds of modifications on the examples people have provided on various sites, but none of them actually function as the documentation states.\
-- This was one example, but of course it doesn't work. The Count is nothing. I've tried many variations of this to no avail.
say 'Count: ' + counttype 'Spellbook' backpack
if counttype 'spellbook' backpack > 1
say 'Hello'
end if
-- This was one example, but of course it doesn't work. The Count is nothing. I've tried many variations of this to no avail.
say 'Count: ' + counttype 'Spellbook' backpack
if counttype 'spellbook' backpack > 1
say 'Hello'
end if