Search found 88 matches

by Knute
Mon Aug 11, 2014 9:12 pm
Forum: Help Forum
Topic: [ SOLVED ] Quick Geyser and GMCP question
Replies: 26
Views: 3037

Re: Quick Geyser and GMCP question

fetaera may have a point. The other way that you could do it is to call the function when certain things happen in the mud, such as picking up gold, or if there is a message that comes up when you have unread messages, that sort of thing. Since your name probably isn't going to change soon, and you ...
by Knute
Mon Aug 11, 2014 2:10 pm
Forum: Help Forum
Topic: [ SOLVED ] Quick Geyser and GMCP question
Replies: 26
Views: 3037

Re: Quick Geyser and GMCP question

You need to use braces to single them out:

Code: Select all

    nameinfolabel:echo([[<span style="color: yellow"><span style="font-size: 16pt">]] .. myname .. [["<br>Level: "]] .. mylevel .. [["<br>Gold: "]] .. mygold .. [["<br>Messages: "]] .. mymessages .. [[</span></span>]])
by Knute
Sun Aug 10, 2014 3:11 am
Forum: Help Forum
Topic: [ SOLVED ] Quick Geyser and GMCP question
Replies: 26
Views: 3037

Re: Quick Geyser and GMCP question

Ok, so let's step back here. This last that you posted sets up your lablel, it's position, etc.... Your echo in that code will update it with the information in those variables at that time. You function is what keeps the info current. Ok, now your trigger for your prompt.... Does it resemble your p...
by Knute
Sun Aug 10, 2014 3:01 am
Forum: Help Forum
Topic: Lua, Mudlet and Arch Linux
Replies: 6
Views: 1015

Re: Lua, Mudlet and Arch Linux

I had that problem myself. What you need to do is to install lrexlib-pcre5.1, rather than lrexlib-pcre; which is for 5.2, and mudlet doesn't use 5.2.
by Knute
Sun Aug 10, 2014 2:55 am
Forum: Help Forum
Topic: [ SOLVED ] Quick Geyser and GMCP question
Replies: 26
Views: 3037

Re: Quick Geyser and GMCP question

Well, do you have gauges that you update? You could toss the function in there. The other option has already been mentioned, and that is to update it with the prompt. Also, since you are checking gold, you could call the function every time you pick up gold, or whatever other status messages show up...
by Knute
Sun Aug 10, 2014 2:48 am
Forum: Help Forum
Topic: [ SOLVED ] Quick Geyser and GMCP question
Replies: 26
Views: 3037

Re: Quick Geyser and GMCP question

Changing the size of the text using Geyser is easy. whatever:echo(<text you want to echo>, <text color>, <text formatting>) The <text you want to echo> can either be a variable or "text". <text color> can either be nil (which means it won't change the color) or a "color" from the showColors() functi...
by Knute
Thu Aug 07, 2014 2:40 am
Forum: Scripts & Packages
Topic: YATCO
Replies: 131
Views: 61283

Re: YATCO 2.3

It would go in your append line.
by Knute
Thu Aug 07, 2014 1:35 am
Forum: Scripts & Packages
Topic: YATCO
Replies: 131
Views: 61283

Re: YATCO 2.3

add "\n" to the end of what is sent.
by Knute
Tue Aug 05, 2014 10:22 pm
Forum: Scripts & Packages
Topic: YATCO
Replies: 131
Views: 61283

Re: YATCO 2.3

There is a handy function that will help with this: string.findPattern<string>, <pattern). So for this one you could capture the line or however (matches[1] works as well, and then search for a common pattern, such as arrives. Or, do the flip side and use a not pattern: if not string.findPattern(lin...
by Knute
Fri Jul 04, 2014 2:29 am
Forum: Scripts & Packages
Topic: YATCO
Replies: 131
Views: 61283

Re: YATCO 2.3

Cant you set up a timer that would turn it off for 3 seconds when you issued the comand HELP?