# XCOM2 - How do you separate console commands and run multiple commands on one line?

**URL:** <https://forums.unrealengine.com/t/xcom2-how-do-you-separate-console-commands-and-run-multiple-commands-on-one-line/348446>\
**Category:** Community & Industry Discussion\
**Tags:** console-commands, unreal-engine, question\
**Created:** [February 23, 2016, 10:55pm UTC](https://forums.unrealengine.com/t/xcom2-how-do-you-separate-console-commands-and-run-multiple-commands-on-one-line/348446 "2016-02-23T22:55:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tzz88](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tzz88](https://forums.unrealengine.com/u/tzz88)\
**Post date:** [February 23, 2016, 10:55pm UTC](https://forums.unrealengine.com/t/xcom2-how-do-you-separate-console-commands-and-run-multiple-commands-on-one-line/348446/1 "2016-02-23T22:55:41Z")

</div>

This is for the XCOM 2 Unreal Engine. In the game you type a tilde and the command line console comes down.

There is no problem with one command at a time ( additem corpsesectoid 1 ).

How do I execute two (or seven!) on the SAME LINE, IN SERIES? I tried all kinds of different language separators ( ;, &, &&, :, \<\<\<).

I would like to type giveengineer 7 giveengineer 7 giveengineer 7 etc…

The console is only executing the first “giveengineer” and truncates the rest of the line into oblivion (located in the Federal Reserve Bank).

So, it is not a semicolon or colon or ampersand - so what is it?

This isn’t important but I would love to know. It is probably also important to know how long of a string or set of strings I can use (255?).

If anyone can answer this I would certainly be grateful.

Tim

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_beca004e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_beca004e](https://forums.unrealengine.com/u/anonymous_user_beca004e)\
**Post date:** [March 13, 2022, 1:39pm UTC](https://forums.unrealengine.com/t/xcom2-how-do-you-separate-console-commands-and-run-multiple-commands-on-one-line/348446/2 "2022-03-13T13:39:15Z")

</div>

Hello There! Apologies about the necro!  
Since this post seems to still be the one of the first search results regarding the topic, and it continues to not have an answer, I’m answering it for anyone who finds it in the future!

You can insert multiple commands in XCOM 2 using the “|” symbol.

As such, If you wanted to type multiples “giveengineer 7”, you would have to write it like this:  
giveengineer 7 | giveengineer 7 | giveengineer 7

Hope this helps somebody!  
Good Luck Commanders!

---

<div class="post-metadata">

**Author:** ![devmonkey](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@devmonkey](https://forums.unrealengine.com/u/devmonkey)\
**Post date:** [December 4, 2024, 11:04am UTC](https://forums.unrealengine.com/t/xcom2-how-do-you-separate-console-commands-and-run-multiple-commands-on-one-line/348446/3 "2024-12-04T11:04:17Z")

</div>

Thank you!!
