这个是强行全部删除,如果有人用外挂坐药,你就把他拉到你自己设计的地图里,让他在里面劳改。想删他什么就删他什么。
0 ]6 Y5 y5 Z A3 n9 H'getsenderallitem 删除玩家身上所有同名的物品。不论数量0 k1 _2 u4 g5 a# M7 ?
unit 删除回城;/ J7 T, {+ i9 q5 \6 v
inte**ce
( r4 Y* v2 z" d0 o% A( U, dfunction GetToken (aStr, aToken, aSep : String) : String;1 {- Z8 M9 B2 o; g
function CompareStr (aStr1, aStr2 : String) : Boolean;. f$ ~) w* q4 t2 _6 x
function callfunc (aText: string): string;
0 N% d) e. g, i/ cprocedure print (aText: string);" |- r7 W* M4 |) U/ a
function Random (aScope: integer): integer;( Z% E0 k S: o* p
function Length (aText: string): integer;! z' T9 ^/ H/ \' `/ O; D
procedure Inc (aInt: integer);
( D- G* b0 D a& ]7 Nprocedure Dec (aInt: integer);
- K3 P3 q( p" w# C0 S9 I- e1 qfunction StrToInt (astr: string): integer;
' F8 P, v7 q/ qfunction IntToStr (aInt: integer): string;; [: `, D. k# R, Y
procedure exit;
: A& s8 C( l& Q3 t9 cprocedure OnCreate (aStr : String);5 j2 R: Q8 t1 D7 y: \
implementation
7 y( c) ^* J2 r+ p* r& M. \2 f; M% `procedure OnCreate (aStr : String);/ d$ A# ?' f* q6 G' _2 ]! F4 V; k2 [
var Str : String;! f% V, E/ [6 z* B
Race : Integer;
1 h- s$ V* t) r) C4 O& Lbegin Str := callfunc ('getsenderrace');4 n" I, w) `# A3 z8 J5 D
Race := StrToInt (Str);% R" ]8 ?/ X; t! s
if Race = 1 then begin
0 S2 T3 ^! g6 l! p) _# Z; C0 J% {4 Q9 y print ('getsenderallitem 回城卷');3 T) Q7 C2 y0 j) w! m9 ~
print ('getsenderallitem 玉露丸');
8 x# t0 U9 t1 k: @' H( W6 V7 k end;
* S6 d$ v7 y( T5 b* m* Z* x exit;9 S% g! ]" E' E0 D( U" |- \
end;0 @3 r2 K) l2 \$ f% u Q
end.
9 r% Z/ N# I$ O" { |