View unanswered posts | View active topics It is currently Sun Apr 26, 2026 4:47 am



Reply to topic  [ 8 posts ] 
 twx data windows 
Author Message
Lieutenant

Joined: Sat Mar 03, 2001 3:00 am
Posts: 592
Location: USA
Unread post 
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?


Wed Apr 14, 2004 3:24 am
Profile ICQ YIM WWW
Lieutenant J.G.

Joined: Mon Sep 22, 2003 2:00 am
Posts: 486
Location: USA
Unread post 
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.

_________________
C.E.O. Corp Noble House
Sysop - Zentock's Realm TWGS
Co-Sysop - Vulcans Forge TWGS

Admin.
Vulcans Forge Forums
Vulcans Forge TeamSpeak


Wed Apr 14, 2004 5:08 am
Profile ICQ
Commander
User avatar

Joined: Tue Oct 07, 2003 2:00 am
Posts: 1134
Location: Augusta, GA
Unread post 
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+

_________________
Claim to Fame: only guy to ever crack the TW haggle algorithm, and fig/shield/hold price formula, twice.


Wed Apr 14, 2004 10:53 pm
Profile WWW
Ensign

Joined: Sat Jan 19, 2002 3:00 am
Posts: 214
Location: USA
Unread post 
"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.

_________________
Cherokee
The Lost Traders Tavern
http://tavern.homeip.net

Deployed Fighters Report Sector 911: Cherokee's Imperial Starship entered sector.


Thu Apr 15, 2004 11:12 am
Profile ICQ YIM WWW
Lieutenant

Joined: Sat Mar 03, 2001 3:00 am
Posts: 592
Location: USA
Unread post 
Indubidibly.


Thu Apr 15, 2004 11:22 am
Profile ICQ YIM WWW
Commander
User avatar

Joined: Tue Oct 07, 2003 2:00 am
Posts: 1134
Location: Augusta, GA
Unread post 
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+

_________________
Claim to Fame: only guy to ever crack the TW haggle algorithm, and fig/shield/hold price formula, twice.


Thu Apr 15, 2004 10:05 pm
Profile WWW
Lieutenant

Joined: Sat Mar 03, 2001 3:00 am
Posts: 592
Location: USA
Unread post 
Heh, ASSUME make an Butt out of U and ME...


Thu Apr 15, 2004 11:09 pm
Profile ICQ YIM WWW
Lieutenant J.G.

Joined: Sat Mar 15, 2003 3:00 am
Posts: 463
Location: USA
Unread post 
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

_________________
The Republic


Fri Apr 16, 2004 2:05 am
Profile ICQ
Display posts from previous:  Sort by  
Reply to topic   [ 8 posts ] 

Who is online

Users browsing this forum: No registered users and 24 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by wSTSoftware.