Difference between revisions of "User:Nerdvana"

From City of Hope MUSH
Jump to navigation Jump to search
Line 80: Line 80:
 
|}
 
|}
 
|}
 
|}
 +
 +
The code for that exact conversation looks like this:
 +
 +
<nowiki>{| class="wikitable" style="width:100%"</nowiki>
 +
|-
 +
|+ Big Guy
 +
|-
 +
|
 +
<nowiki>{| style="width:100%"</nowiki>
 +
|-
 +
| style="text-align:left;" | (Big Guy) Been missing U. Come 2 my place?
 +
|-
 +
| style="text-align:right;" | Bet you have. Sure. 3pm OK?
 +
|-
 +
| style="text-align:left;" | (Big Guy) Aww. Not now?
 +
|-
 +
| style="text-align:right;" | Gotta finish some code first. Need a few hours.
 +
|-
 +
| style="text-align:left;" | (Big Guy) Alright. Will heat up the hot tub. No suits 4 us
 +
|-
 +
| style="text-align:right;" | Heh CU L8R
 +
|}
 +
|}
  
 
[[Category:Players]] [[Category:Active Players]] [[Category:Unofficial]]
 
[[Category:Players]] [[Category:Active Players]] [[Category:Unofficial]]

Revision as of 08:00, 3 September 2020

Helpful Links

Descing

Useful Utilities

On MUSH Code

As I code things I'll include them here if they are minor, if they are major I'll make separate pages for them.

LATTR commands

I have uploaded commands based on the lattr function that people with large examine results may find useful. They can be read here.

Modified @adesc

The following code makes it so that you do not trigger your own Adesc when you look at yourself (overriding the default Player @adesc) and displays the looker's name with their @moniker.

@adesc me=@break strmatch(%#,%!);think [moniker(%#)] just looked at you.

Personal Descer

I have uploaded my own descer code. There's enough to it that I've made a separate page for it here.

On Wiki Code

Text Messaging Format

When a text message or messaging thread is important for a scene it is good to include it but I'd prefer for it to look right, so I came up with the following nested table-in-table format that lets me do just that. Feel free to borrow it!

{| class="wikitable" style="width:100%"
|-
|+ <name that should appear at the top of the screen>
|-
|
{| style="width:100%"
<message lines would go here, see below>
|}
|}

When applying the above think about how the name should appear. If its a message between two people it would be the other person's name (as this is simulating the view of your character's phone); if it is a group it would be the group name for the contact group or all of the names of the participants, as you would assume your character's phone would display them.

In the section where it says message lines use as many of the following two as required. The first is an incoming message (replace the name with the sender's name as it would display on your phone and replace the message with their message) while the second is an outgoing message from you.

|-
| style="text-align:left;" | (<name>) <incoming message from name>
|-
| style="text-align:right;" | <your outgoing message>

Example

The following example is a hypothetical conversation between Vic and a made up contact who will be considered to be listed on Vic's phone as "Big Guy"

Big Guy
(Big Guy) Been missing U. Come 2 my place?
Bet you have. Sure. 3pm OK?
(Big Guy) Aww. Not now?
Gotta finish some code first. Need a few hours.
(Big Guy) Alright. Will heat up the hot tub. No suits 4 us
Heh CU L8R

The code for that exact conversation looks like this:

{| class="wikitable" style="width:100%"
|-
|+ Big Guy
|-
|
{| style="width:100%"
|-
| style="text-align:left;" | (Big Guy) Been missing U. Come 2 my place?
|-
| style="text-align:right;" | Bet you have. Sure. 3pm OK?
|-
| style="text-align:left;" | (Big Guy) Aww. Not now?
|-
| style="text-align:right;" | Gotta finish some code first. Need a few hours.
|-
| style="text-align:left;" | (Big Guy) Alright. Will heat up the hot tub. No suits 4 us
|-
| style="text-align:right;" | Heh CU L8R
|}
|}