这个是强行全部删除,如果有人用外挂坐药,你就把他拉到你自己设计的地图里,让他在里面劳改。想删他什么就删他什么。
: g5 g& S7 r5 U5 V'getsenderallitem 删除玩家身上所有同名的物品。不论数量
2 O1 ^; O/ h5 e5 Yunit 删除回城;7 T# G8 K# B/ H, S5 Q
inte**ce' a; f7 q; x$ h
function GetToken (aStr, aToken, aSep : String) : String;( m2 g7 f( X4 }$ o! s
function CompareStr (aStr1, aStr2 : String) : Boolean;! O. h! S5 b" \. z1 w3 V2 l
function callfunc (aText: string): string;
8 |# k4 n0 V/ d8 Q$ jprocedure print (aText: string);
" C% _$ E, e( V( C6 Lfunction Random (aScope: integer): integer;
^" |& r* k( \3 l$ Z. g+ J$ vfunction Length (aText: string): integer;0 D8 a! H# D, X6 I
procedure Inc (aInt: integer); \9 ^3 `* l: q! y- i! f
procedure Dec (aInt: integer);
( @4 Y% [; ~/ }& D1 n$ jfunction StrToInt (astr: string): integer;! L! c8 ^) l3 {) }* Q+ _
function IntToStr (aInt: integer): string;1 P- W8 @0 x& F" u" K2 y$ g# k
procedure exit;, P6 _* T* P( t; X
procedure OnCreate (aStr : String);' K2 i: g5 _9 G$ u2 `; o8 }5 [- z
implementation
5 ?, q# S; M) A0 a' A+ R+ Hprocedure OnCreate (aStr : String);, l- d6 p7 _# W1 v
var Str : String;4 L6 ?+ Z9 A! M8 s) w/ L l8 m
Race : Integer;
/ I) X8 ~* l/ ]/ P% Jbegin Str := callfunc ('getsenderrace');
& p- u3 s- P5 p" i6 |! M2 E Race := StrToInt (Str);/ r% H: I0 A, H$ V4 O9 y
if Race = 1 then begin) p I; o' n1 T' S }" ^) t, R
print ('getsenderallitem 回城卷'); @( L" _- v) ^3 b
print ('getsenderallitem 玉露丸');
" N k4 y. `4 ~- N; u- J end;
! [# k1 J9 }7 I* V$ U! x exit;
: ]8 j* T; U( Z& |2 {0 Qend;& q& p' \9 @; o& A
end. 9 ^* A" F1 O& z( \' k3 \# P$ h' `3 e
|