Search found 4 matches

by Havastus
Thu Mar 03, 2016 4:17 pm
Forum: Help Forum
Topic: GMCP Events Not Firing
Replies: 5
Views: 4600

Re: GMCP Events Not Firing

I'll check it out tonight, thanks for replying. My question is, why do I have to surround the display in a function? The Mudlet GMCP documentation makes it seem as if the script will be executed as-is once the given event is raised. I've been getting around this using the registerAnonymousEventHandl...
by Havastus
Wed Feb 24, 2016 11:19 pm
Forum: Scripts & Packages
Topic: Need help with code
Replies: 2
Views: 5623

Re: Need help with code

You basically just answered your own question. The trigger line would have to be a 'perl regex' type trigger, as you want to extract data from it (in this case, what your HP percentage is). It would look something like this: ^HP\: (\d+)\%$ For the script part of your trigger, it would go something l...
by Havastus
Mon Feb 22, 2016 12:45 pm
Forum: Help Forum
Topic: GMCP Events Not Firing
Replies: 5
Views: 4600

Re: GMCP Events Not Firing

Yes, I made sure to check that before posting it here.
by Havastus
Fri Feb 05, 2016 6:35 am
Forum: Help Forum
Topic: GMCP Events Not Firing
Replies: 5
Views: 4600

GMCP Events Not Firing

I'm trying to test how to handle the GMCP events, yet having a bit of difficulty. From all of the tutorials that I've seen online, I'm doing everything correctly, yet the script isn't firing! Below is the script that I've set up: i.imgur.com/SdGKVLm.png : Slysven {Editor} I've included image directl...