forked from mochja/l2.net-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBeastSS.l2s
36 lines (32 loc) · 824 Bytes
/
BeastSS.l2s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Auto uncompress soulshots
// Server: ALL
// Autor: mochitto
// Date: 6.2.2011
// Special thanks for L2.NET contributors
// rev.: 1
PRINT_TEXT "SCRIPT STARTED!]"
THREAD CHECK_PET_SHOTS
DO
SLEEP 97283423
LOOP 1 == 1
PRINT_TEXT "SCRIPT STOPED!]"
END_SCRIPT
FUNCTION CHECK_PET_SHOTS
DEFINE INT TMP_COUNT
DO
ITEM_COUNT TMP_COUNT 6645 // Beast Soulshot
IF TMP_COUNT < 500
PRINT_TEXT "I have out of Beast Soulshot, need uncommpress..."
ITEM_COUNT TMP_COUNT 10515 // Beast Soulshot Compressed Pack
IF TMP_COUNT > 0
PRINT_TEXT "I use a pack for next shots ;)"
USE_ITEM 10515 // Beast Soulshot Compressed Pack
SLEEP 1000
ELSE
PRINT_TEXT "You dont have a Beast Soulshot Compressed Pack."
BREAK 3
ENDIF
ENDIF
SLEEP 500
LOOP 1 == 1
RETURN VOID