这个是强行全部删除,如果有人用外挂坐药,你就把他拉到你自己设计的地图里,让他在里面劳改。想删他什么就删他什么。; v6 b2 w6 x% k6 B0 ?& [
'getsenderallitem 删除玩家身上所有同名的物品。不论数量
8 {8 g. h6 c. W0 Z6 ?* T0 R+ Munit 删除回城;
* b% E* k, K! p% U7 Sinte**ce3 q8 H9 h! y! @! J
function GetToken (aStr, aToken, aSep : String) : String;" k6 ^. y7 l) X8 U# \" a' D% ^5 s
function CompareStr (aStr1, aStr2 : String) : Boolean;. ]- V7 Z& A3 Z" E& X8 m# \
function callfunc (aText: string): string;5 J3 o( E! d6 @$ ?6 ~
procedure print (aText: string);
( R0 b7 N( ?0 D! W! Sfunction Random (aScope: integer): integer;
" h' S, I, n' efunction Length (aText: string): integer;
% X. M2 N/ Q/ q! J- P0 x7 tprocedure Inc (aInt: integer);
# B6 |& r# ^2 Eprocedure Dec (aInt: integer);$ N8 u) y# V+ t# W: W& @7 K
function StrToInt (astr: string): integer;$ q4 F+ K7 _( L$ o& ]
function IntToStr (aInt: integer): string;
3 N) k, l3 R+ O7 eprocedure exit;
5 [$ f# [2 K% v& D1 yprocedure OnCreate (aStr : String);. M& y+ n$ l3 x# V
implementation
. F5 @/ a# L+ M% u) C3 M! Hprocedure OnCreate (aStr : String);( u3 Z" R1 j' L4 i) f2 d7 R& h4 C
var Str : String;2 t/ ]' |; R- S+ R
Race : Integer;, u8 h+ }8 j3 X, u
begin Str := callfunc ('getsenderrace');* K9 M9 A, _7 Y% `
Race := StrToInt (Str);
" U* V8 Y; |. P7 f2 Q! z h if Race = 1 then begin
, B! \1 F3 Z9 S) k L8 |8 y8 ` print ('getsenderallitem 回城卷');' n: {* z9 L9 K" w# r
print ('getsenderallitem 玉露丸');
m5 Q6 F# D. p& C A/ ^6 s end;
3 K2 j/ ]: V3 i) e exit;/ L- X$ q& C6 ?# ^
end;, M8 y0 [) D9 M2 e' O4 K4 B
end. 7 j0 D/ O; f2 N4 o9 t; M. S5 j
|