这个是强行全部删除,如果有人用外挂坐药,你就把他拉到你自己设计的地图里,让他在里面劳改。想删他什么就删他什么。. j7 B. r. q# @3 k% O( P2 C* j
'getsenderallitem 删除玩家身上所有同名的物品。不论数量3 h. p) A1 u( Q5 s5 e3 O7 D" R
unit 删除回城;
& s; b$ q% @+ Y/ T) s& vinte**ce w: y7 v* n! F( e- p* p
function GetToken (aStr, aToken, aSep : String) : String;
9 D/ m' |1 x6 L; T3 ?function CompareStr (aStr1, aStr2 : String) : Boolean;
, T) `2 @4 o! |% y6 M. ifunction callfunc (aText: string): string;
8 `. u6 d* k1 u- d; r" @procedure print (aText: string);
+ ], W6 \' @% G& Kfunction Random (aScope: integer): integer;
7 I* e: c1 B D. |5 g& X vfunction Length (aText: string): integer;! S7 R3 q: w( G S
procedure Inc (aInt: integer);: Q* E: o- R8 v! B
procedure Dec (aInt: integer);
4 k2 y! w4 U: H# T9 v; E6 D! o& Zfunction StrToInt (astr: string): integer;/ ]$ b- p; b. W4 _ ]: ` W+ Y+ U
function IntToStr (aInt: integer): string;
- i6 B& T8 y: r* _) aprocedure exit;
. h- Y0 Y$ o! s+ d6 K2 {procedure OnCreate (aStr : String);
1 W! Z/ N5 r7 Z( p# G1 q- i" \1 yimplementation
# j9 k. q8 Q. U. c' W! Zprocedure OnCreate (aStr : String);
! Q# v: [& W0 b1 w- Qvar Str : String;) H$ }3 [7 j2 Z5 m7 L
Race : Integer;
( @* E, W) S2 f, a- {6 ]begin Str := callfunc ('getsenderrace');4 p1 W! l+ A2 y: Q
Race := StrToInt (Str);
, O. R: Y1 Y9 @, C( Y6 M9 { if Race = 1 then begin
; ]3 v( R, W! G4 w. t/ o# h0 b2 [ print ('getsenderallitem 回城卷');
1 Z `, z2 Z9 f, A* R print ('getsenderallitem 玉露丸');. c$ k0 C7 l4 b2 `* t; E/ i
end;, J) n! S$ g% d3 p. J+ c
exit;3 y3 M$ ~ e/ h% S7 ]
end;8 v+ E: O! `0 V9 C
end.
6 m% q/ A! w3 P* T |