这个是强行全部删除,如果有人用外挂坐药,你就把他拉到你自己设计的地图里,让他在里面劳改。想删他什么就删他什么。$ q4 F: I! C5 X; n- v# q( T" I
'getsenderallitem 删除玩家身上所有同名的物品。不论数量* K% ~" i: T, N8 ?: o Q
unit 删除回城;8 y7 Y' t% T& P) x8 C# v5 H: R
inte**ce
0 H; S! F1 w6 V- Wfunction GetToken (aStr, aToken, aSep : String) : String;1 o$ U: i" Z. m, F
function CompareStr (aStr1, aStr2 : String) : Boolean; u& V1 b6 l3 p. ]' V l
function callfunc (aText: string): string;
$ Y( N5 W1 M' S+ ]7 O2 ^procedure print (aText: string);1 P; }- i! e! }- }% k
function Random (aScope: integer): integer;9 ~: j i' i: J$ ^
function Length (aText: string): integer;' N! L$ x/ s% k5 p
procedure Inc (aInt: integer);. r; n% W" h8 w/ o; N! f: e+ K9 |
procedure Dec (aInt: integer);
( j# A% O0 e% nfunction StrToInt (astr: string): integer;
# h ^- z: j* `, cfunction IntToStr (aInt: integer): string;* A$ z1 w1 d3 x w
procedure exit;
4 s& t' @" f7 r4 D( G) k" wprocedure OnCreate (aStr : String);
6 r' ^" ]0 o9 {0 I8 _implementation
. [, G! \4 W9 B; B: G" qprocedure OnCreate (aStr : String);1 r/ F. x; p$ k, H
var Str : String;
# @( H' n- ]" j* T/ v5 ?4 S Race : Integer;: B6 `3 p2 F, p! ~( q9 B5 }3 w
begin Str := callfunc ('getsenderrace');7 @" N1 s6 b8 H; C4 L& |3 R
Race := StrToInt (Str);
& Q, E/ {7 w1 [/ z if Race = 1 then begin
3 r1 Z+ H1 a; ]. L7 |9 _% ]+ {5 D print ('getsenderallitem 回城卷');
- B P8 F1 S2 v) f+ e! {5 z print ('getsenderallitem 玉露丸');/ D$ }. H: H3 y/ Q' I; x
end;
/ f, q9 ?$ x' z3 g! ~ H# W exit;
: J+ o$ ]( I+ b/ h% c6 p- W+ t: c& Q" wend;
- l! d( J2 F3 d4 \6 a! N) B5 I! `% Iend.
' h+ F- x; x& u R6 _9 U& }7 ^ |