这个是强行全部删除,如果有人用外挂坐药,你就把他拉到你自己设计的地图里,让他在里面劳改。想删他什么就删他什么。% Y M6 I; k$ E6 p, W
'getsenderallitem 删除玩家身上所有同名的物品。不论数量7 k+ q, u% W% Z0 M( b
unit 删除回城;
2 e9 C x2 }1 X7 ?0 x9 hinte**ce* H% V/ g! [' Z; i' `8 c! }, d& y7 e' J* n
function GetToken (aStr, aToken, aSep : String) : String;, v' U7 e9 \% p! d/ ~* K9 I
function CompareStr (aStr1, aStr2 : String) : Boolean;6 D0 y" Y) }. Q- k1 s
function callfunc (aText: string): string;4 `# w, o6 f2 V5 E9 a) I( A' A
procedure print (aText: string);6 ]5 G, g' ]2 u# j; p6 N8 ~
function Random (aScope: integer): integer;, v x( E3 \% N9 @& J& }# g
function Length (aText: string): integer;$ Z# M/ U0 Y `: `" Y! O
procedure Inc (aInt: integer);
2 T t/ _6 O# t. a6 l9 sprocedure Dec (aInt: integer);; e, c* \: e4 v: F
function StrToInt (astr: string): integer;
! l; I9 K& F( M7 _/ {" \function IntToStr (aInt: integer): string;
3 @: t' s2 z+ fprocedure exit;
% e6 a3 Z& _7 yprocedure OnCreate (aStr : String);- q- Y/ g5 J) R g/ \" b
implementation
( D3 ]; D0 [" q$ U- {procedure OnCreate (aStr : String);6 v) }& U5 R5 \4 a
var Str : String;/ Q, f6 _/ l; } b1 p* _* |$ I
Race : Integer;
. |: z% M5 x, ~begin Str := callfunc ('getsenderrace');" N' h9 K3 O C# c: K4 w8 M: c
Race := StrToInt (Str);
; G: X: a$ {: Y s* T$ d if Race = 1 then begin2 j9 F4 Y( u4 t; B' w) ^ c, W
print ('getsenderallitem 回城卷');% ^& p; c% s1 y( Q* ?- L9 B' ~
print ('getsenderallitem 玉露丸');) i6 y" F7 y& u: M4 d# V* G/ J/ x
end;
7 q' S* T7 ~( z0 @! W: `" Y/ d { exit;
, `7 N) t* K+ }* j/ p; b: `end;
# R- V, Z- ~1 Y) G$ C5 u) Nend. W) W: V$ n) r) |/ \4 }
|