这个是强行全部删除,如果有人用外挂坐药,你就把他拉到你自己设计的地图里,让他在里面劳改。想删他什么就删他什么。$ l* ?; x* p8 j5 W% m5 [
'getsenderallitem 删除玩家身上所有同名的物品。不论数量
1 S7 ]. R& i3 L0 Q( munit 删除回城;. v& {6 I% G$ U: X
inte**ce
$ n* [: m9 g6 `& h$ c N" f; o, Q. Ufunction GetToken (aStr, aToken, aSep : String) : String;
) a3 i& l8 c+ V6 C% k/ T& J0 jfunction CompareStr (aStr1, aStr2 : String) : Boolean;
' g3 V+ U1 q0 [- P3 nfunction callfunc (aText: string): string;
* ~* O$ M: `6 Q5 q8 X* P' ]- Z0 Oprocedure print (aText: string);
* P( q V$ h% n. tfunction Random (aScope: integer): integer;
; w& { _, o* d7 }$ N1 b/ Cfunction Length (aText: string): integer;( ^9 p) S/ f* U+ C: i- A* `
procedure Inc (aInt: integer);
+ |8 |0 y+ c& m- @3 N" nprocedure Dec (aInt: integer);& P6 x7 t. j) F) y5 \* V& c6 b0 w
function StrToInt (astr: string): integer;' m8 M0 m! i/ q, T V
function IntToStr (aInt: integer): string;; x! Y) h) s2 k9 i$ g9 U
procedure exit;
- h0 k" K6 N/ O. Kprocedure OnCreate (aStr : String);% R0 I9 {5 L' z& @9 V; ?
implementation
, c1 l- ^ _; o5 z% N! \) hprocedure OnCreate (aStr : String);' w# N4 ^+ T9 f
var Str : String;
( W6 A0 h- J2 u$ p, f9 P8 ~2 P2 t. \ Race : Integer;
" S+ a% z/ w! i. y% w) F1 rbegin Str := callfunc ('getsenderrace');
. {6 g# l( M3 B6 d( h& F* s6 O Race := StrToInt (Str);8 J7 ^7 a; x# L. P7 E% x
if Race = 1 then begin
, E; V: G1 x, s) }8 K E0 r print ('getsenderallitem 回城卷');
: a$ a0 S* p$ J4 z! P: S print ('getsenderallitem 玉露丸');
9 V4 K0 |& P2 v/ y" J; S( ?2 L6 \ P! y& q end;
7 F" {- |' r. [4 d7 T' O( s exit;3 c3 A* D5 c( Z5 r" |. a
end;
. m$ C$ k& \1 P. Eend.
9 L4 u! v0 b; r; I6 N5 M |