View unanswered posts | View active topics It is currently Sun Apr 19, 2026 8:32 pm



Reply to topic  [ 18 posts ]  Go to page 1, 2  Next
 As a BEGINNING script writer, WHICH?... 
Author Message
Chief Warrant Officer
User avatar

Joined: Thu Feb 11, 2010 3:24 am
Posts: 132
Location: Rolling Hills Estates, Ca.
Unread post As a BEGINNING script writer, WHICH?...
"Which".... Program should i start out with and get used to writing in? I've read up on a few and would like to use one that color codes and highlights certain text. Of all the "Coder's" out there, is there a HANDS DOWN favorite to be used? Ive actually seen a few "101's" by Lonestar, that has a NICE looking program used that has the lines numbered and also has the aforementioned color-coded text. If you by chance read this Lonestar, can you enlighten a future "Wizard of coding" :lol: Can't wait to get started since i now have the TIME to invest!
PS. To The Bounty Hunter.......... I KNOW you have a "Favorite"

_________________
Dont tell people this...... "WOW!, you were wonderful... 2nd Place is GREAT!" Because at some point they will start to realize that NO-ONE ever remembers who came in second and that 2nd place is actually the FIRST LOSER!!


Fri Mar 09, 2012 6:13 pm
Profile
Veteran Op
User avatar

Joined: Sat Dec 29, 2007 5:06 pm
Posts: 2059
Location: Oklahoma
Unread post Re: As a BEGINNING script writer, WHICH?...
I use 3, TWXIde is my favorite http://classictwgs.com/files/TWXIde_Editor/TWX_Script_Editor.zip , then context http://cdn.contextstatic.org/downloads/ConTEXTv0_986.exe it has a highlighter for TWXProxy code, then last but not least Notepad :)

_________________
T0yman (Permanently Retired since 2012)
Proverbs 17:28 <-- Don't know it, most should it would stop a lot of the discussions on here.


Fri Mar 09, 2012 6:27 pm
Profile ICQ YIM WWW
Chief Warrant Officer
User avatar

Joined: Thu Feb 11, 2010 3:24 am
Posts: 132
Location: Rolling Hills Estates, Ca.
Unread post Re: As a BEGINNING script writer, WHICH?...
T0yman wrote:
I use 3, TWXIde is my favorite http://classictwgs.com/files/TWXIde_Editor/TWX_Script_Editor.zip , then context http://cdn.contextstatic.org/downloads/ConTEXTv0_986.exe it has a highlighter for TWXProxy code, then last but not least Notepad :)

As ALWAYS... Thanks TOyman, was gonna ask for your "Favs" too, but I bother you with SO many questions already, lol. Hey, but if you don't ask, you dont get the answers!

_________________
Dont tell people this...... "WOW!, you were wonderful... 2nd Place is GREAT!" Because at some point they will start to realize that NO-ONE ever remembers who came in second and that 2nd place is actually the FIRST LOSER!!


Fri Mar 09, 2012 7:17 pm
Profile
Chief Warrant Officer
User avatar

Joined: Thu Feb 11, 2010 3:24 am
Posts: 132
Location: Rolling Hills Estates, Ca.
Unread post Re: As a BEGINNING script writer, WHICH?...
T0yman wrote:
I use 3, TWXIde is my favorite http://classictwgs.com/files/TWXIde_Editor/TWX_Script_Editor.zip , then context http://cdn.contextstatic.org/downloads/ConTEXTv0_986.exe it has a highlighter for TWXProxy code, then last but not least Notepad :)

TWXIDE looks like it fits the bill totally... I've "messed around" with some .ts's i have in Notepad and finding some changes that were previously made by ME was a chore/pain... but with that program having the numbered lines makes it a SNAP, I think its gonna be MY favorite already, lol.

_________________
Dont tell people this...... "WOW!, you were wonderful... 2nd Place is GREAT!" Because at some point they will start to realize that NO-ONE ever remembers who came in second and that 2nd place is actually the FIRST LOSER!!


Fri Mar 09, 2012 7:36 pm
Profile
Veteran Op
User avatar

Joined: Sat Dec 29, 2007 5:06 pm
Posts: 2059
Location: Oklahoma
Unread post Re: As a BEGINNING script writer, WHICH?...
I use it 90% of the time, handy having examples handy right in the program, if i need more detail I refer to the script.html file in the TWX folder.

_________________
T0yman (Permanently Retired since 2012)
Proverbs 17:28 <-- Don't know it, most should it would stop a lot of the discussions on here.


Fri Mar 09, 2012 7:38 pm
Profile ICQ YIM WWW
Commander
User avatar

Joined: Mon Oct 29, 2001 3:00 am
Posts: 1096
Location: Tucson, AZ
Unread post Re: As a BEGINNING script writer, WHICH?...
I use Eclipse to write SWATH scripts.

_________________
Suddenly you're Busted!


Fri Mar 09, 2012 9:06 pm
Profile WWW
Sergeant Major
User avatar

Joined: Sun Jun 26, 2011 5:29 am
Posts: 69
Unread post Re: As a BEGINNING script writer, WHICH?...
I had used Notepad for quite a while and decided recently I'd really like to graduate to a syntax highlighter. I didn't have much luck with TWXide, but I run virtual windows on a Mac, so don't put too much weight on my situation. CONtext worked great for me, with the TWXProxy highlighter.

Also assuming you're asking which text editor to use, but just in case: most TradeWarriors recommend TWXProxy brand scripts. I personally dislike the language, I find it primitive and obtuse... but that's what seems to win the games due to its speediness.

I've written a couple primitive REXX scripts too, it was okay. Never could figure out how to parse the ANSI, just had to turn it off. I'm probably just missing something obvious, but I'm not pursuing REXX anymore anyway.


Fri Mar 09, 2012 11:29 pm
Profile
Veteran Op
User avatar

Joined: Sat Dec 29, 2007 5:06 pm
Posts: 2059
Location: Oklahoma
Unread post Re: As a BEGINNING script writer, WHICH?...
Yea I have had the same issue running TWXIde in Virtual Box under linux, and it doesn't like Wine either. But if your using Windows it should be fine.

_________________
T0yman (Permanently Retired since 2012)
Proverbs 17:28 <-- Don't know it, most should it would stop a lot of the discussions on here.


Fri Mar 09, 2012 11:41 pm
Profile ICQ YIM WWW
Gunnery Sergeant

Joined: Sun Mar 25, 2001 3:00 am
Posts: 21
Location: The Wolfpack
Unread post Re: As a BEGINNING script writer, WHICH?...
Thorindude wrote:
I've written a couple primitive REXX scripts too, it was okay. Never could figure out how to parse the ANSI, just had to turn it off. I'm probably just missing something obvious, but I'm not pursuing REXX anymore anyway.


You can use REXX to check the ANSI status, then turn it off if needed.
I leave ANSI enabled, but turn off the animations.


Fri Mar 09, 2012 11:46 pm
Profile ICQ
Sergeant Major
User avatar

Joined: Sun Jun 26, 2011 5:29 am
Posts: 69
Unread post Re: As a BEGINNING script writer, WHICH?...
Or you can just use TWX's scripting language and not worry about ANSI escape codes. :D


Sat Mar 10, 2012 2:32 pm
Profile
Ambassador
User avatar

Joined: Mon Feb 09, 2004 3:00 am
Posts: 3141
Location: Kansas
Unread post Re: As a BEGINNING script writer, WHICH?...
Thorindude wrote:
Or you can just use TWX's scripting language and not worry about ANSI escape codes. :D


ANSI sequence detection comes in very handy for some scripts.

_________________
               / Promethius / Enigma / Wolfen /

"A man who has no skills can be taught, a man who has no honor has nothing."


Sat Mar 10, 2012 7:29 pm
Profile ICQ
Sergeant Major
User avatar

Joined: Sun Jun 26, 2011 5:29 am
Posts: 69
Unread post Re: As a BEGINNING script writer, WHICH?...
I've read that it can come in very handy for spoof detection. Do you have any recommendations? What do you use it for?


Sat Mar 10, 2012 10:08 pm
Profile
Ambassador
User avatar

Joined: Mon Feb 09, 2004 3:00 am
Posts: 3141
Location: Kansas
Unread post Re: As a BEGINNING script writer, WHICH?...
Thorindude wrote:
I've read that it can come in very handy for spoof detection. Do you have any recommendations? What do you use it for?


Spoof detection is very important. Check the TW-Cabal information under "Stupid ANSI Tricks" - at least that is what I think the link is called.

An example is:

To detect an alien fighter hit
getWordPos CURRENTANSILINE $pos ": "

To detect a player fighter hit
getwordpos CURRENTANSILINE $pos2 ": "

If $pos is > 0 then I know it is an alien, if $pos2 is > 0 then I know it is either a player or an alien. Have to check both before launching (unless alien capping) - if neither exist then someone is messing around.

There are other ANSI codes to use to determine if a prompt is being spoofed.

_________________
               / Promethius / Enigma / Wolfen /

"A man who has no skills can be taught, a man who has no honor has nothing."


Sat Mar 10, 2012 10:20 pm
Profile ICQ
Ambassador
User avatar

Joined: Mon Feb 09, 2004 3:00 am
Posts: 3141
Location: Kansas
Unread post Re: As a BEGINNING script writer, WHICH?...
As far as editors go, I only use ConText with the TWX highlighter - slightly modified on the colors.

_________________
               / Promethius / Enigma / Wolfen /

"A man who has no skills can be taught, a man who has no honor has nothing."


Sat Mar 10, 2012 10:32 pm
Profile ICQ
Ambassador
User avatar

Joined: Wed Nov 12, 2008 8:57 am
Posts: 3554
Location: Long Beach, CA
Unread post Re: As a BEGINNING script writer, WHICH?...
http://tw-cabal.navhaz.com/strategy/twxansitricks.html

H

_________________
Helix
Do I really look like a guy with a plan? You know what I am? I'm a dog chasing cars.
Lest we forget
I had to ask myself WWSGD?


Sat Mar 10, 2012 10:45 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 18 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 14 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.