千年服务端脚本技术之删除回城功能脚本攻略

来源: 作者: 点击:
这个是强行全部删除,如果有人用辅助工具坐药,你就把他拉到你自己设计的地图里,让他在里面劳改。想删他什么就删他什么。

'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.
[顶部]