← Back to team overview

mudlet-makers team mailing list archive

[Bug 371985] Re: Missing .. in line of documention code example

 

** Changed in: mudlet
   Importance: Undecided => High

-- 
Missing .. in line of documention code example
https://bugs.launchpad.net/bugs/371985
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.

Status in Mudlet the MUD client: Fix Released

Bug description:
Script: echo("I got " .. matches[2] " gold!")

There is not a space and two periods between matches[2] and "

This should be:
Script: echo("I got " .. matches[2] .. " gold!")

I believe this because in the documentation it states and in every other example has two periods before and after the variable with the right allotment of spaces. I do not know if this is 100% necessary or not, but that is what your Mudlet program documentation taught me to do with variables! So if it does still work in this different form, at the very least change it to have the .. for purposes of consistentcy to avoid confusion. Please fix.



References