2023-10-12 08:17:30 +02:00
|
|
|
%if 'test' in %%extra.ejabberd.new_name.description
|
2021-04-13 19:05:01 +02:00
|
|
|
contain test
|
|
|
|
%end if
|
2023-10-12 08:17:30 +02:00
|
|
|
%%len(%%extra.ejabberd.new_name.description)
|
|
|
|
%if 'a' in %%extra.ejabberd.new_name.description
|
2021-04-13 19:05:01 +02:00
|
|
|
contain a
|
|
|
|
%end if
|
2023-10-12 08:17:30 +02:00
|
|
|
%for %%description in %%extra.ejabberd.new_name.description
|
2021-04-13 19:05:01 +02:00
|
|
|
leader: %%description
|
|
|
|
follower: %%description.mode
|
|
|
|
%if %%description <= %%description.mode
|
|
|
|
infeq
|
|
|
|
%end if
|
|
|
|
%if %%description >= %%description.mode
|
|
|
|
supeq
|
|
|
|
%end if
|
|
|
|
%if %%description < %%description.mode
|
|
|
|
inf
|
|
|
|
%end if
|
|
|
|
%if %%description > %%description.mode
|
|
|
|
sup
|
|
|
|
%end if
|
|
|
|
%if %%description == %%description.mode
|
|
|
|
eq
|
|
|
|
%end if
|
|
|
|
%if %%description != %%description.mode
|
|
|
|
diff
|
|
|
|
%end if
|
|
|
|
%set %%var = %%description + %%description.mode
|
|
|
|
%%var
|
|
|
|
%set %%var = %%description.mode + %%description
|
|
|
|
%%var
|
|
|
|
%end for
|
2023-10-12 08:17:30 +02:00
|
|
|
leader2: %%extra.ejabberd.new_name.description[0].description
|
|
|
|
follower2: %%extra.ejabberd.new_name.description[0].mode
|
|
|
|
index: %%extra.ejabberd.new_name.description.index('test')
|