Search found 43 matches
- Sat Apr 03, 2010 2:09 am
- Forum: Help Forum
- Topic: Quick Selectline Question
- Replies: 4
- Views: 3522
Re: Quick Selectline Question
Thank you!!!
- Fri Apr 02, 2010 11:49 pm
- Forum: Help Forum
- Topic: Quick Selectline Question
- Replies: 4
- Views: 3522
Re: Quick Selectline Question
Is there a reference to the syntax?
- Fri Apr 02, 2010 10:54 pm
- Forum: Help Forum
- Topic: Quick Selectline Question
- Replies: 4
- Views: 3522
Quick Selectline Question
How do you select a line that always appears as a new line directly below a triggered line? For example: Line A Line B I have a trigger set up for Line A. How do I also select Line B when Line A is triggered? I don't want to set a trigger for Line B, because I only want that line selected when Line ...
- Wed Mar 24, 2010 11:14 pm
- Forum: Scripts & Packages
- Topic: ATCP demo scripts
- Replies: 60
- Views: 54444
Re: ATCP demo scripts
Thank you so much!
In case anyone was hanging in suspense, everything works perfectly now that Rakon pointed out that error. Chalk it up to a learning experience, I guess!
In case anyone was hanging in suspense, everything works perfectly now that Rakon pointed out that error. Chalk it up to a learning experience, I guess!
- Wed Mar 24, 2010 12:58 pm
- Forum: Scripts & Packages
- Topic: ATCP demo scripts
- Replies: 60
- Views: 54444
Re: ATCP demo scripts
Wow ..... um, I feel silly now.
- Tue Mar 23, 2010 6:55 pm
- Forum: Scripts & Packages
- Topic: ATCP demo scripts
- Replies: 60
- Views: 54444
Re: ATCP demo scripts
I guess I'm not completely understanding the difference between a function and an event handler function. Anyhow, here's my screenshot:
- Tue Mar 23, 2010 4:09 pm
- Forum: Scripts & Packages
- Topic: ATCP demo scripts
- Replies: 60
- Views: 54444
Re: ATCP demo scripts
Alright, here's the new tracing scheme: status = {} echo("\ntrace #1\n") function CharVitals(event, arg) echo("\ntrace #2\n") local r = rex.new( "NL:(\\d+)/100 H:(\\d+)/(\\d+) M:(\\d+)/(\\d+) E:(\\d+)/(\\d+) P:(\\d+)/(\\d+) N:(\\d+)/(\\d+) W:(\\d+)/(\\d+)" ) echo("...
- Tue Mar 23, 2010 3:40 pm
- Forum: Scripts & Packages
- Topic: ATCP demo scripts
- Replies: 60
- Views: 54444
Re: ATCP demo scripts
Using this tracing scheme: status = {} function CharVitals(event, arg) local r = rex.new( "NL:(\\d+)/100 H:(\\d+)/(\\d+) M:(\\d+)/(\\d+) E:(\\d+)/(\\d+) P:(\\d+)/(\\d+) N:(\\d+)/(\\d+) W:(\\d+)/(\\d+)" ) if r:match(atcp.CharVitals) then status.next_level, status.current_health, status.max_...
- Tue Mar 23, 2010 2:58 pm
- Forum: Scripts & Packages
- Topic: ATCP demo scripts
- Replies: 60
- Views: 54444
Re: ATCP demo scripts
I'm sorry. I'm a super-newb when it comes to this stuff. Could someone point me to a resource on tracing (even if it's just mentioning Google search terms - 'tracing lua' doesn't come up with much that's useful.)? Is 'trace' actual code or just terminology for a method?
- Tue Mar 23, 2010 2:38 pm
- Forum: Scripts & Packages
- Topic: ATCP demo scripts
- Replies: 60
- Views: 54444
Re: ATCP demo scripts
Ok, fixed the tonumber issue. Now the code looks like this: status = {} function CharVitals(event, arg) local r = rex.new( "NL:(\\d+)/100 H:(\\d+)/(\\d+) M:(\\d+)/(\\d+) E:(\\d+)/(\\d+) P:(\\d+)/(\\d+) N:(\\d+)/(\\d+) W:(\\d+)/(\\d+)" ) if r:match(atcp.CharVitals) then status.next_level, s...