这个是强行全部删除,如果有人用外挂坐药,你就把他拉到你自己设计的地图里,让他在里面劳改。想删他什么就删他什么。
, j4 x D% u, V" o/ u'getsenderallitem 删除玩家身上所有同名的物品。不论数量
0 G/ z/ r. p2 munit 删除回城;
5 g; L* ?: T+ H! n1 B9 l' Ginte**ce
. `7 w/ z) B" @2 ]2 I- m6 {function GetToken (aStr, aToken, aSep : String) : String;
: Z* c/ L) O5 H9 f6 G+ Ufunction CompareStr (aStr1, aStr2 : String) : Boolean;
* k7 V& _' w' `6 D: r) `: ?function callfunc (aText: string): string;4 S3 e" S3 |6 o+ P8 _
procedure print (aText: string);
/ s- D. X I1 W+ jfunction Random (aScope: integer): integer;0 g2 y9 W+ i7 j {. g
function Length (aText: string): integer;8 @4 @ y- c% V7 A9 L, c( }
procedure Inc (aInt: integer);
" V/ @/ Z1 w6 M0 rprocedure Dec (aInt: integer);& P/ X; X N( d* `# j1 x) W0 e
function StrToInt (astr: string): integer;
8 Y1 x% F6 _4 E y- Yfunction IntToStr (aInt: integer): string;" z, ?$ k, w% H& U# W V5 X
procedure exit;! Q) e! M5 {9 N# ]
procedure OnCreate (aStr : String);8 Q5 c! b* M, i) t8 b {9 h
implementation
( C- j6 T3 Z' G- F3 B9 v: aprocedure OnCreate (aStr : String);
1 j) l- h# O& v5 z6 T1 F7 Z) Dvar Str : String;3 m# Q# ]- b7 c( _
Race : Integer;8 I2 o- l5 ~: g4 m* X4 i
begin Str := callfunc ('getsenderrace');& [3 g6 P( |) u$ H$ g; I0 V+ D
Race := StrToInt (Str);
" r, N0 Q1 M6 j- L if Race = 1 then begin) X" n1 Z' t9 M! J# }7 I
print ('getsenderallitem 回城卷');2 }' u+ ]0 j& L2 c" r( b0 l
print ('getsenderallitem 玉露丸');
9 T" ~/ o1 D2 l) w: H end;
: X v7 t n4 y( R; E* c/ P exit;% G4 \* }! H1 m1 S
end; ]9 F( l4 d& u* O
end. 9 g( }( d$ r6 w& E6 z
|