Search found 17 matches

by mattness
Tue May 29, 2012 2:44 am
Forum: Mudlet Mapper
Topic: Basic Mapping
Replies: 5
Views: 8806

Re: Basic Mapping

How do you get the mapper started? I have it up on my screen with the test room but it does't seem to be making anyrooms. Also, how do you create areas? I see the drop down list but there is nowhere to insert names...
by mattness
Fri May 25, 2012 7:05 am
Forum: Help Forum
Topic: binding a key
Replies: 2
Views: 2615

binding a key

Can you bind a key to turn a trigger or multiple triggers on and off?

I assume the same thing could be applied to a trigger.
by mattness
Tue May 22, 2012 4:15 am
Forum: Whatever
Topic: What MUD(s) do you play?
Replies: 27
Views: 74411

Re: What MUD(s) do you play?

I play Tharsis Gate. That's all I've ever played and probably all I will play... Unless I quit playing altogether. The seasoned players on the mud all said it was a unique mud... actually I played materia magica for a few days. I remember being stuck on a boat for like 2 hours.
by mattness
Mon May 21, 2012 9:43 pm
Forum: Help Forum
Topic: Debug window
Replies: 3
Views: 3283

Re: Debug window

test
by mattness
Mon May 21, 2012 9:34 pm
Forum: Help Forum
Topic: Debug window
Replies: 3
Views: 3283

Debug window

new line arrived:The coyote died. Trigger name=get all from corpse(^The (.*) died\.$) matched. capture group #1 = <The coyote died.> capture group #2 = <coyote> selectSection(4,6): line under current user cursor: The coyote died. P_begin(4/9701), P_end(10/9701) selectedText = coyote LUA OK script g...
by mattness
Mon May 21, 2012 9:19 pm
Forum: Help Forum
Topic: trigger with an unknown
Replies: 10
Views: 6994

Re: trigger with an unknown

Ok, so between here and the manual this is what I came up with:

Pattern: ^(\w+) (\w+) (is|are) here\.$
Code: [show] | [select all] lua
Targets = {
 ["bears"] = "bear",
 }
 
for k, v in pairs (Targets) do
   if k == matches[3] then
     target = v
     send("kill " .. target)
   end
 end
 
by mattness
Mon May 21, 2012 5:05 am
Forum: Help Forum
Topic: trigger with an unknown
Replies: 10
Views: 6994

Re: trigger with an unknown

What is k and v?
by mattness
Mon May 21, 2012 3:53 am
Forum: Help Forum
Topic: trigger with an unknown
Replies: 10
Views: 6994

Re: trigger with an unknown

Both ideas are far above my skill level to code, but I like the table idea because when I travel across town or anything else I come in contact with my trigger activates. Not a good idea to kill the banker(or get killed by the banker more likely.) What do I do with the variable Targets{}? And what i...
by mattness
Mon May 21, 2012 3:31 am
Forum: Mudlet Development
Topic: Glossary?
Replies: 1
Views: 2577

Glossary?

May I suggest a glossary? I've searched around and havn't found one and I have questions like 'what is gmcp? and I still don't know what a regular expression type is! I could have several things to the list that need to be defined...
by mattness
Sun May 20, 2012 3:02 am
Forum: Help Forum
Topic: trigger with an unknown
Replies: 10
Views: 6994

Re: trigger with an unknown

I think what I need to do here is store the two unknowns as variables and if they match a pattern then send text.