# IA scripting module, how to add a line break in alertmessage

**URL:** <https://forum.inductiveautomation.com/t/ia-scripting-module-how-to-add-a-line-break-in-alertmessage/6188>\
**Category:** 3rd Party Modules\
**Created:** [April 9, 2013, 9:10pm UTC](https://forum.inductiveautomation.com/t/ia-scripting-module-how-to-add-a-line-break-in-alertmessage/6188 "2013-04-09T21:10:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![diat150](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@diat150](https://forum.inductiveautomation.com/u/diat150)\
**Post date:** [April 9, 2013, 9:10pm UTC](https://forum.inductiveautomation.com/t/ia-scripting-module-how-to-add-a-line-break-in-alertmessage/6188/1 "2013-04-09T21:10:08Z")

</div>

I was wondering what i have to do to add a line break in the alertmessage attribute when editing a tag.

Our messages are usually formatted like this:

```auto
Value = {[Value]}
0 = Normal
1 = Alarm
{[State_Name]}
{[Alarm_Type]}
```

But I cant seem to duplicate this using the edit tag function

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [April 9, 2013, 10:32pm UTC](https://forum.inductiveautomation.com/t/ia-scripting-module-how-to-add-a-line-break-in-alertmessage/6188/2 "2013-04-09T22:32:39Z")

</div>

If you export a tag with that configured to CSV you can see what character that is. I bet it is a \r\n

---

<div class="post-metadata">

**Author:** ![diat150](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@diat150](https://forum.inductiveautomation.com/u/diat150)\
**Post date:** [April 10, 2013, 12:29pm UTC](https://forum.inductiveautomation.com/t/ia-scripting-module-how-to-add-a-line-break-in-alertmessage/6188/3 "2013-04-10T12:29:34Z")

</div>

yep that was it. thanks.
