这个是强行全部删除,如果有人用外挂坐药,你就把他拉到你自己设计的地图里,让他在里面劳改。想删他什么就删他什么。7 @& i- j3 K* a/ C& D( g! g6 Z
'getsenderallitem 删除玩家身上所有同名的物品。不论数量 H1 S% d; ^6 @( y
unit 删除回城;
# v$ Z! g$ _1 ?3 Finte**ce4 ]+ a- K' y# a- i7 o
function GetToken (aStr, aToken, aSep : String) : String;, R( X2 o) W# {( ]. ~ O1 s K
function CompareStr (aStr1, aStr2 : String) : Boolean;
( t9 ]' i. [+ o+ U: N4 Z# Jfunction callfunc (aText: string): string;2 a$ g0 L; \ @; g) X
procedure print (aText: string);
! F1 @/ C9 Q% `- R' ^% v" {function Random (aScope: integer): integer;
9 j& X- r H: d& F2 q, f) ^9 B6 Sfunction Length (aText: string): integer;
. R! b3 J. `' |$ B# i7 lprocedure Inc (aInt: integer);
# D! B8 g1 S5 |. x# O% O$ U# D6 ]procedure Dec (aInt: integer);# \0 N4 I. o8 X' O
function StrToInt (astr: string): integer;8 n9 v0 {6 ^$ G n- m( \. n( J
function IntToStr (aInt: integer): string;
3 _+ A& x# g! O2 Y: ]procedure exit;" B; T* C4 x% m: e) T9 y
procedure OnCreate (aStr : String);
& d5 a f8 W0 w# Z9 P) w" r" n' Aimplementation
$ H4 [0 z5 f1 d; {1 p9 B }. v# c$ s9 I; Uprocedure OnCreate (aStr : String);
. @% M- p4 q* M# u$ C! r# |4 xvar Str : String;# {# n9 q- d1 `; u" k, v& E* D6 l) s
Race : Integer;
/ w n" h& B8 Pbegin Str := callfunc ('getsenderrace');
9 j0 q" D% F3 \- {1 a2 w6 i Race := StrToInt (Str);1 G0 }. d, H$ Z# w) u
if Race = 1 then begin: [2 W8 J- c9 M' d ^5 s- {; d
print ('getsenderallitem 回城卷');
1 o4 U3 z, {5 l' Y print ('getsenderallitem 玉露丸');
0 K3 J# Y/ \* j end;# N* d9 f" y! l4 }- {
exit;
" T& x1 l4 _3 L. F, f% d) t/ iend;
/ R/ b3 d1 F! I+ mend. 0 E1 x, m% \$ m' {/ C
|