not-so-wip now.

This commit is contained in:
Ghommie
2020-01-31 19:20:59 +01:00
parent 188f726ffd
commit 7f14fa3c71
30 changed files with 74 additions and 76 deletions
+2 -2
View File
@@ -69,8 +69,8 @@ GLOBAL_LIST_EMPTY(menulist)
if (!verbpath || !(verbpath in typesof("[type]/verb")))
return
if (copytext(verbpath.name,1,2) == "@")
winset(C, null, list2params(list("command" = copytext(verbpath.name,2))))
if (verbpath.name[1] == "@")
winset(C, null, list2params(list("command" = copytext(verbpath.name, length(verbpath.name[1]) + 1))))
else
winset(C, null, list2params(list("command" = replacetext(verbpath.name, " ", "-"))))