这个是强行全部删除,如果有人用外挂坐药,你就把他拉到你自己设计的地图里,让他在里面劳改。想删他什么就删他什么。; B$ B/ a' {- }: P3 R% X
'getsenderallitem 删除玩家身上所有同名的物品。不论数量
. G4 e' N4 [$ r% d. V+ E6 dunit 删除回城;$ S4 K4 P+ H. x4 a9 ?) m5 Z" O1 D) `
inte**ce
% q0 z0 E( m9 ^' xfunction GetToken (aStr, aToken, aSep : String) : String;
6 R+ Z5 U9 _/ @4 H" g( ofunction CompareStr (aStr1, aStr2 : String) : Boolean;
7 \" Q1 q! V H$ y+ `. |. sfunction callfunc (aText: string): string;4 x) L$ b3 A( x5 i }# p; O. @: ?
procedure print (aText: string);
$ _6 c# {1 x" dfunction Random (aScope: integer): integer;# n6 s$ n z4 M2 ^& h
function Length (aText: string): integer;! ?: m% h; D1 X. C; Y
procedure Inc (aInt: integer);, j8 ]) n$ ?- X( q; f* B& O
procedure Dec (aInt: integer);
( z# C6 }( }0 Pfunction StrToInt (astr: string): integer;
( Y( f: L ~: U( ]/ m9 C, p' c5 Z% {function IntToStr (aInt: integer): string;! v% Z9 Z1 a/ B$ y2 l0 s" D) K
procedure exit;; t7 O1 D6 ^" ?7 u3 L3 g& \& _
procedure OnCreate (aStr : String);, _4 z) w6 P. C! B/ _( {6 t
implementation! h$ n- {3 H" l$ Q4 i
procedure OnCreate (aStr : String);
4 f/ ~2 Z( q% p! @( @var Str : String;+ n' M2 N3 b) v3 j1 l7 {
Race : Integer;
( g4 H, Q1 e$ E0 `, ^( Obegin Str := callfunc ('getsenderrace');
; ~2 X8 ]! X/ x2 a% e/ o* u Race := StrToInt (Str);( v2 j2 I/ T- N( f& ]
if Race = 1 then begin
" J0 P9 ^: q7 @8 R print ('getsenderallitem 回城卷');: g6 _: q" z* K; j: o! F* ?
print ('getsenderallitem 玉露丸');
4 k; u" l4 s5 j& \ end;. I- w3 z9 s, U1 S0 f
exit;5 G" w% V& `! _. ~
end;
M) u+ O; e( n) N2 @end.
0 z! c2 n; p% |0 {- [2 L |