Search found 159 matches

by Delrayne
Mon Apr 22, 2013 6:38 pm
Forum: General Forum
Topic: New Crash/Not Responsive
Replies: 8
Views: 3756

Re: New Crash/Not Responsive

If by backtrace you mean this: I 'QUIT' imperian, then browsed the internet for awhile(an hour or so). When I decided to close mudlet down, I clicked the 'SAVE PROFILE' button and that's when mudlet went non-responsive, the save profile button stayed depressed after the click, and I just left mudlet...
by Delrayne
Mon Apr 22, 2013 7:07 am
Forum: Help Forum
Topic: Making a automated healing trigger.
Replies: 10
Views: 4699

Re: Making a automated healing trigger.

Assuming the spacing between the name you are wanting to capture and what I am guessing is a prompt of sorts doesn't change, you can just put the spaces in the trigger. Try copy pasting this trigger with one of the long names and only change 'A big bird' to '(.+)' while leaving the rest of the spaci...
by Delrayne
Mon Apr 22, 2013 4:49 am
Forum: General Forum
Topic: New Crash/Not Responsive
Replies: 8
Views: 3756

New Crash/Not Responsive

So, for once I have been on a roll about clicking 'save profile' every now and again to ensure I don't lose any data...But even this has back fired on me. After about six hours of coding for Imperian's Tounrament of Ages Friday, I clicked the 'save profile' button and mudlet locks up, forces itself ...
by Delrayne
Mon Apr 22, 2013 4:27 am
Forum: Help Forum
Topic: Making a automated healing trigger.
Replies: 10
Views: 4699

Re: Making a automated healing trigger.

In the trigger make sure you use perl regex and capture the name with '(\w+)' if it's one word...if it's multiple words use '(.+)' Minus the quotes on each... Secondly in your target alias, assuming you've made one just do this: targetVariable = string.title(matches[2]) Thirdly, in your trigger's co...
by Delrayne
Sun Apr 14, 2013 2:57 pm
Forum: Help Forum
Topic: Semicolon Problem
Replies: 11
Views: 5132

Re: Semicolon Problem

you change what the command separator is in mudlet settings. Perhaps using a colon (:) would be better for you. It's the exact same key with a shift added to it.
by Delrayne
Sat Apr 13, 2013 2:54 pm
Forum: Help Forum
Topic: Finding value in tables problem
Replies: 2
Views: 1212

Re: Finding value in tables problem

So...you are going to have to explain a bit more on what you want to be doing exactly. Just by the looks of it though, you might want to try changing your table. janeTable = { ["meat"] = { ["sadis"] = "banana", ["moddy"] = "xxx", }, ["burger&quo...
by Delrayne
Wed Mar 27, 2013 5:43 am
Forum: Help Forum
Topic: Table Remove
Replies: 9
Views: 2891

Re: Table Remove

You have to loop through the table.
Code: [show] | [select all] lua
for k, v in ipairs (fociinarea) do
   if (v == matches[2]) then
      table.remove(fociinarea, k)
   end
end
by Delrayne
Sat Mar 16, 2013 5:16 pm
Forum: Help Forum
Topic: Help a noob with tables
Replies: 14
Views: 4200

Re: Help a noob with tables

Step 1: click the scripts button Step 2: click the add new button Step 3: in the script put 'tableName = tableName or {}' without the quotes Step 4: run you table.save/load() aliases to see if they work Step 5: if they didn't work, open up the script editor again and click on the errors button. Copy...
by Delrayne
Sat Mar 16, 2013 7:11 am
Forum: Help Forum
Topic: Help a noob with tables
Replies: 14
Views: 4200

Re: Help a noob with tables

I may have been slightly wrong then...you might need to initialize the table before you can use table.save() and table.load(). Try putting 'tableName = tableName or {}' in a script without the quotes and then using table.save() and table.load(). And just so we are clear, this is how you should use t...
by Delrayne
Sat Mar 16, 2013 4:54 am
Forum: Help Forum
Topic: Help a noob with tables
Replies: 14
Views: 4200

Re: Help a noob with tables

If you don't explicitly make the table in a script it will never show up after you close mudlet. You could set the table to nothing i.e. 'tableName = tableName or {}' and just use your aliases on start up to populate the table how you wish. Although you could also take a look at table.save() and tab...