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

Gammon Software Solutions forum

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

[Folder]  Entire forum
-> [Folder]  Forum
. -> [Folder]  Announcements
. . -> [Subject]  Forum improvement - improved [code] tags

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Forum improvement - improved [code] tags

Postings by administrators only.

[Refresh] Refresh page


Posted by Nick Gammon   Australia  (18,800 posts)  [Biography] bio   Forum Administrator
Date Sat 22 Aug 2009 02:01 AM (UTC)  quote  ]
Message
The [code] tag has been improved. Using a stylesheet it now displays slightly indented, with a different colour background, and a border.

Example:

[code]
<triggers>
<trigger
custom_colour="2"
enabled="y"
expand_variables="y"
match="* is closed."
sequence="100"
>
<send>open @direction</send>
</trigger>
</triggers>
[/code]

... displays as:


<triggers>
  <trigger
   custom_colour="2"
   enabled="y"
   expand_variables="y"
   match="* is closed."
   sequence="100"
  >
  <send>open @direction</send>
  </trigger>
</triggers>


If you don't see a box and different colour background, refresh your page (Reload Page) in your web browser to force it to reload the style sheet.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[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.


1,148 views.

Postings by administrators only.

[Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

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

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]