项目

一般

简介

SendEmails » 历史记录 » 版本 3

tejie, 2025-06-13 15:47

1 3 tejie
h4. _%{color:green}sendEmails%_
2
3 1 machenhe
给当前角色发送邮件
4
5 2 yangdefeng
标签:命令定义|sendEmails
6 1 machenhe
7
*格式*
8
|_.命令名	|_.参数1	|_.参数2	|_.参数3	|
9
|sendEmails	|邮件标题	|邮件正文	|邮件附件	|
10
11
*说明*
12 3 tejie
|参数1|邮件标题|
13
|参数2|邮件正文支持"\n"换行|
14
|^.参数3|附件设置格式
15
格式:1 <notextile>道具1名称,道具1数量|道具2名称,道具2数量|...</notextile>
16
格式:2 <notextile>装备1唯一id,|装备2唯一id,</notextile>|
17 2 yangdefeng
18 3 tejie
-
19
-
20 2 yangdefeng
21 3 tejie
h4. *%{color:deepskyblue}特戒引擎脚本示例:%*
22 2 yangdefeng
23 1 machenhe
*示例1*
24
25
bq. [@main]
26 2 yangdefeng
#act
27 3 tejie
*{color:green}sendEmails* 充值奖励 充值100额外奖励\n充值100额外奖励 回城石,1|回城石,1
28 2 yangdefeng
29
-
30
-
31
32
*示例2*
33
34
*使用前提*
35
|配置文件|...\Mir200\Tejieconfig\Tejieconfig.txt	|
36
|配置节点|[[tjconfig|[tjconfig]]]			|
37
|配置项  |canCtrlDrop=1					|
38
39
-
40
-
41
42
43
%{color:deepPink}以下为QFunction-0.txt中的触发块%
44
文件路径
45
..\Mir200\Envir\Market_Def\QFunction-0.txt
46
47
bq. %{color:lightGrey};--脚本控制身上物品掉落%
48
[@dropUseItems]
49
#if
50
%{color:lightGrey};--配置掉落再返回的条件%
51
#act
52
%{color:lightGrey};--此处为掉落再返回的逻辑%
53
goto <notextile>@返回道具</notextile>
54
#elseAct
55
;--执行掉落处理
56
[[doDrop]] s0 s1 s2
57
&nbsp;
58
[<notextile>@返回道具</notextile>]
59
#if
60
%{color:lightGrey};--背包没满%
61
#act
62
[[giveInsItem]] s1
63
#elseAct
64 1 machenhe
*{color:green}sendEmails* 保险掉落返还 保险掉落返还 s1,