View unanswered posts | View active topics It is currently Sun Dec 28, 2025 6:32 pm



Reply to topic  [ 22 posts ]  Go to page 1, 2  Next
 ascii art 
Author Message
Ambassador
User avatar

Joined: Fri Feb 23, 2001 3:00 am
Posts: 4016
Location: USA
Unread post ascii art
What's the basic syntax to display multiple lines of ascii?

Right now I have:

go:
Send "` stuff here "
Send "` more stuff "
Send "` even more stuff "
halt

Thanks!

_________________

BOTE 1998 Champs: Team Fament
HHT 2015 Champs: Cloud09
Big Game 2016 Champs: Draft team
HHT 2018 Champs: Rock Stars
Big Game 2019 Champs: Draft Team


Classic Style Games Here:
telnet://crunchers-twgs.com:2002

Web page from 1990's: https://web.archive.org/web/20170103155645/http://tradewars.fament.com/Cruncher/tradewar.htm
Blog with current server info: http://cruncherstw.blogspot.com
Discord: https://discord.gg/4dja5Z8
E-mail: Cruncherstw@gmail.com
FaceBook: http://www.facebook.com/CrunchersTW


Sat Nov 22, 2014 2:41 pm
Profile ICQ WWW
Commander
User avatar

Joined: Fri Jun 09, 2006 2:00 am
Posts: 1400
Location: Canada
Unread post Re: ascii art
Code:
Setvar $STR "'*Lonestar's Wondering:"
Setvar $STR ($STR & "*  doesn't everyone know how to do this?")
Setvar $STR ($STR & "*    *     ...guess not**")
Send $STR
Waitfor "Sub-space comm-link terminated"


See attached...


Attachments:
File comment: Text Spitter
txt_spitter.zip [7.13 KiB]
Downloaded 815 times

_________________
----------------------------
-= QUANTUM Computing 101: 15 = 3 x 5 ... 48% of the time.
-= There are 10 types of people in the world: Those that understand Binary and those who do not
-= If Oil is made from Dinosaurs, and Plastic is made from Oil... are plastic Dinosaurs made from real Dinosaurs?
-= I like to keep my friends and my enemies rich, and wait to see which is which - Tony Stark (R.I.P.)
Sat Nov 22, 2014 3:22 pm
Profile ICQ YIM
Ambassador
User avatar

Joined: Fri Feb 23, 2001 3:00 am
Posts: 4016
Location: USA
Unread post Re: ascii art
Thank you

_________________

BOTE 1998 Champs: Team Fament
HHT 2015 Champs: Cloud09
Big Game 2016 Champs: Draft team
HHT 2018 Champs: Rock Stars
Big Game 2019 Champs: Draft Team


Classic Style Games Here:
telnet://crunchers-twgs.com:2002

Web page from 1990's: https://web.archive.org/web/20170103155645/http://tradewars.fament.com/Cruncher/tradewar.htm
Blog with current server info: http://cruncherstw.blogspot.com
Discord: https://discord.gg/4dja5Z8
E-mail: Cruncherstw@gmail.com
FaceBook: http://www.facebook.com/CrunchersTW


Sat Nov 22, 2014 7:36 pm
Profile ICQ WWW
Commander
User avatar

Joined: Fri Jun 09, 2006 2:00 am
Posts: 1400
Location: Canada
Unread post Re: ascii art
No problem. Let me know if you'd like to know how to do the same thing on Fed Com :mrgreen:

_________________
----------------------------
-= QUANTUM Computing 101: 15 = 3 x 5 ... 48% of the time.
-= There are 10 types of people in the world: Those that understand Binary and those who do not
-= If Oil is made from Dinosaurs, and Plastic is made from Oil... are plastic Dinosaurs made from real Dinosaurs?
-= I like to keep my friends and my enemies rich, and wait to see which is which - Tony Stark (R.I.P.)


Sat Nov 22, 2014 9:43 pm
Profile ICQ YIM
Ambassador
User avatar

Joined: Fri Feb 23, 2001 3:00 am
Posts: 4016
Location: USA
Unread post Re: ascii art
LoneStar wrote:
No problem. Let me know if you'd like to know how to do the same thing on Fed Com :mrgreen:



I am sending on Fed Com. I have more than 3 lines, so using your syntax I get an error too many parameters.

If I put a return at the end of each line "*", each line sends on a separate fed com line.

Here's my code:

Code:
# ascii "Moon"
     
SEND "`       _____   _____   "
SEND "`    /            V           \   "
SEND "`   /             |              \ "
SEND "`  |              *               | "
SEND "`  |         ----^----          | "
SEND "`   \             |              /  "
SEND "`     \           |            /  "
SEND  "`      \         |         / "
SEND  "`        \       |       /  "
SEND  "`          \     |     / "
SEND  "`            \   |   / "
SEND  "`        (____|____) "
SEND  "`      Kiss my Grits! " "*"
waitFor "Message sent on Federation comm-link."


(looses some formating in the translation, but you get the idea.) :lol:

_________________

BOTE 1998 Champs: Team Fament
HHT 2015 Champs: Cloud09
Big Game 2016 Champs: Draft team
HHT 2018 Champs: Rock Stars
Big Game 2019 Champs: Draft Team


Classic Style Games Here:
telnet://crunchers-twgs.com:2002

Web page from 1990's: https://web.archive.org/web/20170103155645/http://tradewars.fament.com/Cruncher/tradewar.htm
Blog with current server info: http://cruncherstw.blogspot.com
Discord: https://discord.gg/4dja5Z8
E-mail: Cruncherstw@gmail.com
FaceBook: http://www.facebook.com/CrunchersTW


Sat Nov 22, 2014 10:13 pm
Profile ICQ WWW
Commander
User avatar

Joined: Fri Jun 09, 2006 2:00 am
Posts: 1400
Location: Canada
Unread post Re: ascii art
Routine I posted works. It's very simple. The little ASCII thin you posted wouldn't work because there are no asterisks at the ends of the lines.

Perhaps someone else can help you better than I'm able too.

Good luck

_________________
----------------------------
-= QUANTUM Computing 101: 15 = 3 x 5 ... 48% of the time.
-= There are 10 types of people in the world: Those that understand Binary and those who do not
-= If Oil is made from Dinosaurs, and Plastic is made from Oil... are plastic Dinosaurs made from real Dinosaurs?
-= I like to keep my friends and my enemies rich, and wait to see which is which - Tony Stark (R.I.P.)


Sat Nov 22, 2014 11:10 pm
Profile ICQ YIM
Ambassador
User avatar

Joined: Fri Feb 23, 2001 3:00 am
Posts: 4016
Location: USA
Unread post Re: ascii art
When I put the asterisks at the end of each line surrounded in quotes "*", this is what I get.

Code:
Federation comm-link: [<ENTER> for multiple lines]

`     _____   _____

Message sent on Federation comm-link.

Citadel command (?=help)

Federation comm-link: [<ENTER> for multiple lines]

`    /           V           \

Message sent on Federation comm-link.

Citadel command (?=help)

Federation comm-link: [<ENTER> for multiple lines]

`   /             |              \

Message sent on Federation comm-link.

Citadel command (?=help)

Federation comm-link: [<ENTER> for multiple lines]

`  |

Message sent on Federation comm-link.

Citadel command (?=help)

Silencing all messages.

Citadel command (?=help)


ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
º <B> Transporter Control      <N> Interdictor Control     º
º <C> Engage Ship's Computer   <P> Planetary TransWarp     º
º <D> Display Traders Here     <R> Remain here overnight   º
º <E> Exchange Trader Ships    <S> Scan this sector        º
º <G> Shield Generator Control <T> Treasury Fund Transfers º
º <I> Personal Info            <U> Upgrade Citadel         º
º <L> Quasar Cannon R-Level    <V> Evict the other Traders º
º <M> Military Reaction Level  <X> Corporation Menu        º
º <!> Citadel Help             <Q> Leave the Citadel       º
ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ

Citadel treasury contains 30,008,121 credits.
Citadel command (?=help)

Federation comm-link: [<ENTER> for multiple lines]

`  |        ----^----          |

Message sent on Federation comm-link.

Citadel command (?=help)

Federation comm-link: [<ENTER> for multiple lines]

`   \             |              /

Message sent on Federation comm-link.

Citadel command (?=help)

Federation comm-link: [<ENTER> for multiple lines]

`     \           |            /

Message sent on Federation comm-link.

Citadel command (?=help)

Federation comm-link: [<ENTER> for multiple lines]

`       \         |         /

Message sent on Federation comm-link.

Citadel command (?=help)

Federation comm-link: [<ENTER> for multiple lines]

`         \       |       /

Message sent on Federation comm-link.

Citadel command (?=help)

Federation comm-link: [<ENTER> for multiple lines]

`           \     |     /

Message sent on Federation comm-link.

Citadel command (?=help)

Federation comm-link: [<ENTER> for multiple lines]

`             \   |   /

Message sent on Federation comm-link.

Citadel command (?=help)

Federation comm-link: [<ENTER> for multiple lines]

`       (____|____)

Message sent on Federation comm-link.

Citadel command (?=help)

Federation comm-link: [<ENTER> for multiple lines]

`      Kiss my Grits!


_________________

BOTE 1998 Champs: Team Fament
HHT 2015 Champs: Cloud09
Big Game 2016 Champs: Draft team
HHT 2018 Champs: Rock Stars
Big Game 2019 Champs: Draft Team


Classic Style Games Here:
telnet://crunchers-twgs.com:2002

Web page from 1990's: https://web.archive.org/web/20170103155645/http://tradewars.fament.com/Cruncher/tradewar.htm
Blog with current server info: http://cruncherstw.blogspot.com
Discord: https://discord.gg/4dja5Z8
E-mail: Cruncherstw@gmail.com
FaceBook: http://www.facebook.com/CrunchersTW


Sat Nov 22, 2014 11:16 pm
Profile ICQ WWW
Commander
User avatar

Joined: Mon Oct 29, 2001 3:00 am
Posts: 1096
Location: Tucson, AZ
Unread post Re: ascii art
To send multiline messages, don't you need to pad each line with spaces out to the maximum line width? There's also a maximum message length, so I think you'll get two or three lines at most.

_________________
Suddenly you're Busted!


Sun Nov 23, 2014 1:44 pm
Profile WWW
Commander
User avatar

Joined: Fri Jun 09, 2006 2:00 am
Posts: 1400
Location: Canada
Unread post Re: ascii art
This is pretty funny.. last try

on your keyboard press ` and then press * and then type a line of text, press *, type another line of text and press *, type another line of text and press *, type another line of text and press *, type another line of text and press *, type another line of text and press *, type another line of text and press *, type another line of text and press *....

when you're all done press ** ...TaDaaah!!!

lol


Attachments:
File comment: Output
SoooSimple2.jpg
SoooSimple2.jpg [ 52.58 KiB | Viewed 15399 times ]
File comment: Input
SoooSimple.jpg
SoooSimple.jpg [ 75.73 KiB | Viewed 15399 times ]

_________________
----------------------------
-= QUANTUM Computing 101: 15 = 3 x 5 ... 48% of the time.
-= There are 10 types of people in the world: Those that understand Binary and those who do not
-= If Oil is made from Dinosaurs, and Plastic is made from Oil... are plastic Dinosaurs made from real Dinosaurs?
-= I like to keep my friends and my enemies rich, and wait to see which is which - Tony Stark (R.I.P.)
Sun Nov 23, 2014 4:04 pm
Profile ICQ YIM
Ambassador
User avatar

Joined: Fri Feb 23, 2001 3:00 am
Posts: 4016
Location: USA
Unread post Re: ascii art
Oh, this is more fun than JavaScript!

Script compilation error: Too many parameters for command 'SETVAR', line 4 (MOON
_2.0.TS)


Script terminated: C:\TWX\Scripts\Cruncher's Edits\moon_2.0.ts


Code:
# ascii "Moon"
   
SetVar $STR  " I'm bending over so you can...  * "
SetVar $STR  ($STR & "     _____   _____  * " )
SetVar $STR  ($STR & "    /           V            \  * " )
SetVar $STR  ($STR & "   /             |              \ * "  )
SetVar $STR  ($STR & "  |              *              | * " )
SetVar $STR  ($STR & "  |        ----^----          | * " )
SetVar $STR  ($STR & "   \             |              /  * " )
SetVar $STR  ($STR & "     \           |            /  * " )
SetVar $STR  ($STR & "       \         |         / * " )
SetVar $STR  ($STR & "         \       |       /  * " )
SetVar $STR  ($STR & "           \     |     / * " )
SetVar $STR  ($STR & "             \   |   / * " )
SetVar $STR  ($STR & "      (____|____) * " )
SetVar $STR  ($STR & "      Kiss my Grits! * " )
SetVar $STR  ($STR & "          ** " )
Send " ` * " &  $STR
waitFor "Message sent on Federation comm-link."


Attachments:
Ascii_moon.png
Ascii_moon.png [ 98.58 KiB | Viewed 15391 times ]

_________________

BOTE 1998 Champs: Team Fament
HHT 2015 Champs: Cloud09
Big Game 2016 Champs: Draft team
HHT 2018 Champs: Rock Stars
Big Game 2019 Champs: Draft Team


Classic Style Games Here:
telnet://crunchers-twgs.com:2002

Web page from 1990's: https://web.archive.org/web/20170103155645/http://tradewars.fament.com/Cruncher/tradewar.htm
Blog with current server info: http://cruncherstw.blogspot.com
Discord: https://discord.gg/4dja5Z8
E-mail: Cruncherstw@gmail.com
FaceBook: http://www.facebook.com/CrunchersTW
Sun Nov 23, 2014 5:56 pm
Profile ICQ WWW
Commander
User avatar

Joined: Fri Jun 09, 2006 2:00 am
Posts: 1400
Location: Canada
Unread post Re: ascii art
LINE 4: SetVar $STR ($STR & " _____ _____ * " )
should look like:
LINE 4: SetVar $STR ($STR & " _____ _____ * ")

no spaces between parenthesis and quotation marks.

TWX syntax 101 - Year one.. that'll be CND $2,300 please.

_________________
----------------------------
-= QUANTUM Computing 101: 15 = 3 x 5 ... 48% of the time.
-= There are 10 types of people in the world: Those that understand Binary and those who do not
-= If Oil is made from Dinosaurs, and Plastic is made from Oil... are plastic Dinosaurs made from real Dinosaurs?
-= I like to keep my friends and my enemies rich, and wait to see which is which - Tony Stark (R.I.P.)


Sun Nov 23, 2014 6:07 pm
Profile ICQ YIM
Ambassador
User avatar

Joined: Fri Feb 23, 2001 3:00 am
Posts: 4016
Location: USA
Unread post Re: ascii art
This is too funny, now it's pulling a CIM.

_________________

BOTE 1998 Champs: Team Fament
HHT 2015 Champs: Cloud09
Big Game 2016 Champs: Draft team
HHT 2018 Champs: Rock Stars
Big Game 2019 Champs: Draft Team


Classic Style Games Here:
telnet://crunchers-twgs.com:2002

Web page from 1990's: https://web.archive.org/web/20170103155645/http://tradewars.fament.com/Cruncher/tradewar.htm
Blog with current server info: http://cruncherstw.blogspot.com
Discord: https://discord.gg/4dja5Z8
E-mail: Cruncherstw@gmail.com
FaceBook: http://www.facebook.com/CrunchersTW


Sun Nov 23, 2014 7:24 pm
Profile ICQ WWW
Commander

Joined: Sun Feb 25, 2001 3:00 am
Posts: 1838
Location: Guam USA
Unread post Re: ascii art
I told her one time already how to fix it but she is leaving all the send "'" on each line as well as the *

but for what she has I could fix it or if done right , remove the send "' and all but the last asterisk and start it as I and lonestar said ..

Send "*" for subspace or Send "`*" for fed
the just send the grafix you want per line and an asterisk
to advance to next line at the end of each line till the end
where you will use 2 asterisks to end it and to keep it clean , a waitOn "ub-space c" for sub space message or the whatever similar
waiton for fed messages.

Such a simple exercise I do not understand why its so difficult.
Very much like a hello world in most programing languages.

_________________
TWGS V2 Vids World on Guam Port 2002
Telnet://vkworld.ddns.net:2002
Discord @ DiverDave#8374
Vid's World Discord

Founding Member -=[Team Kraaken]=- Ka Pla

Image
Winners of Gridwars 2010
MBN Fall Tournament 2011 winners Team Kraaken
Undisputed Champions of 2019 HHT Just for showing up!

The Oldist , Longist Running , Orginal Registered Owner of a TWGS server :
Vids World On Guam


Sun Nov 23, 2014 10:01 pm
Profile WWW
Commander
User avatar

Joined: Fri Jun 09, 2006 2:00 am
Posts: 1400
Location: Canada
Unread post Re: ascii art
Vid Kid wrote:

Such a simple exercise I do not understand why its so difficult.
Very much like a hello world in most programing languages.


I don't know about you, but I think my problem is a lack of a Post Secodary education in programming. :wink:

_________________
----------------------------
-= QUANTUM Computing 101: 15 = 3 x 5 ... 48% of the time.
-= There are 10 types of people in the world: Those that understand Binary and those who do not
-= If Oil is made from Dinosaurs, and Plastic is made from Oil... are plastic Dinosaurs made from real Dinosaurs?
-= I like to keep my friends and my enemies rich, and wait to see which is which - Tony Stark (R.I.P.)


Sun Nov 23, 2014 10:14 pm
Profile ICQ YIM
Ambassador
User avatar

Joined: Fri Feb 23, 2001 3:00 am
Posts: 4016
Location: USA
Unread post Re: ascii art
Vid Kid wrote:
I told her one time already how to fix it but she is leaving all the send "'" on each line as well as the *

but for what she has I could fix it or if done right , remove the send "' and all but the last asterisk and start it as I and lonestar said ..

Send "*" for subspace or Send "`*" for fed
the just send the grafix you want per line and an asterisk
to advance to next line at the end of each line till the end
where you will use 2 asterisks to end it and to keep it clean , a waitOn "ub-space c" for sub space message or the whatever similar
waiton for fed messages.

Such a simple exercise I do not understand why its so difficult.
Very much like a hello world in most programing languages.


This is exactly what you told me:

Send "`*"
then send the rest followed by a send "**"
WaitOn "ub-space c"

that is all

Vid



You don't have to be so cryptic.

_________________

BOTE 1998 Champs: Team Fament
HHT 2015 Champs: Cloud09
Big Game 2016 Champs: Draft team
HHT 2018 Champs: Rock Stars
Big Game 2019 Champs: Draft Team


Classic Style Games Here:
telnet://crunchers-twgs.com:2002

Web page from 1990's: https://web.archive.org/web/20170103155645/http://tradewars.fament.com/Cruncher/tradewar.htm
Blog with current server info: http://cruncherstw.blogspot.com
Discord: https://discord.gg/4dja5Z8
E-mail: Cruncherstw@gmail.com
FaceBook: http://www.facebook.com/CrunchersTW


Sun Nov 23, 2014 10:50 pm
Profile ICQ WWW
Display posts from previous:  Sort by  
Reply to topic   [ 22 posts ]  Go to page 1, 2  Next

Who is online

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