|
Alabaster Beginner
Joined: 25 Jun 2002 Posts: 11
|
Posted: Wed Oct 22, 2003 2:16 am
Comma Insertion |
I would like to make a trigger that will insert commas correctly into any number sent from the mud over 3 digits in length. However, all of my attempts have resulted in infinite loops, since my mud prompt routinely has at least one 4 digit number. I am not very good at this trigger writing thing so I may be missing something rather simple.
THis is what I tried which doesn't work
Pattern: (%d)
Value: %format("&.0n",%1)
But I end up in a nasty loop. |
|
|
|
BoringCabbage Newbie
Joined: 01 Sep 2003 Posts: 6
|
Posted: Wed Oct 22, 2003 11:26 am |
This seems to work.
Pattern: (%d)
Value: #substitute {%format( "&.0n", %1)} |
|
|
|
|
|
|
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 vote in polls in this forum
|
|