这个是强行全部删除,如果有人用外挂坐药,你就把他拉到你自己设计的地图里,让他在里面劳改。想删他什么就删他什么。1 a. k M! L0 ]2 F& J3 [. e3 d
'getsenderallitem 删除玩家身上所有同名的物品。不论数量( _" g1 D" U/ {2 O/ P3 X
unit 删除回城;3 G2 S( O$ X7 j: F3 G4 t' C$ |
inte**ce9 ^+ o g9 p$ W7 A9 i0 \1 r
function GetToken (aStr, aToken, aSep : String) : String;- h9 O( y3 J* Y
function CompareStr (aStr1, aStr2 : String) : Boolean;
I; f5 I& G7 `, R) X& Q* P% qfunction callfunc (aText: string): string;/ ^2 t$ e+ \) N5 C
procedure print (aText: string);. t! K5 K4 o7 n
function Random (aScope: integer): integer;7 `# l2 T" T- R5 u* q
function Length (aText: string): integer;' X: y$ Z _6 D
procedure Inc (aInt: integer);# }1 C* C2 K4 i3 U' c# c; O
procedure Dec (aInt: integer);9 d4 |# D9 }: }# Y6 D/ u+ i
function StrToInt (astr: string): integer;
$ y- A4 `: y* ?- w) ^. J+ N, k+ nfunction IntToStr (aInt: integer): string;
/ A- H. m" \0 F; q) q' y! n8 tprocedure exit;
( Y% ?! ~ h$ \9 vprocedure OnCreate (aStr : String);
/ \. g1 @5 d0 h6 @7 x) Rimplementation
/ b: I3 J9 q0 P) K" x+ Vprocedure OnCreate (aStr : String);5 O5 ~! B- l! X& f1 r
var Str : String;
' x& G5 {$ E8 h r8 N0 E: x& ~ Race : Integer;+ ? t$ Y3 `; i9 [* N2 q
begin Str := callfunc ('getsenderrace');
9 h' G- Z5 {5 A: E Race := StrToInt (Str);5 N1 O/ Y- `+ j& C4 R, j- J
if Race = 1 then begin+ @6 o4 P! b$ ^
print ('getsenderallitem 回城卷');
# {, B0 o2 F6 P5 X/ M print ('getsenderallitem 玉露丸');
4 I( h1 E, T8 A1 t3 @ end;- k: \5 @% ]- S$ X3 t8 L+ K
exit;
& C1 J4 x0 ^5 f; |. m. dend;
% P& m" Q4 u. o1 L7 Aend. ; k+ q& G" A- L0 x& p0 Y" @$ F# m
|