-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgui_slot.sk
51 lines (51 loc) · 1.6 KB
/
gui_slot.sk
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
command /guislot [<number>]:
trigger:
set {current.slot} to 0
send "Attention, la commande peux prendre du temps à s'éxécuter, et aussi ne faite pas attention au 'and'"
if args 1 is not set:
loop 5 time:
add {current.slot} to {slot::*}
add 1 to {current.slot}
add {current.slot} to {slot::*}
add 1 to {current.slot}
add {current.slot} to {slot::*}
add 1 to {current.slot}
add {current.slot} to {slot::*}
add 1 to {current.slot}
add {current.slot} to {slot::*}
add 1 to {current.slot}
add {current.slot} to {slot::*}
add 1 to {current.slot}
add {current.slot} to {slot::*}
add 1 to {current.slot}
add {current.slot} to {slot::*}
add 1 to {current.slot}
add {current.slot} to {slot::*}
add 1 to {current.slot}
send "%{slot::*}%"
clear {slot::*}
else:
if args 1 is a number:
loop args 1 time:
add {current.slot} to {slot::*}
add 1 to {current.slot}
add {current.slot} to {slot::*}
add 1 to {current.slot}
add {current.slot} to {slot::*}
add 1 to {current.slot}
add {current.slot} to {slot::*}
add 1 to {current.slot}
add {current.slot} to {slot::*}
add 1 to {current.slot}
add {current.slot} to {slot::*}
add 1 to {current.slot}
add {current.slot} to {slot::*}
add 1 to {current.slot}
add {current.slot} to {slot::*}
add 1 to {current.slot}
add {current.slot} to {slot::*}
add 1 to {current.slot}
send "%{slot::*}%"
clear {slot::*}
else:
send "&cERREUR: L'argument n'es pas un nombre !"