这个是强行全部删除,如果有人用外挂坐药,你就把他拉到你自己设计的地图里,让他在里面劳改。想删他什么就删他什么。
$ q+ y+ g2 p4 x/ k1 z5 J'getsenderallitem 删除玩家身上所有同名的物品。不论数量
/ F6 k6 V7 ^0 O5 x6 F0 zunit 删除回城;5 f4 e+ G7 n& d+ l: u& x/ G
inte**ce4 k/ z+ a. e; K5 p
function GetToken (aStr, aToken, aSep : String) : String; _+ C, V, F+ G p( }
function CompareStr (aStr1, aStr2 : String) : Boolean;
8 @7 S, z+ [! F( T4 C1 m# gfunction callfunc (aText: string): string;$ a* n4 O+ C1 A& v* H' ~/ ]$ J9 `' z
procedure print (aText: string);; |0 ]4 Z8 S) m" j/ h
function Random (aScope: integer): integer;- }8 q% V% M: o/ b3 M+ K4 x
function Length (aText: string): integer;, R3 [2 ]% r- Q* L; ^) G; \ _
procedure Inc (aInt: integer);& q8 J% i. g- N% \
procedure Dec (aInt: integer);" l8 L' w9 @# w& N1 A% p
function StrToInt (astr: string): integer;
# d0 M1 x% m% G. T, d2 bfunction IntToStr (aInt: integer): string;
( i9 v$ f! W" _3 L* }8 \) jprocedure exit;
) C0 ^6 n5 t( V; [4 X* p: p; Eprocedure OnCreate (aStr : String);
1 ?; A2 C7 x, L% kimplementation
: |) }6 { N# G# Gprocedure OnCreate (aStr : String);
R7 u r0 c1 {- J$ B& M% P% Dvar Str : String;
) d2 Z0 F0 Y- g2 `& e Race : Integer;
{8 ^) h5 Y5 U) T) y$ r6 `begin Str := callfunc ('getsenderrace');) W. i ~6 N) c4 \2 X
Race := StrToInt (Str);' h6 {( m1 K( @2 A% G% Y/ E
if Race = 1 then begin
, ]. ~% l) Q i4 R print ('getsenderallitem 回城卷');/ P4 F [. l2 l H
print ('getsenderallitem 玉露丸');2 z1 n3 g$ u I. \* v0 ]' S4 O- R
end;
6 V4 E0 W* U# I0 q, ~ a) v exit;+ w8 u( I: L' g1 B* y6 k, _
end;
! S) p2 ^6 e, ?$ X f+ z* pend.
: b9 ?* K M" w, J7 f$ z- m n |