Search found 7 matches

by MUDgate
Sat Dec 27, 2014 8:01 pm
Forum: Help Forum
Topic: Some help with tempTrigger()
Replies: 6
Views: 5228

Re: Some help with tempTrigger()

I didn't know disableTrigger() worked for trigger groups. That's perfect. Thank you.
by MUDgate
Fri Dec 26, 2014 12:47 am
Forum: Help Forum
Topic: Some help with tempTrigger()
Replies: 6
Views: 5228

Re: Some help with tempTrigger()

Okay so this is what I've turned it into: if step1 then killTrigger(step1) end step1 = tempTrigger("The corridors in the lower caves are unrefined and narrow.", [[send("north") resetFormat()]]) I got it to stop adding "north' commands, it just does the one. But i couldn't ge...
by MUDgate
Fri Dec 26, 2014 12:23 am
Forum: Help Forum
Topic: Some help with tempTrigger()
Replies: 6
Views: 5228

Re: Some help with tempTrigger()

I was able to use resetProfile() to stop the "north" command from being spammed every time i walked through that corridor but now the trigger wont work, at all, even after i deleted the resetProfile() line from the trigger. I don't know what manual your reading but mudlet.org's ( mudlet.or...
by MUDgate
Thu Dec 25, 2014 7:58 pm
Forum: Help Forum
Topic: Some help with tempTrigger()
Replies: 6
Views: 5228

Some help with tempTrigger()

Since there is no lua for dummies or any form of noob instructions or translations of all the coding terminology out there i've been really struggling learning to get all scripty with my mudlet. I decided to try and invent a trigger thing that would walk me around a cave full of orcs and randomly st...
by MUDgate
Thu Oct 23, 2014 6:54 am
Forum: Scripts & Packages
Topic: n00b script/trigger question.
Replies: 5
Views: 8087

Re: n00b script/trigger question.

Shaved it down to the basics but i finally got it working perfectly. cur_exit = "south" old_exit = "north" if not string.find(matches[2],cur_exit) then cur_exit, old_exit = old_exit, cur_exit end send(cur_exit) Thanks for that bit of code, it helps when you have something to expe...
by MUDgate
Wed Oct 22, 2014 7:08 pm
Forum: Scripts & Packages
Topic: n00b script/trigger question.
Replies: 5
Views: 8087

Re: n00b script/trigger question.

Yes, you can. First, obviously, you need a trigger to capture the available exits when you enter a room. The code to go with that trigger might look like this: cur_exit = cur_exit or "south" old_exit = old_exit or "north" if not string.find(matches[2],cur_exit) then cur_exit, ol...
by MUDgate
Wed Oct 22, 2014 12:39 am
Forum: Scripts & Packages
Topic: n00b script/trigger question.
Replies: 5
Views: 8087

n00b script/trigger question.

So I'm going to just say this right off. I have, almost, no clue as to what I need to be doing to make this happen. Anyhow here's my boggle: A character I have paces back and forth between two dead-end rooms thanks to some triggers, he gets exhausted and sleeps, also thanks to triggers, as soon as h...