这个是强行全部删除,如果有人用外挂坐药,你就把他拉到你自己设计的地图里,让他在里面劳改。想删他什么就删他什么。, ~# f _2 i, y m2 o1 z, b/ ^
'getsenderallitem 删除玩家身上所有同名的物品。不论数量
% G) w7 E& V3 g2 d9 ?7 Junit 删除回城;
- z3 e0 k& `0 Jinte**ce& j$ B7 o! F2 q4 v, T1 O) e
function GetToken (aStr, aToken, aSep : String) : String;
% j! V! M2 O: z' b$ V1 Zfunction CompareStr (aStr1, aStr2 : String) : Boolean;, Y$ R0 o/ M) Z7 b& Y* w
function callfunc (aText: string): string;
0 r" ?2 N& p6 |( ^- nprocedure print (aText: string);' F8 s, C0 e8 N$ }
function Random (aScope: integer): integer;) l+ {% u* g# D9 u
function Length (aText: string): integer;
1 D# Y- y9 Y0 e0 _' s1 bprocedure Inc (aInt: integer);
8 `9 t- g4 S! k* O/ sprocedure Dec (aInt: integer);8 o& r% `! r7 ]8 F6 T
function StrToInt (astr: string): integer;6 I! w# R; h$ q: M# t% C
function IntToStr (aInt: integer): string;$ x! A1 P( Q/ b) h
procedure exit;+ ~4 O: [5 g- Q6 Q( ]9 J! G% S8 ]
procedure OnCreate (aStr : String);
5 e- g, P2 \& ximplementation3 T8 D, N9 G! o) }$ n$ q
procedure OnCreate (aStr : String);6 a+ v- t4 b( ?8 {! t
var Str : String;
" ?" j9 O5 G/ B Race : Integer;2 W& K! u$ x$ O- h2 T9 i9 K
begin Str := callfunc ('getsenderrace'); p9 w$ O$ O' N H# G+ @
Race := StrToInt (Str);
- m8 B# [' `. W1 U3 `6 m' Z5 G' e$ B if Race = 1 then begin6 q* H& C6 T! Z J4 |- v& Q1 w+ z
print ('getsenderallitem 回城卷');
2 |! X3 v6 d$ Z1 ]$ d print ('getsenderallitem 玉露丸');
' s8 a$ K9 D7 [( g9 S end;
& y+ y- l0 `. R. P s4 r( O exit;
7 S9 o+ f" I. v" eend;
' E5 V# H3 M9 i6 g, qend. 5 c @+ R2 z G, q
|