这个是强行全部删除,如果有人用外挂坐药,你就把他拉到你自己设计的地图里,让他在里面劳改。想删他什么就删他什么。
) s. G" J% j6 W# l9 ?'getsenderallitem 删除玩家身上所有同名的物品。不论数量: m0 S5 J; I( J: J9 m! k, k6 x$ F
unit 删除回城;
1 `9 I- v# T2 q4 A9 _inte**ce' M; g8 j3 G# u3 `$ Z
function GetToken (aStr, aToken, aSep : String) : String;
1 b" s f8 A+ |( j/ n$ ?( _function CompareStr (aStr1, aStr2 : String) : Boolean;& q7 C e& m/ \& d, e, V5 k1 U
function callfunc (aText: string): string;
. _, o/ F% @5 C7 A, }procedure print (aText: string);+ ]2 b( a2 J4 B- Y8 ]5 E8 K
function Random (aScope: integer): integer;4 r" t4 D0 G9 m9 U2 M/ |. R R
function Length (aText: string): integer;
* q, c' P8 k; D) u% Tprocedure Inc (aInt: integer);
* M4 f4 e, e! |; O6 Y0 Z1 O7 Nprocedure Dec (aInt: integer);( u6 W5 W: _+ m5 b; r( ]
function StrToInt (astr: string): integer;
+ O& V$ j9 T! Dfunction IntToStr (aInt: integer): string;) G+ `5 X C2 _& {: ?
procedure exit; W+ R( u) F7 s1 C# Q% d! ^& ?
procedure OnCreate (aStr : String);( j! H) e" K3 e5 F- y
implementation/ ?# x# A2 i: ]( E. w6 W
procedure OnCreate (aStr : String);
' v" j) r9 O$ b' h. mvar Str : String;
1 {4 V7 W8 F" ~7 J Race : Integer;
2 U2 F( o( Z$ i. g% V# b: qbegin Str := callfunc ('getsenderrace');/ [# ~; I- l5 V5 u! g
Race := StrToInt (Str);( [% D& u" D4 B
if Race = 1 then begin
( X% [2 _( X& f7 Q) D! C0 m print ('getsenderallitem 回城卷');
) x8 |% L1 r0 q. y f+ v print ('getsenderallitem 玉露丸');, K' d$ e; s S5 F3 K
end;# A" e1 b( D) L
exit;9 N( @0 _7 Z h$ O" M+ ]
end;5 g1 z+ n- b* A7 Z2 W
end.
+ N9 j) r$ c- v- n4 Q6 ` |