-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.msa
39 lines (32 loc) · 973 Bytes
/
config.msa
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
*:/multiinv addgroup $world $group = >>>
if(!has_permission('thezomg.multiinv.manage'),
die(concat(color(red), 'You do not have permission.'))
)
_multiinv_add_group($world, $group)
msg($world 'added to' $group)
<<<
*:/multiinv remgroup $world = >>>
if(!has_permission('thezomg.multiinv.manage'),
die(concat(color(red), 'You do not have permission.'))
)
assign(@group, _multiinv_get_group($world))
if(@group,
_multiinv_remove_group($world)
msg($world 'removed from' @group)
, # else
msg($world 'is not in any group')
)
<<<
*:/multiinv groupof $world = >>>
assign(@group, _multiinv_get_group($world))
if(@group,
msg($world 'is in group' @group)
, # else
msg($world 'is not in any group')
)
<<<
*:/multiinv [$] = >>>
msg('/multiinv addgroup <world> <group>')
msg('/multiinv remgroup <world>')
msg('/multiinv groupof <world>')
<<<