Translations:Manual:Introduction/127/zh-CN

From Mudlet
Jump to navigation Jump to search
  1. Perl Regex:
    ^You pick up (\d+) gold\.$
    
  2. Script:
    echo("I got " .. tonumber(matches[2]) .. " gold!")