Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

HBGames

I was wondering if there was a way to remove a newline character using the .sub command. Im using dubealex's AMS R4 and when I use one of the functions on a new line it still places the enters eventhough it removed the text, as an example I have this:

http://i3.photobucket.com/albums/y86/Su ... tblock.png[/IMG]

followed by a choice block and the outcome is this:

http://i3.photobucket.com/albums/y86/Su ... utcome.png[/IMG]

as you can see it puts in the new line character still which screws it up on me >_<. Any idea how to remove it? I know in alot of languages \n is a new line character but I dont think sub!(\n) will work.

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top