Anyone have any idea on how to get this to work?
http://luaforge.net/projects/luatwitter/
I would like to ultimately Tweet pk deaths, but have no clue how to get this to work (and no time to figure it out on my own right this second with finals coming up next week).
Search found 190 matches
- Fri May 06, 2011 4:09 am
- Forum: Scripts & Packages
- Topic: Tweeting from Mudlet?
- Replies: 2
- Views: 3222
- Thu May 05, 2011 2:30 pm
- Forum: Howtos, FAQs and Tips & Tricks
- Topic: Howto: Compile Mudlet on Ubuntu
- Replies: 16
- Views: 16022
Re: Howto: Compile Mudlet on Ubuntu
This would be a great addition to the wiki and then use the forum thread for bug tracking/trouble shooting.
- Thu May 05, 2011 3:25 am
- Forum: Scripts & Packages
- Topic: Removing your prompt without loosing it
- Replies: 0
- Views: 2572
Removing your prompt without loosing it
This takes your prompt, formats it into percent, deletes it from the main feed, and echo's it into a miniconsole. It also contains quest time tracking code for Dark and Shattered Lands that will work with many DIKU MUD's most likely, and lastly it contains a working tick timer for the same mud which...
- Wed May 04, 2011 1:22 pm
- Forum: Help Forum
- Topic: Mudlet Manual, Lua & Regex Tutorials and References
- Replies: 5
- Views: 67954
Re: Mudlet Manual, Lua & Regex Tutorials and References
While trying to help someone else I found this other online regex tester: www.regextester.com/. This one will tell you what is in the matches table from your pattern.
- Wed May 04, 2011 2:03 am
- Forum: Help Forum
- Topic: Need help pattern matching
- Replies: 14
- Views: 9539
Re: Need help pattern matching
Not sure why it's not highlighting everything honestly, I tested the regex again at this site http://www.regextester.com/ and it worked fine. local i = 2 --this could be done with a generic for loop, but I'm tired --I'm guessing that you want it to send a command when you click one of those words an...
- Tue May 03, 2011 4:35 am
- Forum: Help Forum
- Topic: alias parsing question
- Replies: 3
- Views: 2857
Re: alias parsing question
Is there a way to put a function into the API that we could add into our scripts to stop it then?
- Mon May 02, 2011 8:10 pm
- Forum: Help Forum
- Topic: alias parsing question
- Replies: 3
- Views: 2857
alias parsing question
If an alias fires it seems to keep being parsed further down this list. This is handy I'd imagine for many cases, but for the run lua from the command line one there's no point. Is there a way to stop further parsing via code?
- Mon May 02, 2011 4:15 pm
- Forum: Help Forum
- Topic: Need help pattern matching
- Replies: 14
- Views: 9539
Re: Need help pattern matching
Afraid mxp is over my head. Set up a trigger with an exact copy of your pre-text, and have it turn on the child trigger Make the combo box read 'begin of line substring' Change the fire length to 100 or something Make a new child trigger with the above pattern Drag that trigger onto the pre-text one...
- Mon May 02, 2011 3:25 pm
- Forum: Help Forum
- Topic: Need help pattern matching
- Replies: 14
- Views: 9539
Re: Need help pattern matching
Also, you will need to pay close attention to the end of the line. When I cut and pasted from your example, which I assume you got from your MUD, there was extra white space at the end. Simply adding a \s+ inbetween the last ? and the $ will do it if necessary, or a \s* will account for none-tons bu...
- Mon May 02, 2011 3:19 pm
- Forum: Help Forum
- Topic: Need help pattern matching
- Replies: 14
- Views: 9539
Re: Need help pattern matching
You needed to be more specific then since your example contained three words on every line. ^\s+([\w-]+)(?:\s+([\w-]+))?(?:\s+([\w-]+))?$ With that you'll have to test the existence of matches[3] and matches[4] to see if there's data to be collected. Check out this link for other help and regex test...