Search found 14 matches

by Metho
Thu Jun 18, 2015 2:12 pm
Forum: Help Forum
Topic: Mudlet Mapper - wait for pathing complete
Replies: 3
Views: 3011

Re: Mudlet Mapper - wait for pathing complete

Figured this out. Thanks again for your help.
by Metho
Wed Jun 17, 2015 6:39 pm
Forum: Help Forum
Topic: Mudlet Mapper - wait for pathing complete
Replies: 3
Views: 3011

Re: Mudlet Mapper - wait for pathing complete

I'm not really familiar with events. So I have to create a script, let's say doThisPath and attach the mmapper arrived event to it. Then in the script I would check the table, if not empty execute the next goto, remove from the table, and repeat? Where would I set the table initially? Won't this fir...
by Metho
Wed Jun 17, 2015 1:31 am
Forum: Help Forum
Topic: Mudlet Mapper - wait for pathing complete
Replies: 3
Views: 3011

Mudlet Mapper - wait for pathing complete

Hello, I'm having trouble with what is probably simple. I have an array with three room ids. I want to path to the room, perform an action, then path to the next. My problem is that my for loop doesn't wait for pathing completion. I thought if I used the mapper goto alias that it would complete that...
by Metho
Sat Apr 03, 2010 8:26 pm
Forum: Help Forum
Topic: Targetting help
Replies: 24
Views: 21652

Re: Targetting help

send "(garrote ..^tar$)"

Should be:

send("garrote " .. tar)
by Metho
Thu Dec 24, 2009 4:33 am
Forum: Help Forum
Topic: Triggering from variables?
Replies: 7
Views: 5559

Re: Triggering from variables?

Alright. Why do I want capitalize, though? I guess my issue was I'd want it to match either as Renegade or renegade.
by Metho
Thu Dec 24, 2009 1:55 am
Forum: Help Forum
Topic: Triggering from variables?
Replies: 7
Views: 5559

Re: Triggering from variables?

What would cause this not to work? (Vadi's solution) I did exactly what was in the picture, and it doesn't highlight. Also, is there an ignore case function as well? Or could I perform something like string.lower on both matches[2] and target so that they'll match even if case isn't the same?
by Metho
Wed Sep 23, 2009 9:24 am
Forum: Help Forum
Topic: table size, empty tables and adding elements to a table
Replies: 2
Views: 3603

Re: table size, empty tables and adding elements to a table

Damn. Thank you.

That first script with the IsEmpty()... I was typing in Ruby instead of LUA for a second there. Forgot LUA doesn't have the function.
by Metho
Wed Sep 23, 2009 3:39 am
Forum: Help Forum
Topic: table size, empty tables and adding elements to a table
Replies: 2
Views: 3603

table size, empty tables and adding elements to a table

Alright, me again. I've been looking for a reason why in LUA help, but can't find one, so maybe you guys can tell me. I have this code (Yes, this damn code again!): if myEnemies == nil then myEnemies = {}; end local newenemy = matches[2] for k,v in pairs(myEnemies) do if v == newenemy then echo(&quo...
by Metho
Thu Sep 17, 2009 6:07 pm
Forum: Help Forum
Topic: list functions
Replies: 11
Views: 9970

Re: Confused by simple list

So this was all because I didn't have display() accessible to me. Always simple stupid things! Anyhow, THANK YOU so much for your patience with this.
by Metho
Thu Sep 17, 2009 10:11 am
Forum: Help Forum
Topic: list functions
Replies: 11
Views: 9970

Re: Confused by simple list

I REALLY appreciate the effort, but this still isn't working for me. I imported, tried it out, and still nothing displays. Every time display() is called (Which it is for all three aliases in your demo), debug gives me: LUA: ERROR running script ^remove enemyprint enemies (Alias10) ERROR:Lua error:[...