Pasting text into event script box, character limit?

I’m trying to paste all the text from my model event here

[IMG]http://img5.imageshack.us/img5/3118/sbc3.png[/IMG]

Into a new event box but it’s not letting me. Apparently I hit a character limit and am not allowed to enter everything else paste a certain point.

Full text is:

can_escape = true
enemies = [[1,12, false], [2,12, false], [3,12, false]]
start_pos = [22,24]
end_pos = [20,22]
escape_pos = [14,22]
actors_pos = [[20,21],[18,23],[23,20],[24,21]]
can_lose = false
$scene.call_ct_battle(can_escape, enemies, start_pos, end_pos, escape_pos, actors_pos, can_lose)

I can't enter any more text than everything up to

$scene.call_ct_battle(can_escape, enemies, start_pos, end_pos, escape_p

and then it starts giving me error noises

The original author manged to get past the restricion, so how do I?
Yes, there is a limit to the number of letters in the script command box.


The shortest and easiest solution would be to use shorter variables, for example spos = [22,24] instead of start_pos = ...


We can't say how the original author solved this because you didn't link to the script and examples - but there are only very few solutions possible because that limit is part of the original command.


There is a script from Tsukihime that combines consecutive script commands into a single command by combining their boxes, and there might be other scripts that remove those restrictions somehow, but you can't go beyond the limit without using scripts.
How weird!

The script is from a Chrono Trigger battle system that I found online.

http://victorscripts.wordpress.com/rpg-maker-xp/battle-scripts/atoa-custom-battle-system-3/

All I did was use his demo and try to copy one event and edit it a bit and then I was hit with a character limit.
You need to put the script into the script editor (under tools).


If you scroll to the bottom of the scripts you'll see Main. The script should go above main but below the other scripts.


if you click insert then you can get a new blank section for it.
You need to put the script into the script editor (under tools).

If you scroll to the bottom of the scripts you'll see Main. The script should go above main but below the other scripts.

if you click insert then you can get a new blank section for it.
Yeah I did that already. The battle system is working fine for me.

What I'm trying to do is make a new event that starts a new battle. The script I posted earlier needs to go into each event box and all I do is change some of the number variables for enemies, start_pos etc.

My problem is that I’m hitting a character limit when I’m trying to edit those variables. I simply can't enter the same amount of text that the original author did.

I'm going to try using shorter variables, like spos instead of starting_pos. Now I just need to see where I can find them.
Sorry, you could make method in the Interpreter class and them e.g.

class Interpreterdef battle1can_escape = trueenemies = [[1,12, false], [2,12, false], [3,12, false]]start_pos = [22,24]end_pos = [20,22]escape_pos = [14,22]actors_pos = [[20,21],[18,23],[23,20],[24,21]]can_lose = false$scene.call_ct_battle(can_escape, enemies, start_pos, end_pos, escape_pos, actors_pos, can_lose)endendThen in the call script just put:battle1
Cool, it took me about 10 minutes to figure out what you were talking about since I'm brand new to RPG Maker.

But I manged to get everything working. Using the script editor Class Interpreter was the trick.

Thanks.
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/pasting-text-into-event-script-box-character-limit.17914/