[L2.NET] Jing-Jing Scripting Language

griffon17

Hello world

griffon17

Hello world
Сообщения
33
Реакции
28
Баллы
18
Hello World

Today I'll share with you some of the commands used in L2.NET's script language, called Jing-Jing
Since the official website has got lost, but luckly I have some of them saved (30%).

1. What is Jing-Jing:
"Jing-Jing is a simple yet powerful easy to learn scripting language." Imagine for a moment that QBasic and C ++ went to the bar and got totally wasted ... Jing-Jing is their bastard child.
Jing-Jing is a strongly typed language that supports everything from basic loops and functions to complex threading, locks, pointers and class inheritence. "

2. Script Command
ADD_BORDER_PT
Script Syntax:
ADD_BORDER_PT [INT] [INT]

Adds a point to the boundary polygon (the square/box/circle of walker) at ( INT1, INT2 )
Targeting of mobs will only take place inside this polygon.
A polygon has at least 3 sides, and it's important that you get the points in the right order!

Example:
Код:
Please, Вход or Регистрация to view codes content!
ADD_WALL
Script Syntax:
No description yet :(


Example:
Код:
Please, Вход or Регистрация to view codes content!
ATTACK_TARGET
Script Syntax:
ATTACK_TARGET

Will make the char attack the target selected.

Example:
Код:
Please, Вход or Регистрация to view codes content!
BLOCK
Script Syntax:
No description yet :(


Example:
Код:
Please, Вход or Регистрация to view codes content!
BLOCKEX
Script Syntax:
BLOCKEX [INT]

Blocks EX-packets of type [INT1] from being forwarded to the real client in IG mode.

Example:
Код:
Please, Вход or Регистрация to view codes content!
BOTSET
Script Syntax:
BOTSET [STRING] (...)

This command is used to setup the bot. Think of this as the bot options screen in scripting. Additional sub commands will be added in later builds.
You pass BOTSET a string telling it what to do... as well as any values that command needs. There are several commands. This command is a little different from others... all values to be passed to it are absolute ints, not variables. This means if you want to use a variable or the values TRUE or FALSE, make sure to surround them with the dereference literals "<& &>"

Example:
Код:
Please, Вход or Регистрация to view codes content!
BREAK
Script Syntax:
BREAK [INT]

Breaks out of [INT1] loops, ifs, and switch statements.
It searches the lines of script following the BREAK and searches for ENDIF, WEND, LOOP, and NEXT. A counter is incremented everytime one of these is found. Once the counter is equal to the passed integer, the line position is set to the line following that last loop/conditional terminator.
If you set i so large that it comes across the end of a function or subroutine, it will set the line to the end of that function or sub. A BREAK will not go outside of the function/sub it is used in.
IF BREAK results in an end of file status, an error message will be printed and the script will halt.

Example:
Код:
Please, Вход or Регистрация to view codes content!
CALL
Script Syntax:
No description yet :(


Example:
Код:
Please, Вход or Регистрация to view codes content!
CALL_EXTERN
Script Syntax:
No description yet :(


Example:
Код:
Please, Вход or Регистрация to view codes content!
CALLSUB
Script Syntax:
No description yet :(


Example:
Код:
Please, Вход or Регистрация to view codes content!
CANCEL_TARGET
Script Syntax:
CANCEL_TARGET


Example:
Код:
Please, Вход or Регистрация to view codes content!
CASE
Script Syntax:
CASE [V]
A potential value for a SWITCH condition.

Example:
Код:
Please, Вход or Регистрация to view codes content!
CHAR_GET_ID
Script Syntax:
CHAR_GET_ID [VINT] [STRING]
Stores the id of the char with name STRING2(not case sensitive) in variable VINT1 as an int.

Example:
Код:
Please, Вход or Регистрация to view codes content!
CHAR_GET_NAME
Script Syntax:
CHAR_GET_NAME [VSTRING] [INT]
Stores the name of the char with id INT2 in variable VSTRING1 as a string.

Example:
Код:
Please, Вход or Регистрация to view codes content!
 
Последнее редактирование:

Сверху