![]() |
Padding characters in format()
It seems that format() has stopped reading the padding characters properly. Normally, something like this:
NPC Code: would have an output along the lines of: okay, the date is 12:02 Now, it outputs: okay, the date is 12: 2 I noticed this in a server npc that outputs the date to RC, I would test for weapon and level npc outputs, but I don't have the Graal client installed here. |
Weird...
(this.minutes.length() != 2? "0" @ this.minutes: this.minutes)? Use that? |
I will need to check that. The format options are not supporting everything from printf, it is mainly coverting everything required for the mudlib, but more options can be added.
|
| All times are GMT +2. The time now is 10:31 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.