Figured it out, just used a 'match everything except End of predetermined text' regex on the delete line trigger
^(?!Predetermined text here).*$
Search found 10 matches
- Thu May 19, 2016 8:04 am
- Forum: Help Forum
- Topic: Ignore all text between lines?
- Replies: 2
- Views: 3445
- Thu May 19, 2016 7:54 am
- Forum: Help Forum
- Topic: Ignore all text between lines?
- Replies: 2
- Views: 3445
Re: Ignore all text between lines?
So I figured out by using a trigger chain that starts with matching "Predetermined text here" and then in the next link deleting the line and repeating, with a 'stop' trigger for the "End of predetermined text" which then uses SetTriggerStayOpen to turn off the other two... one p...
- Thu May 19, 2016 7:44 am
- Forum: Help Forum
- Topic: Ignore all text between lines?
- Replies: 2
- Views: 3445
Ignore all text between lines?
For instance, if there are lines Predetermined text here, which is always the same Text to ignore more text to ignore continue ignoring; goes on for varying lengths End of predetermined text, always the same (small variants but those can be accounted for using perl regex). I want to see "Predet...
- Sat May 07, 2016 8:12 pm
- Forum: Scripts & Packages
- Topic: Making a trigger 'resend previous command'?
- Replies: 2
- Views: 7099
Making a trigger 'resend previous command'?
Is there any way I can access command history in a trigger? For instance, if I get an 'ability failed' message from the game that means I can reattempt the ability I just attempted; however, the game text doesn't include specifics so I have to manually enter in the previous command. I googled but co...
- Mon Sep 21, 2015 6:18 am
- Forum: Help Forum
- Topic: Help with using multiple commands in one trigger/alias/etc
- Replies: 3
- Views: 5769
Re: Help with using multiple commands in one trigger/alias/e
You can set a temporary timer, so like
temptimer( .5, [[send("punch")]] )
will wait half a second and then send punch.
More info @ http://wiki.mudlet.org/w/Manual:Lua_Functions#tempTimer
temptimer( .5, [[send("punch")]] )
will wait half a second and then send punch.
More info @ http://wiki.mudlet.org/w/Manual:Lua_Functions#tempTimer
- Sun Sep 20, 2015 7:18 pm
- Forum: Help Forum
- Topic: Help with using multiple commands in one trigger/alias/etc
- Replies: 3
- Views: 5769
Re: Help with using multiple commands in one trigger/alias/e
Unfamiliar with buttons but if you make it as an alias you can put whatever you like into 'alias name' and 'pattern' - for instance, call it 'brawling' and make the pattern 'brawl' (unless that's already a command in your game, in which case try something that isn't) Then in the larger text box belo...
- Sat Sep 19, 2015 8:48 pm
- Forum: Help Forum
- Topic: How do I 'restart' mudlet with totally wiped profiles?
- Replies: 1
- Views: 2969
How do I 'restart' mudlet with totally wiped profiles?
I tried uninstalling/reinstalling mudlet but it 'remembered' my profiles - how does that work, why does it do that, and how do I stop it from doing that? I want to totally wipe everything. Where is it even keeping this stuff in memory? Please bear with me, I'm a total newb. It feels especially frust...
- Wed Sep 09, 2015 5:04 am
- Forum: Help Forum
- Topic: YATCO tabbed chat & WindowResizeEvent error causing crash?
- Replies: 5
- Views: 4772
Re: YATCO tabbed chat & WindowResizeEvent error causing cras
Sorry, total newb to this, initialization code? I'm a total newb, basically just installed this and running it... where do I put it? In the 'scripts' section, under 'configuration options'...? I'm pretty sure the issue is in resetGUI because it's the only thing I can think of that changes the window...
- Sat Aug 29, 2015 7:48 am
- Forum: Help Forum
- Topic: YATCO tabbed chat & WindowResizeEvent error causing crash?
- Replies: 5
- Views: 4772
YATCO tabbed chat & WindowResizeEvent error causing crash?
Mudlet keeps crashing intermittently, when I check the errors this shows up: [ERROR:] object:<WindowResizeEvent> function:<handleWindowResizeEvent> <attempt to call a nil value> [ERROR:] object:<WindowResizeEvent> function:<handleWindowResizeEvent> <attempt to call a nil value> It looks like this is...
- Sun Aug 23, 2015 8:30 pm
- Forum: Help Forum
- Topic: help with multi-line messages in tabbed chat (YATCO)
- Replies: 2
- Views: 3309
help with multi-line messages in tabbed chat (YATCO)
I started playing a MUD which has an annoying 'feature' - mud-side line breaks at approx 79 chars per line. I know, right, what is this, the dark ages? So the usual tabbed chat is unfortunately only functional for the first line of messages. This is highly annoying. The game channels look like this:...