script.jsconst choice = (arr) => arr[Math.floor(Math.random()*arr.length)]
scrapbox.PageMenu.addMenu({
title: 'おみくじ',
icon: 'fas fa-torii-gate'
})
scrapbox.PageMenu('おみくじ').addItem({
title: () => choice(['大吉', '吉', '中吉', '小吉', '凶', '大凶']),
onClick: () => null
})