这个是强行全部删除,如果有人用外挂坐药,你就把他拉到你自己设计的地图里,让他在里面劳改。想删他什么就删他什么。8 _& V6 T% V: r3 E8 u
'getsenderallitem 删除玩家身上所有同名的物品。不论数量
+ }* E- z2 i7 }: O% W: }unit 删除回城;
% Q3 s/ v- P: k: \1 m2 U. v" Jinte**ce& e) b- R5 X- {9 e' N
function GetToken (aStr, aToken, aSep : String) : String;
' A' t; p/ V u/ J8 d" g( ?function CompareStr (aStr1, aStr2 : String) : Boolean;
! @' _- T: B2 d% `. f. Y* |5 Nfunction callfunc (aText: string): string;
' ~! Q& F% F9 I* `procedure print (aText: string);
: R$ L' ~4 G2 X5 |# s& g( Hfunction Random (aScope: integer): integer;) k4 U* g+ z O1 B5 O
function Length (aText: string): integer; Y# R) H6 y$ i6 Q4 |6 q
procedure Inc (aInt: integer);( i5 Q" j2 _1 a3 x! ]8 ?
procedure Dec (aInt: integer);
9 P* f: g; P# ?% p- h" l9 r" H6 O6 _function StrToInt (astr: string): integer;) p& S* _* T7 H/ N* n7 S( ?
function IntToStr (aInt: integer): string;
- ?7 u3 O' g+ A6 a+ Hprocedure exit;2 F* ^9 T0 O2 H; H4 e& y6 Q8 |
procedure OnCreate (aStr : String);: k, J7 C. ^5 D# k# E
implementation
9 {4 M, o' ~+ ]& L. zprocedure OnCreate (aStr : String);- k) Z& t: g9 B! V
var Str : String;
) [( t$ M/ x; J3 m7 ^3 F Race : Integer;& F3 L- n) ~ f) k
begin Str := callfunc ('getsenderrace');/ G, T' ]/ r, _. Q; ^, B8 d
Race := StrToInt (Str);. Y2 r1 ?8 f& m
if Race = 1 then begin U+ T" ?7 t/ r" a2 x1 Z+ ]# z
print ('getsenderallitem 回城卷');
* R7 s% x) l# p: Q. D3 X print ('getsenderallitem 玉露丸');
: u; s) F- a4 U3 i end;. F8 b* H' @+ v
exit;
3 _/ F" z$ h6 e; f1 xend;
3 c0 U2 g+ F5 t% }3 M1 J/ Eend.
! A* J: J+ R& [5 y! d |