查看: 172014|回复: 121

传奇也可以发邮件!大家来见识一下!

[复制链接]
发表于 2015-4-2 10:29:56 | 显示全部楼层 |阅读模式
如:邮局-3.txt,里面的脚本如下(\QuestDiary\信\收信人姓名.txt等等文件自己添加):
(@@InPutInteger @@InPutString )
[@main]
【朋友不在线,想给Ta写信吗?】\ 【注:每寄一封信需要支付1万邮费,收信免费!】\ 【已读信件每次只能看最近的一封,删除后才能接着看下一封!】\ 【<寄信请点击此处输入收信人名字:[url=]/@@InPutString0[/url]>】\ 【收件箱:<未读信件/@未读信件> <已读信件/@已读信件>】\ 【发件箱:<已发信件/@已发信件> <关闭[url=]/@exit[/url]>】\
[@InPutString0]
#if
#act
#say <点击此处输入信的内容(最多25个汉字或者50个阿拉伯数字):[url=]/@@InPutString1[/url]> [@InPutString1]
#if
checkgold 10000
#Act
take 金币 10000
AddTextListex .\QuestDiary\信\收信人姓名.txt <$STR(S0)> 0
AddTextListex .\QuestDiary\信\寄信人姓名.txt <$USERNAME> 0
AddTextListex .\QuestDiary\信\内容.txt <$STR(S1)> 0
AddTextListex .\QuestDiary\信\写信日期.txt <$DATETIME> 0 AddTextListex .\QuestDiary\信\寄信人\收信人姓名.txt <$STR(S0)> 0
AddTextListex .\QuestDiary\信\寄信人\寄信人姓名.txt <$USERNAME> 0
AddTextListex .\QuestDiary\信\寄信人\内容.txt <$STR(S1)> 0
AddTextListex .\QuestDiary\信\寄信人\写信日期.txt <$DATETIME> 0
#say
寄信成功!
#elsesay
你的金币不足支付邮费! [@已发信件]
#if
checknamelist ..\QuestDiary\信\寄信人\寄信人姓名.txt
#act
goto @已发信件检测位置
#elsesay
发信箱没有已发信件! [@已发信件检测位置]
#if
CHECKNAMELISTPOSITION .\QuestDiary\信\寄信人\寄信人姓名.txt > 0 P0
#act
GetRandomText .\QuestDiary\信\寄信人\收信人姓名.txt S0 <$STR(P0)>
GetRandomText .\QuestDiary\信\寄信人\内容.txt S1 <$STR(P0)>
GetRandomText .\QuestDiary\信\寄信人\写信日期.txt S2 <$STR(P0)>
#say
\
在<$STR(S2)>你给玩家:<$STR(S0)> 留言:\ <$STR(S1)>\ <删除此已发信件/@删除此已发信件>
[@删除此已发信件]
#if
#act
DelTextList .\QuestDiary\信\寄信人\寄信人姓名.txt <$USERNAME>
DelTextList .\QuestDiary\信\寄信人\内容.txt <$STR(S1)>
DelTextList .\QuestDiary\信\寄信人\写信日期.txt <$STR(S2)>
DelTextList .\QuestDiary\信\寄信人\收信人姓名.txt <$STR(S0)>
#say
删除成功!
[@未读信件]
#if
checknamelist ..\QuestDiary\信\收信人姓名.txt
#act
goto @检测位置
#elsesay
当前信箱没有信件!
本帖隐藏的内容
[@检测位置]
#if
CHECKNAMELISTPOSITION .\QuestDiary\信\收信人姓名.txt > 0 P0
#act
GetRandomText .\QuestDiary\信\寄信人姓名.txt S0 <$STR(P0)>
GetRandomText .\QuestDiary\信\内容.txt S1 <$STR(P0)>
GetRandomText .\QuestDiary\信\写信日期.txt S2 <$STR(P0)> AddTextListex .\QuestDiary\信\已读信件\收信人姓名.txt <$USERNAME>
AddTextListex .\QuestDiary\信\已读信件\寄信人姓名.txt <$STR(S0)> 0
AddTextListex .\QuestDiary\信\已读信件\内容.txt <$STR(S1)> 0
AddTextListex .\QuestDiary\信\已读信件\写信日期.txt <$STR(S2)> 0 DelTextList .\QuestDiary\信\寄信人姓名.txt <$STR(S0)>
DelTextList .\QuestDiary\信\内容.txt <$STR(S1)>
DelTextList .\QuestDiary\信\写信日期.txt <$STR(S2)>
DelTextList .\QuestDiary\信\收信人姓名.txt <$USERNAME>
#say 玩家:<$STR(S0)> \ 在<$STR(S2)>给你留言:\ <$STR(S1)> [@已读信件]
#if
checknamelist ..\QuestDiary\信\已读信件\收信人姓名.txt
#act
goto @已读信件检测位置
#elsesay
当前信箱没有信件!
[@已读信件检测位置]
#if
CHECKNAMELISTPOSITION .\QuestDiary\信\已读信件\收信人姓名.txt > 0 P0
#act
GetRandomText .\QuestDiary\信\已读信件\寄信人姓名.txt S0 <$STR(P0)>
GetRandomText .\QuestDiary\信\已读信件\内容.txt S1 <$STR(P0)>
GetRandomText .\QuestDiary\信\已读信件\写信日期.txt S2 <$STR(P0)>
#say 玩家:<$STR(S0)> \ 在<$STR(S2)>给你留言:\ <$STR(S1)> <删除此信件/@删除此信件>
[@删除此信件]
#if
#act
DelTextList .\QuestDiary\信\已读信件\寄信人姓名.txt <$STR(S0)>
DelTextList .\QuestDiary\信\已读信件\内容.txt <$STR(S1)>
DelTextList .\QuestDiary\信\已读信件\写信日期.txt <$STR(S2)>
DelTextList .\QuestDiary\信\已读信件\收信人姓名.txt <$USERNAME>
#say
回复

使用道具 举报

0

主题

80

元宝

0

积分

村民

发表于 2015-4-2 10:32:34 来自手机 | 显示全部楼层
挫~~~~~~~~~
回复

使用道具 举报

3

主题

0

元宝

4178

积分

主席

发表于 2015-4-4 12:49:41 | 显示全部楼层
努力赚金币!22PK永远昌盛!
哎...今天够累的,签到来了2...
回复

使用道具 举报

0

主题

100

元宝

0

积分

村民

发表于 2015-4-8 10:51:38 | 显示全部楼层
没有医保和寿险的,天黑后请不要见义勇为……  
回复

使用道具 举报

0

主题

200

元宝

0

积分

村民

发表于 2015-4-12 00:07:30 | 显示全部楼层
(*^__^*) 嘻嘻……  
回复

使用道具 举报

0

主题

280

元宝

0

积分

村民

发表于 2015-4-18 21:26:40 | 显示全部楼层
真是佩服得六体投地啊
回复

使用道具 举报

0

主题

180

元宝

0

积分

村民

发表于 2015-4-20 19:16:17 | 显示全部楼层
嘘,低调。
回复

使用道具 举报

0

主题

180

元宝

0

积分

村民

发表于 2015-5-2 09:45:00 | 显示全部楼层
虽然google 很少有人用
回复

使用道具 举报

0

主题

200

元宝

0

积分

村民

发表于 2015-5-12 20:40:37 来自手机 | 显示全部楼层
oh!magat!!!
回复

使用道具 举报

0

主题

100

元宝

0

积分

村民

发表于 2015-5-17 20:23:42 | 显示全部楼层
一楼的位置好啊..
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册登录

本版积分规则

网站分类|小黑屋|爱上gm论坛 |网站地图

GMT+8, 2025-4-30 18:41 , Processed in 0.196914 second(s), 34 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.