| www.ClassicTW.com https://mail.black-squirrel.com/ |
|
| twx data windows https://mail.black-squirrel.com/viewtopic.php?f=15&t=13015 |
Page 1 of 1 |
| Author: | PHX [ Wed Apr 14, 2004 3:24 am ] |
| Post subject: | |
Ive seen some scripts display small data screens showing like busts, xp, and whatever. Could these windows be used to display incoming fed/sub messages? How do I generate such a window? |
|
| Author: | Zentock [ Wed Apr 14, 2004 5:08 am ] |
| Post subject: | |
Heres how to do it but i understand that the windows will be back in twx ver 203. so all u need to do is wait a bit. setWindowContents Purpose: Sets the display content of a script window. Syntax: setWindowContents {windowName} {value} {windowName}: The name of the script window to have its contents set. {value}: The text content to place inside the script window. Notes: Script windows are not supported in TWX Proxy v2.00. This command is provided for backwards compatibility only. Cut and pasted from the twx script html file enclosed w/twx thank you Xide for that great file. |
|
| Author: | ElderProphet [ Wed Apr 14, 2004 10:53 pm ] |
| Post subject: | |
Well, I doubt you've seen script windows... those are just clever ANSI displays. Keep in mind that the text scrolls upwards, so to accomplish these windows in the current revision of TWX, you have to clear the screen using the ANSI escape code #27 "[2J". Then you have to redisplay the information and it will appear at the top left of the screen. Let me show you... copy the following to test.ts and run it: echo ANSI_15 #27 "[2J####################*#Top-Left of screen#*#Data Window: Text #*####################*" Make sure that ends up on just one line. Script Windows will be supported in 2.03, but they are a Message box type of window, as in, a Windows pop up message box... nothing Telnet or ANSI about them. They show up with the pretty blue bar at the top, red X in the top-right corner, and whatever contents you've setup... you know... a window. Lots of other Escape codes for you to learn... so get busy. +EP+ |
|
| Author: | Cherokee-TLTT [ Thu Apr 15, 2004 11:12 am ] |
| Post subject: | |
"Well, I doubt you've seen script windows... " Why is that? TWX version 1.09 supported them, so it's quite likely that a player like PHX has seen them. |
|
| Author: | PHX [ Thu Apr 15, 2004 11:22 am ] |
| Post subject: | |
Indubidibly. |
|
| Author: | ElderProphet [ Thu Apr 15, 2004 10:05 pm ] |
| Post subject: | |
Assumptions... and you know what they say about assumptions. I stand corrected. If you were talking about TWX v1.09 script windows, then they will be available again in v2.03. Until then... escape codes. +EP+ |
|
| Author: | PHX [ Thu Apr 15, 2004 11:09 pm ] |
| Post subject: | |
Heh, ASSUME make an Butt out of U and ME... |
|
| Author: | Strider_2001 [ Fri Apr 16, 2004 2:05 am ] |
| Post subject: | |
I was a freshman in high school when my science teacher told us that assume things PHX i thouhgt it was the funniest thing that i had ever heard |
|
| Page 1 of 1 | All times are UTC - 5 hours |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|