ID:1873136
 
(See the best response by Kaiochao.)
Code:


Problem description:

Hi i have problem. I made simple maptext input, and every thing good if i add new symbols
mob/verb/InputMT(t as text)//fake verb my code is more difficult...
var/NewI="[src.Input][t]"
src.Input=NewI


But i dont know how to remove last symbol from var. Any Ideas?
You don't know how to remove the [t] from var/NewI ?
No, from player's src.Input.
I start thinking about length() proc ..... but im weak...
Best response
I think you should try copytext().
copytext(Input, 1, -1)
Epic, I knew, it was very easy, but i dont had any ideas. Thanks!