| www.ClassicTW.com https://mail.black-squirrel.com/ |
|
| twx message https://mail.black-squirrel.com/viewtopic.php?f=15&t=13052 |
Page 1 of 1 |
| Author: | PHX [ Sat Aug 28, 2004 12:13 pm ] |
| Post subject: | |
Since the TWX forums seem to have alot of questions and no answers lately... I would like to suppress proxy messages like Script terminated: scripts\blah blah blah That stuff is very annoying is there a way? |
|
| Author: | ElderProphet [ Sun Aug 29, 2004 3:00 am ] |
| Post subject: | |
Not that I know of. Why would you want to? +EP+ |
|
| Author: | Slim Shady [ Sun Aug 29, 2004 6:09 pm ] |
| Post subject: | |
cause he doesnt want to know when his script is terminated. he wants to risk doing something else and having the script kick back in and CBY him, hehe. i didn't see a good reason to do it, but if EP says "why would you want to" that means, dont do it, heh. Slim |
|
| Author: | Traitor [ Sun Aug 29, 2004 7:04 pm ] |
| Post subject: | |
quote:Originally posted by Slim Shady cause he doesnt want to know when his script is terminated. he wants to risk doing something else and having the script kick back in and CBY him, hehe. i didn't see a good reason to do it, but if EP says "why would you want to" that means, dont do it, heh. Slim On VERY rare occasions, script termination can obscure incoming text. Particularly if your script crashes. That is the only reason I could think of for wanting to to suppress those messages. And I don't know of any way to suppress it either. |
|
| Author: | ElderProphet [ Sun Aug 29, 2004 11:54 pm ] |
| Post subject: | |
You mean people write scripts that crash and terminate? Heh, just kidding. You could always run a deaf proxy and clientMessage all incoming text except TWX Proxy messages... but its a bit drastic. And I've never used TWX in deaf mode, so I'm not even sure that making it deaf would supress those messages. But if it doesn't, you could run the deaf proxy attached to the second proxy where the scripts run, but that is definately drastic. So while it can be done... you'll need a good reason to be bothered. +EP+ |
|
| Author: | PHX [ Tue Aug 31, 2004 8:05 pm ] |
| Post subject: | |
quote:Originally posted by Slim Shady cause he doesnt want to know when his script is terminated. he wants to risk doing something else and having the script kick back in and CBY him, hehe. i didn't see a good reason to do it, but if EP says "why would you want to" that means, dont do it, heh. Slim I am already in the habbit of hitting my kill script button alot anyway so chances of a script doing that to me are almost none. But really, if a script hangs your not gonna see any messages anyway are you! Its just hiding there and the only way to know is to actually check or you see that it has stopped running without a message. My purpose is that I have scripts running to pull up small information displays, and as Traitor says some of that information gets over written when the script terminates, plus it tends to scroll aother couple lines off the screen of information that I want to see. Yeah EP that idea is a little more envolved than I want to get. Thanks though. |
|
| Author: | Traitor [ Tue Aug 31, 2004 10:11 pm ] |
| Post subject: | |
quote:Originally posted by PHX quote:Originally posted by Slim Shady cause he doesnt want to know when his script is terminated. he wants to risk doing something else and having the script kick back in and CBY him, hehe. i didn't see a good reason to do it, but if EP says "why would you want to" that means, dont do it, heh. Slim I am already in the habbit of hitting my kill script button alot anyway so chances of a script doing that to me are almost none. But really, if a script hangs your not gonna see any messages anyway are you! Its just hiding there and the only way to know is to actually check or you see that it has stopped running without a message. My purpose is that I have scripts running to pull up small information displays, and as Traitor says some of that information gets over written when the script terminates, plus it tends to scroll aother couple lines off the screen of information that I want to see. Yeah EP that idea is a little more envolved than I want to get. Thanks though. PHX, One thing you could try doing is playing around with the ANSI escape codes. Some of them allow you to repostion the text. I use it a ton in one of my scripts. http://www.dee.ufcg.edu.br/~rrbrandt/tools/ansi.html has a nice list of codes. You will have to experiment to see which ones work best. The format for entering these codes isn't well documented, but for example, to clear the screen, you would do the following: echo #27 "[2J" To move your text up a few lines, you do the following echo "********hello world" echo #27 "[9A" ANSI_12 "Hello from up here" This would move it up 9 lines. The #27 = Esc You can do some really interesting things with this. I have a script that totally REPLACES my density scan with a new desity scan that shows things like port types if known, enemy figs, corp figs, etc... I leave it up to you to figure out if this will help you or not. |
|
| Page 1 of 1 | All times are UTC - 5 hours |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|