# Advantages of ChoiceScript VS. Notepad++ or INKY

**URL:** <https://forum.choiceofgames.com/t/advantages-of-choicescript-vs-notepad-or-inky/31859>\
**Category:** Game Development\
**Created:** [October 31, 2017, 12:51am UTC](https://forum.choiceofgames.com/t/advantages-of-choicescript-vs-notepad-or-inky/31859 "2017-10-31T00:51:23Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dev\_Kalyso](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/dev_kalyso/32/37762_2.png) [@Dev\_Kalyso](https://forum.choiceofgames.com/u/Dev_Kalyso)\
**Post date:** [October 31, 2017, 12:51am UTC](https://forum.choiceofgames.com/t/advantages-of-choicescript-vs-notepad-or-inky/31859/1 "2017-10-31T00:51:23Z")

</div>

What are the advantages of using the ChoiceScript over other scripts such as Notepad++ or INK\INKY?  
Thanks in advance to all replies.

---

<div class="post-metadata">

**Author:** ![Szaal](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/szaal/32/112202_2.png) [@Szaal](https://forum.choiceofgames.com/u/Szaal)\
**Post date:** [October 31, 2017, 1:25am UTC](https://forum.choiceofgames.com/t/advantages-of-choicescript-vs-notepad-or-inky/31859/2 "2017-10-31T01:25:28Z")

</div>

I can’t tell for INKY (since I don’t know what it is 😛), but I can tell you that ChoiceScript and Notepad++ is not a pair that can be compared.

You see, ChoiceScript is a coding language while Notepad++ is a program.

---

<div class="post-metadata">

**Author:** ![Pace675](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/pace675/32/10543_2.png) [@Pace675](https://forum.choiceofgames.com/u/Pace675)\
**Post date:** [October 31, 2017, 1:54am UTC](https://forum.choiceofgames.com/t/advantages-of-choicescript-vs-notepad-or-inky/31859/3 "2017-10-31T01:54:56Z")

</div>

What no love for CSIDE? [[CSIDE] The ChoiceScript IDE (v1.3.0 Now Available — 18/06/2019)](https://forum.choiceofgames.com/t/cside-the-choicescript-ide/27622)

---

<div class="post-metadata">

**Author:** ![Szaal](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/szaal/32/112202_2.png) [@Szaal](https://forum.choiceofgames.com/u/Szaal)\
**Post date:** [October 31, 2017, 1:58am UTC](https://forum.choiceofgames.com/t/advantages-of-choicescript-vs-notepad-or-inky/31859/4 "2017-10-31T01:58:49Z")

</div>

The OP didn’t ask CSide, tho :"  
And no love until the custom highlight and folding update is dropped!

---

<div class="post-metadata">

**Author:** ![fairlyfairfighter](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/fairlyfairfighter/32/57910_2.png) [@fairlyfairfighter](https://forum.choiceofgames.com/u/fairlyfairfighter)\
**Post date:** [October 31, 2017, 2:04am UTC](https://forum.choiceofgames.com/t/advantages-of-choicescript-vs-notepad-or-inky/31859/5 "2017-10-31T02:04:55Z")

</div>

And maybe even a way to find/calculate possible mins, maxs, and frequencies of a stat!

Hopefully, I always go over 100 on my percent and below 0.

Or at least when I make tr game too easy!

---

<div class="post-metadata">

**Author:** ![Dev\_Kalyso](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/dev_kalyso/32/37762_2.png) [@Dev\_Kalyso](https://forum.choiceofgames.com/u/Dev_Kalyso)\
**Post date:** [October 31, 2017, 2:54am UTC](https://forum.choiceofgames.com/t/advantages-of-choicescript-vs-notepad-or-inky/31859/6 "2017-10-31T02:54:19Z")

</div>

By Notepad\Notepad++ I mean BATCH\Bat. Its an old school program which has made some pretty interesting game, I doubt its better than ChoiceScript, but was worth asking.  
Thanks for input!

---

<div class="post-metadata">

**Author:** ![dashingdon](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/dashingdon/32/4070_2.png) [@dashingdon](https://forum.choiceofgames.com/u/dashingdon)\
**Post date:** [October 31, 2017, 5:05am UTC](https://forum.choiceofgames.com/t/advantages-of-choicescript-vs-notepad-or-inky/31859/7 "2017-10-31T05:05:43Z")

</div>

Sort of related, but if you use Notepad++ here is the custom language file I have built for use in coding CS: [https://dashingdon.com/ChoiceScript.xml](https://dashingdon.com/ChoiceScript.xml)

1. Save the file somewhere on your computer
2. Go to `Language > Define your language...` in Notepad++
3. Click `Import` and select the `ChoiceScript.xml` file from where you saved it
4. Select the `ChoiceScript` entry in the `User Language:` dropbox
5. Click `Save As...` and name the entry `ChoiceScript`
6. Now open a .txt file with ChoiceScript code in it
7. Go to `Language > ChoiceScript` (the entry will be at the very bottom)
8. You’ll have to select the language every time you open a new file but oh well
9. Profit!

---

<div class="post-metadata">

**Author:** ![Scribblesome](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/scribblesome/32/11703_2.png) [@Scribblesome](https://forum.choiceofgames.com/u/Scribblesome)\
**Post date:** [October 31, 2017, 7:59am UTC](https://forum.choiceofgames.com/t/advantages-of-choicescript-vs-notepad-or-inky/31859/8 "2017-10-31T07:59:33Z")

</div>

> [@Dev\_Kalyso](#):
>
> By Notepad\Notepad++ I mean BATCH\Bat. Its an old school program which has made some pretty interesting game,

Isn’t Batch basically command-line scripting? You can write games in that?? Could you give any examples?

---

<div class="post-metadata">

**Author:** ![Lucid](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/lucid/32/39775_2.png) [@Lucid](https://forum.choiceofgames.com/u/Lucid)\
**Post date:** [October 31, 2017, 1:57pm UTC](https://forum.choiceofgames.com/t/advantages-of-choicescript-vs-notepad-or-inky/31859/9 "2017-10-31T13:57:36Z")

</div>

Since the stats file doesn’t actually change variables, you can add something like this at the beginning:

```
*if (variable>=100)
     *set variable 100

```

That way your bars never go over, yet you still maintain the actual number in the variable. 🙂

---

<div class="post-metadata">

**Author:** ![Dev\_Kalyso](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/dev_kalyso/32/37762_2.png) [@Dev\_Kalyso](https://forum.choiceofgames.com/u/Dev_Kalyso)\
**Post date:** [November 1, 2017, 1:38am UTC](https://forum.choiceofgames.com/t/advantages-of-choicescript-vs-notepad-or-inky/31859/10 "2017-11-01T01:38:00Z")

</div>

Batch is used to make choice games, its pretty old school.

Ex) (You have to put this into Notepad and save it with .bat at the very end Ex.)Kingdom.bat)  
@echo off  
title Mage Quest  
echo Mage Guild  
echo Enter Name  
set /p name=  
set pick=7  
pause  
goto start  
:start  
cls  
set /a pick=%pick% -1  
set lvl=1  
set armor=0  
set /a ac=(10 +((%lvl% /2) +%armor%))  
set setscore=%pick% +10  
echo What will your %pick%th highest stat be?  
echo 1 Strength  
echo 2 Constitution  
echo 3 Dexterity  
echo 4 Intelligence  
echo 5 Wisdom  
echo 6 Charisma  
set /p chsc=choice1~6  
if %chsc%==1 set /a str=(%setscore% +(%lvl% /2))  
if %chsc%==2 set /a con=(%setscore% +(%lvl% /2))  
if %chsc%==3 set /a dex=(%setscore% +(%lvl% /2))  
if %chsc%==4 set /a int=(%setscore% +(%lvl% /2))  
if %chsc%==5 set /a wis=(%setscore% +(%lvl% /2))  
if %chsc%==6 set /a cha=(%setscore% +(%lvl% /2))  
if %pick%==0 goto charstats  
if %pick%==0 cls  
else  
goto start  
:charstats  
echo %name%  
echo Strength %str%  
echo Chomstitution %con%  
echo Dexterity %dex%  
echo Intelligence %int%  
echo Wisdom %wis%  
echo Charisma %cha%  
echo AC %ac%  
pause
