134
次編輯
DrLee lihr(留言 | 貢獻) 無編輯摘要 |
DrLee lihr(留言 | 貢獻) 無編輯摘要 |
||
行 33: | 行 33: | ||
local songName = args[1] -- 既可以是 id,也可以是曲名,甚至是 Beyond 曲名 | local songName = args[1] -- 既可以是 id,也可以是曲名,甚至是 Beyond 曲名 | ||
local isBeyond = args[2] | local isBeyond = args[2] | ||
if | if isBeyond == nil then isBeyond = false else isBeyond = true end | ||
local song = nil | local song = nil | ||
local hasBeyondSpecialName = false | local hasBeyondSpecialName = false | ||
行 81: | 行 81: | ||
if linkTo == display then | if not(linkTo == display) then | ||
return "[[" .. linkTo .. "|" .. display .. "]]" | return "[[" .. linkTo .. "|" .. display .. "]]" | ||
else return "[[" .. linkTo .. "]]" end | else return "[[" .. linkTo .. "]]" end |
次編輯