Reply to this subject
Start a new subject
 
Refresh page
| Posted by |
Scarn
(44 posts) bio
|
| Date |
Tue 26 Jul 2005 09:10 PM (UTC) [ quote
] |
| Message |
Hi again:)
I want a sub trigger...
so that when i see '* is in perfect shape'
it sustitute it and instead see...
Perfect - %2 - Perfect...
I can send it AFTER the first line easily, but i'd like the script to replace it...if possible.
Thanks,
Scarn. | top |
|
| Posted by |
Larkin
(278 posts) bio
|
| Date |
Reply #1 on Wed 27 Jul 2005 06:55 PM (UTC) [ quote
] |
| Message |
| Just check the 'omit from output' to gag the line and then use the script functions to echo the output in the format and colors you desire. Should work just fine. | top |
|
| Posted by |
Scarn
(44 posts) bio
|
| Date |
Reply #2 on Wed 27 Jul 2005 07:45 PM (UTC) [ quote
] |
| Message |
| nope, that omits everything...even the script. | top |
|
| Posted by |
Nick Gammon
Australia (18,797 posts) bio
Forum Administrator |
| Date |
Reply #3 on Mon 01 Aug 2005 07:36 AM (UTC) [ quote
] |
| Message |
| I think you will find that if you do that in "send to script" it will indeed delete the notes as well. However if you call a script (put a trigger sub name into the function box) then it will correctly display the line. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | top |
|
| Posted by |
Scarn
(44 posts) bio
|
| Date |
Reply #4 on Tue 09 Aug 2005 06:50 PM (UTC) [ quote
] |
| Message |
Hmmm, Im still confused.
I have a script trigger sending so when I see this...
Orc is in perfect shape.
i instead see this:
Orc is in perfect shape.
Perfect - Orc - Perfect
I can block out 'Orc is in perfect shange' by changing its colour, but i would like to actually REPLACE it. | top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
2,538 views.
Reply to this subject
Start a new subject
 
Refresh page
top
Comments to:
Gammon Software support
Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )