| www.ClassicTW.com http://classictw.com/ |
|
| As a BEGINNING script writer, WHICH?... http://classictw.com/viewtopic.php?f=15&t=33015 |
Page 1 of 2 |
| Author: | Prda2or [ Fri Mar 09, 2012 6:13 pm ] |
| Post subject: | 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" PS. To The Bounty Hunter.......... I KNOW you have a "Favorite" |
|
| Author: | T0yman [ Fri Mar 09, 2012 6:27 pm ] |
| Post subject: | 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 |
|
| Author: | Prda2or [ Fri Mar 09, 2012 7:17 pm ] |
| Post subject: | 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! |
|
| Author: | Prda2or [ Fri Mar 09, 2012 7:36 pm ] |
| Post subject: | 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. |
|
| Author: | T0yman [ Fri Mar 09, 2012 7:38 pm ] |
| Post subject: | 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. |
|
| Author: | Mongoose [ Fri Mar 09, 2012 9:06 pm ] |
| Post subject: | Re: As a BEGINNING script writer, WHICH?... |
I use Eclipse to write SWATH scripts. |
|
| Author: | Thorindude [ Fri Mar 09, 2012 11:29 pm ] |
| Post subject: | 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. |
|
| Author: | T0yman [ Fri Mar 09, 2012 11:41 pm ] |
| Post subject: | 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. |
|
| Author: | Wookie8662 [ Fri Mar 09, 2012 11:46 pm ] |
| Post subject: | 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. |
|
| Author: | Thorindude [ Sat Mar 10, 2012 2:32 pm ] |
| Post subject: | Re: As a BEGINNING script writer, WHICH?... |
Or you can just use TWX's scripting language and not worry about ANSI escape codes. |
|
| Author: | Promethius [ Sat Mar 10, 2012 7:29 pm ] |
| Post subject: | 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. ANSI sequence detection comes in very handy for some scripts. |
|
| Author: | Thorindude [ Sat Mar 10, 2012 10:08 pm ] |
| Post subject: | 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? |
|
| Author: | Promethius [ Sat Mar 10, 2012 10:20 pm ] |
| Post subject: | 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 ": [1;36m[33m" To detect a player fighter hit getwordpos CURRENTANSILINE $pos2 ": [1;36m" 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. |
|
| Author: | Promethius [ Sat Mar 10, 2012 10:32 pm ] |
| Post subject: | 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. |
|
| Author: | Helix [ Sat Mar 10, 2012 10:45 pm ] |
| Post subject: | Re: As a BEGINNING script writer, WHICH?... |
http://tw-cabal.navhaz.com/strategy/twxansitricks.html H |
|
| Page 1 of 2 | All times are UTC - 5 hours |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|