Search found 6 matches

by azuriolinist
Sat Nov 14, 2015 3:20 am
Forum: Mudlet Development
Topic: Mudlet 3.0.0-delta (preview #4)
Replies: 146
Views: 271548

Re: Mudlet 3.0.0-delta (preview #4)

When using deleteLine(), the previous line is repeated in the log file. I'm not sure if this is a version-specific problem, just pointing it out. Makes for quite messy logs. Other than that, it looks pretty good!
by azuriolinist
Sat Nov 14, 2015 3:13 am
Forum: Help Forum
Topic: Receiving data event
Replies: 6
Views: 4937

Re: Receiving data event

@Belgorath Humm, *scratches head in thought as he tries to think back* ah, yes, here it was - I'd suggested to the OP that a trigger that responded to ANY incoming text (perhaps with a regexp of the form ^(.+)$ {I think}) which fires on anything that isn't a blank line and then use the script with ...
by azuriolinist
Wed Nov 11, 2015 3:05 am
Forum: Help Forum
Topic: Receiving data event
Replies: 6
Views: 4937

Re: Receiving data event

Belgarath wrote:Which data? Text? GMCP?
Text data.
by azuriolinist
Tue Nov 10, 2015 1:58 pm
Forum: Help Forum
Topic: Receiving data event
Replies: 6
Views: 4937

Receiving data event

I was wondering if Mudlet triggered an event when data comes in from the MUD, and if so what the name of that event is? I'm trying to script up some notification system but I can't find the sort of event I'm looking for on the wiki.
by azuriolinist
Thu Sep 03, 2015 3:48 am
Forum: Help Forum
Topic: Notifications when not in focus
Replies: 2
Views: 2959

Re: Notifications when not in focus

Here is what I use; It requires notify-send on linux function notify(notify_msg) if hasFocus() == false then os.execute(string.format("%s", [[notify-send --hint=int:transient:1 --icon="mudlet/mudlet.png" "Mudlet" "]] .. notify_msg .. [["]])) end -- if end -- ...
by azuriolinist
Tue Sep 01, 2015 4:22 am
Forum: Help Forum
Topic: Notifications when not in focus
Replies: 2
Views: 2959

Notifications when not in focus

Is there some sort of event handler that raises an event when the game outputs something? I'd like to be able to have some sort of sound notification whenever something is happening in the MUD and the client is not in focus, but I can't figure out how to run a script when it does. I appreciate any h...