Il Knight
Veteran OT User
tfs 1.2
hello how i can use string format correctly?
and it display this =
22:32 You see a sword. It weighs 5 oz. << all in the same line(i want each stuff in a line)
but i need to display the name like tibia =
22:32 You see a letter. / one thing per line
It weighs 0.50 oz. /
Item ID: 110 /
Position: 969, 926, 7 /
thanks in advance
hello how i can use string format correctly?
Code:
local desc1 = string.format("You see a %s.", Name)
local desc2 = string.format("%s It weighs %d oz.", desc1, Weight)
self:sendTextMessage(MESSAGE_INFO_DESCR, desc2)
and it display this =
22:32 You see a sword. It weighs 5 oz. << all in the same line(i want each stuff in a line)
but i need to display the name like tibia =
22:32 You see a letter. / one thing per line
It weighs 0.50 oz. /
Item ID: 110 /
Position: 969, 926, 7 /
thanks in advance