吾爱尚玩资源基地
标题: 千年服务端比较好用的删除回城脚本 [打印本页]
作者: admin 时间: 2019-3-4 22:20
标题: 千年服务端比较好用的删除回城脚本
这个是强行全部删除,如果有人用外挂坐药,就把他拉到你自己设计的地图里,让他在里面劳改。想删他什么就删他什么。
- 'getsenderallitem 删除玩家身上所有同名的物品。不论数量
- unit 删除回城;
- interface
- function GetToken (aStr, aToken, aSep : String) : String;
- function CompareStr (aStr1, aStr2 : String) : Boolean;
- function callfunc (aText: string): string;
- procedure print (aText: string);
- function Random (aScope: integer): integer;
- function Length (aText: string): integer;
- procedure Inc (aInt: integer);
- procedure Dec (aInt: integer);
- function StrToInt (astr: string): integer;
- function IntToStr (aInt: integer): string;
- procedure exit;
- procedure OnCreate (aStr : String);
- implementation
- procedure OnCreate (aStr : String);
- var Str : String;
- Race : Integer;
- begin Str := callfunc ('getsenderrace');
- Race := StrToInt (Str);
- if Race = 1 then begin
- print ('getsenderallitem 回城卷');
- print ('getsenderallitem 玉露丸');
- end;
- exit;
- end;
- end.
复制代码
欢迎光临 吾爱尚玩资源基地 (http://bbs.523play.com/) |
Powered by Discuz! X3.4 |