Balance return

by Jalain

Back to Mechanic's Corner.

Jalain2005-01-01 01:57:31
On the screenshots in the topic for cures in the survival area I saw this


+-----------------------+
| Balance Returned |
+-----------------------+

in Zmud. Is this just done with #gag, #echo and #CW for the colour?

After yesterday when I was fighting the Mags, I want to make one that will tell me,

+--------------------------------------+
| Summon Your Athame, Effwit! |
+--------------------------------------+

as well as some others, so that they stand out in spam.

PS. Is it the fonts that have sys in front of them which have an assigned space for all characters?


Edit: Colour tags don't work on here?
Shiri2005-01-01 02:00:58
QUOTE(Jalain @ Jan 1 2005, 02:57 AM)
+--------------------------------------+
| Summon Your Athame, Effwit! |
+--------------------------------------+
23790



Oi, I thought you were just joking and all. wacko.gif

Also, to do tags, I think you have to do a thing afterwards. I could be wrong. Let's have a look.

Testing.

EDIT: Spelling things properly is not a good way to start. Especially when the other half of your code is spelt in American.

EDITEDIT: No, you just have to have a at the end of it, no = involved.
Jalain2005-01-01 02:02:15
No. I was not joking. I noticed when I had about 200hp left and was trying to nexus out so I could summon it
Jalain2005-01-01 02:16:57
Gah, I just used the colour pull down thing..
I've got it echoing the box now, but I can't work out how to colour THAT either

Aaah, just had a look at the help.. Let's see if %ansi works!
Jalain2005-01-01 02:25:30
Okay.. I have no idea how, but when I set up the %ansi's I got:


You tell Acursed Munsia D'cente, The mortal wanderer, "4| m 9 EQ HAS RETURNED!
m 4|."
1252h, 1864m, 1736e, 10p ex-
You tell Acursed Munsia D'cente, The mortal wanderer, "4+m 6------------------m
4+.

*************
I'm getting closer!


I just got

+ 6, 0)------------------+
| ] EQ HAS RETURNED! 4, 0)|
+------------------]+



from
#gag
#echo %ansi( 4, 0)+%ansi 6, 0)------------------%ansi( 4, 0)+
%ansi( 4, 0)| %ansi( 9, 0)] EQ HAS RETURNED! %ansi 4, 0)|
%ansi( 4, 0)+%ansi( 6, 0)------------------%ansi( 4, 0)]+

OH! I see.. I forgot some brackets!
Shiri2005-01-01 02:31:26
Huh, I have no idea what THAT's about. Similar things happen when I try to echo in JAVA though.
Jalain2005-01-01 02:40:12
I've got it!
I was sending output to the game (resulting in the tells to Munsia) because you need to put a seperate #echo for each line.
It looks quite spiffy now, if I do say so myself... I've always wanted to use this..
CODE

#gag
#echo %ansi( 4, 0)+%ansi( 6, 0)------------------%ansi( 4, 0)+
#echo %ansi( 6, 0)|%ansi( 0, 0)------------------%ansi( 6, 0)|
#echo %ansi( 6, 0)|%ansi( 9, 0) EQ HAS RETURNED! %ansi( 6, 0)|
#echo %ansi( 6, 0)|%ansi( 0, 0)------------------%ansi( 6, 0)|
#echo %ansi( 4, 0)+%ansi( 6, 0)------------------%ansi( 4, 0)+


MORE!
CODE

#gag
#echo %ansi( 4, 0)+%ansi( 6, 0)-----------------------------%ansi( 4, 0)+
#echo %ansi( 6, 0)|%ansi( 0, 0)-----------------------------%ansi( 6, 0)|
#echo %ansi( 6, 0)|%ansi( 9, 0) Summon Your Athame, Effwit! %ansi( 6, 0)|
#echo %ansi( 6, 0)|%ansi( 0, 0)-----------------------------%ansi( 6, 0)|
#echo %ansi( 4, 0)+%ansi( 6, 0)-----------------------------%ansi( 4, 0)+


CODE

stand
#gag
#echo %ansi( 4, 0)+%ansi( 6, 0)-----------%ansi( 4, 0)+
#echo %ansi( 6, 0)|%ansi( 0, 0)-----------%ansi( 6, 0)|
#echo %ansi( 6, 0)|%ansi( 9, 0) STAND UP! %ansi( 6, 0)|
#echo %ansi( 6, 0)|%ansi( 0, 0)-----------%ansi( 6, 0)|
#echo %ansi( 4, 0)+%ansi( 6, 0)-----------%ansi( 4, 0)+


CODE

#gag
#echo %ansi( 4, 0)+%ansi( 6, 0)----------------------%ansi( 4, 0)+
#echo %ansi( 6, 0)|%ansi( 0, 0)----------------------%ansi( 6, 0)|
#echo %ansi( 6, 0)|%ansi( 9, 0) YOU CAN DRINK AGAIN! %ansi( 6, 0)|
#echo %ansi( 6, 0)|%ansi( 0, 0)----------------------%ansi( 6, 0)|
#echo %ansi( 4, 0)+%ansi( 6, 0)----------------------%ansi( 4, 0)+


If you would like me to put in the whole #trigger line so you can just copy and paste into your input bar, let me know, and I'll post them
Unknown2005-01-01 13:44:29
The #sub command is probably safer/more effective in this case. Also, the + and | are special characters, so you'll need to "quote" them with a ~ or find another way to do the colors.
Drago2005-01-01 14:02:37
I use #SAY because it doesn't switch the window for the echo..
CODE
#trigger {You have regained your mental equilibrium.} {#gag;#say %ansi(12)+------------------+%cr%ansi(12)|%ansi(10) EQUILIBRIUM BACK %ansi(12)|%ansi(12)|%cr%ansi(12)+------------------+}


Shows up...
+------------------+
|
EQUILIBRIUM BACK |
+------------------+



Edit: There, got it right that time.
Jalain2005-01-01 23:25:34
QUOTE(Zarquan @ Jan 1 2005, 11:44 PM)
The #sub command is probably safer/more effective in this case. Also, the + and | are special characters, so you'll need to "quote" them with a ~ or find another way to do the colors.
23895



Dunno what to tell you about that, but I didn't need to use any ~'s to get it to work. Not seeing any side effects to it.

CODE

#TRIGGER {You have recovered equilibrium} {#gag;#echo %ansi( 4, 0)+%ansi( 6, 0)------------------%ansi( 4, 0)+;#echo %ansi( 6, 0)|%ansi( 0, 0)------------------%ansi( 6, 0)|;#echo %ansi( 6, 0)| %ansi( 0, 7)EQ HAS RETURNED!%ansi( 6, 0) |;#echo %ansi( 6, 0)|%ansi( 0, 0)------------------%ansi( 6, 0)|;#echo %ansi( 4, 0)+%ansi( 6, 0)------------------%ansi( 4, 0)+} "messages"


I put in extra lines and gave a white background to the words to make it stand out more.