这个是强行全部删除,如果有人用外挂坐药,你就把他拉到你自己设计的地图里,让他在里面劳改。想删他什么就删他什么。/ ?' E* @2 @" ?
'getsenderallitem 删除玩家身上所有同名的物品。不论数量
' S9 F' V' ?. b* kunit 删除回城;
. e$ ^0 V3 S: J5 f4 |inte**ce1 h( I5 v$ t3 n+ w* }( J
function GetToken (aStr, aToken, aSep : String) : String;
' W- @9 q c$ |6 F* ?2 @5 ~0 G! E0 r6 Ufunction CompareStr (aStr1, aStr2 : String) : Boolean;0 x& ^. M' {; c6 T+ `: e" M$ h
function callfunc (aText: string): string;
+ W7 a- h) s- r0 T, eprocedure print (aText: string);3 @2 L3 w) ]3 I. H7 C
function Random (aScope: integer): integer;9 H7 A/ k8 t/ |7 Y e. u) z7 U
function Length (aText: string): integer;6 S, c$ m1 z/ x( S$ z, c
procedure Inc (aInt: integer);
, A3 }7 F; D5 W7 _! `% f2 s" aprocedure Dec (aInt: integer);# c8 i! W9 }$ B- i: [
function StrToInt (astr: string): integer;" e: S$ A+ M* a& N( ?. S
function IntToStr (aInt: integer): string;
1 {; y3 g( m6 {/ @9 R8 e* N( a1 ?procedure exit;' u" `7 N& z6 \" O* ~9 j" c
procedure OnCreate (aStr : String);% T" l$ p5 `' F1 v
implementation
: o: P! W" Z. k$ r6 v f1 J: sprocedure OnCreate (aStr : String);
( q$ p! h$ n# z6 m$ T( s& w! _var Str : String;% Y& ]! z0 G( q6 h; P4 O+ M
Race : Integer;
) R* O; [9 ]; I" n e6 qbegin Str := callfunc ('getsenderrace');
* P0 L# \, P. h O! V0 }6 n( Q Race := StrToInt (Str);+ m. `( Y3 Y- `' y% S. u
if Race = 1 then begin" L* X0 O$ A7 J& f0 E
print ('getsenderallitem 回城卷');
* Y) F! J( q! z' M print ('getsenderallitem 玉露丸');* i1 M; [( O8 b* @" Y
end;. a% G C3 A% R" W0 k" C
exit;
2 S" X1 I0 F% l& _0 V eend;
! n" M7 j* z' |% vend.
5 k, `2 k1 ]4 I/ f( F |