Translations:Manual:Introduction/128/sv-SE

From Mudlet
Jump to navigation Jump to search

In your code, the variable matches[2] will contain the amount of gold you picked up - in this case, 16. Now you say out loud how much gold you did loot. Notice also that (\d+) will only recognize numbers but not letters or a space character.