[lua] function FixTypos

Viewer

copydownloadembedprintName: function FixTypos
  1. local function FixTypos(fullname)  -- fix typos in the source and destination names
  2.         if string.find( fullname, "Nifflelem") then --typo fixes!
  3.                 fullname = "Dun Niffelem, Storm Peaks"
  4.         elseif string.find( fullname, "Kor'koron Vanguard") then
  5.                 fullname = "Kor'kron Vanguard, Dragonblight"
  6.         elseif string.find( fullname, "Thondoril River") then
  7.                 fullname = "Thondroril River, Western Plaguelands"
  8.         end
  9.         return fullname
  10. end

Editor

You can edit this paste and save as new:


File Description
  • function FixTypos
  • Paste Code
  • 02 Sep-2022
  • 431 Bytes
You can Share it: