Revision d97851dd
Added by Francisco Del Roio about 2 years ago
src/translations/es/ui/dialog/sharp_script_console.yml | ||
---|---|---|
1 | 1 |
banner: | |
2 |
This console allows you to enter SharScript instructions directly. It is a very |
|
3 |
handy tool to quickly configure aliases, macros, triggers and so forth, as long |
|
4 |
as you know the SharpScript syntax in CocoMUD. Here's an example you can enter |
|
5 |
here: |
|
6 |
#say Hi! |
|
7 |
Or: |
|
8 |
#say {{Here's a longer message.}} |
|
9 |
Or even: |
|
10 |
#say {{This message shouldn't appear on the screen.}} -screen |
|
11 |
You can also enter instructions on several lines, which is necessary if you need |
|
12 |
to use the SharpScript syntax to include Python code. This advanced syntax is |
|
13 |
useful for complex triggers. To do so, end your first line with {{+ to tell the |
|
14 |
engine this line isn't the end of the instruction: |
|
2 |
Esta es una consola SharpScript. Puede ser una herramienta muy útil para agregar alias, disparadores y abreviaturas. |
|
3 |
|
|
4 |
Puede escribir instruciones SharpScript directamente. Por ejemplo: |
|
5 |
#say Hola! |
|
6 |
O: |
|
7 |
#say {{Aquí hay un mensage mas largo.}} |
|
8 |
O incluso: |
|
9 |
#say {{Este mensage no se debería mostrar en la pantalla}} -screen |
|
10 |
Incluso puede escribir instrucciones SharpScript en varias líneas, lo que es útil para instrucciones con código python. Esta |
|
11 |
sintaxis avanzada se puede usar para diseñar disparadores mas complejos. Para ello, termine la línea con un '{{+'. Por ejemplo: |
|
15 | 12 |
#trigger {{HP: }} {{+ |
16 |
... then on the next lines, write the Python code by indenting it slightly to the |
|
17 |
right. When your block is over, add an empty line with the }} symbol, with no |
|
18 |
indentation. Only then, your lines will be sent to the SharpScript engine. |
|
13 |
En las líneas siguientes, escriba el código Python indentando las líneas. Para terminar, añada una línea vacía con el símbolo }}. Cuando haya |
|
14 |
escrito esa línea el fragmento completo se enviará al motor. |
|
19 | 15 |
}} |
20 |
error: "An error occurred. Here's the full traceback:" |
|
21 |
title: SharpScript console |
|
16 |
error: "Ocurrió un error. Aquí está la traza completa:" |
|
17 |
title: Consola SharpScript |
Also available in: Unified diff
Fixed new entries on spanish catalog.