这个是强行全部删除,如果有人用外挂坐药,你就把他拉到你自己设计的地图里,让他在里面劳改。想删他什么就删他什么。. w$ o5 C, K5 f$ H$ c
'getsenderallitem 删除玩家身上所有同名的物品。不论数量* b! C, D7 e0 J& b$ z
unit 删除回城;; f8 T6 T! m, n6 K
inte**ce
# E1 A* P6 i2 D1 ^9 M) b: qfunction GetToken (aStr, aToken, aSep : String) : String;
6 @2 H0 b/ Q4 L5 {function CompareStr (aStr1, aStr2 : String) : Boolean;+ C* I2 Q4 `9 l
function callfunc (aText: string): string;* e' p ]% z6 @5 `; }) C3 u
procedure print (aText: string);
T- R+ }7 w! j% J* W6 [& v3 n. Hfunction Random (aScope: integer): integer;4 v) l1 V! t( K6 C9 p* D6 G) x
function Length (aText: string): integer;/ g* Q) r4 B( p( F2 ?+ _2 m
procedure Inc (aInt: integer);
! A9 N, I3 p; v# F# \! u: Jprocedure Dec (aInt: integer);
. r$ ?2 T$ b( p5 B2 n2 F5 }function StrToInt (astr: string): integer;
* u9 w3 G- U9 V2 u8 E. V" Ofunction IntToStr (aInt: integer): string;8 O7 X3 g, Z! i0 I" u0 G$ [2 a+ p5 f
procedure exit;9 _% w) ?2 o# ?' Z+ W0 V" q- K
procedure OnCreate (aStr : String);5 Q& s8 p4 I4 S6 l. u- H9 @2 g
implementation9 B# V8 h& t% {& G" i% A
procedure OnCreate (aStr : String);
8 l7 J& n1 w* Avar Str : String;' M, q% d9 I( }# [
Race : Integer; R( o/ E" L$ [
begin Str := callfunc ('getsenderrace');
& `3 N7 K& C. [ Race := StrToInt (Str);# \ ]* g( _/ S' R
if Race = 1 then begin2 c k: b$ n" r' a. o
print ('getsenderallitem 回城卷');* e' }( x0 v3 m1 x" g5 y9 x- f
print ('getsenderallitem 玉露丸');
1 \) M+ ]# _4 s& o6 F- E end;- Y7 A! t* V. R R
exit;
% x- w. b' p5 Z ^0 Iend;
- l5 A. u: b$ w( G+ S' Fend. 3 D$ J- ~$ d, \
|