[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  Dawn of Time
. -> [Folder]  Administration
. . -> [Subject]  do_who question
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

do_who question

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by Yungen2003   USA  (34 posts)  [Biography] bio
Date Sat 11 Nov 2006 02:04 AM (UTC)
Message
im trying to configure a new who

i noticed this codebase uses define and i dont like that any suggestions? it uses ascii artwork in the who

I belive a man should be judged by the quality of his work not the quality of his piss
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] bio
Date Reply #1 on Sat 11 Nov 2006 02:14 AM (UTC)
Message
What do you mean by "uses define"?

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by Yungen2003   USA  (34 posts)  [Biography] bio
Date Reply #2 on Sat 11 Nov 2006 03:25 AM (UTC)

Amended on Tue 14 Nov 2006 07:43 PM (UTC) by Nick Gammon

Message

(@)              ___....___                    ___....___              (@)
|\'_       __.-''          ''-.___      ___.-''          ''-.__       _'/|
|   '''''''                       ''''''                       '''''''   |
|                                   .                                    |
|                                .   )   .                               |
|                          .    (   ((    )    .                         |
|            ..    ..     . )   )\  ) \  /(   (   .   ..    ..           |
|           (  )  (  )   ( (().(())(( ))(()).()) (   (  )  (  )          |
|             ())(().))()).((.(Chrono\|/CIDE).)).(()((.())(()            |
|           @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@          |
|                             "Whodesc."                                 |
|                                                                        |
|                 ---=+====<+> Immortal <+>====+=---                     |
|  LEvel = Class = Clan = IMMTITLE   = Alazair Title                     |
|                                                                        |
|                  ---=+====<+> Mortal <+>====+=---                      |
|  Status= Class = Clan = Name  Title                                    |
|                                                                        |
(                ___....___                    ___....___                )
 \._       __.-''          ''-.___      ___.-''          ''-.__       _./ 





it uses define for mortal and immortal and pkillport

#define WHOHEADER_MORTALS "`=\x81-========= `=\x96MORTALS `=\x81=========-`x\r\n"
#define WHOHEADER_IMMORTALS "`=\x82-======== `=\x83IMMORTALS `=\x82========-`x\r\n"
#define WHOHEADER_PKILL_PORT "`r-`R=`r=`R=`r=`R=`r=`R=`r=`R=`r=`R=`r= `R P K I L L P O R T `r=`R=`r=`R=`r=`R=`r=`R=`r=`R=`r-`x\r\n"

I belive a man should be judged by the quality of his work not the quality of his piss
[Go to top] top

Posted by Yungen2003   USA  (34 posts)  [Biography] bio
Date Reply #3 on Sat 11 Nov 2006 03:26 AM (UTC)
Message
well...it didnt show exactly right but think basic 2.4 rom

I belive a man should be judged by the quality of his work not the quality of his piss
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio
Date Reply #4 on Sat 11 Nov 2006 05:14 AM (UTC)
Message
What about the define is it that bothers you?

(To fix the text display, edit your post and use the [code] tags.)

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

Posted by Yungen2003   USA  (34 posts)  [Biography] bio
Date Reply #5 on Mon 13 Nov 2006 07:37 AM (UTC)
Message
well.....

what dont like about the define it it makes it hard to do a ascii style who....or atleast i cant do it to my knowledge

I belive a man should be judged by the quality of his work not the quality of his piss
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio
Date Reply #6 on Mon 13 Nov 2006 07:49 AM (UTC)
Message
I'm really not sure I understand your problem. Why can't you just put whatever text into the #define that you want to display? You can put ASCII colors too as is evidenced by the `r,`R escape codes in one of the lines you pasted.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


6,031 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]