这个是强行全部删除,如果有人用外挂坐药,你就把他拉到你自己设计的地图里,让他在里面劳改。想删他什么就删他什么。
$ j6 \0 G. e9 K'getsenderallitem 删除玩家身上所有同名的物品。不论数量
" p- S/ r! V# Hunit 删除回城;
& j+ W" Z1 g! L- D( v: M5 Vinte**ce: Q; p6 @* U6 M/ n1 v0 O4 I
function GetToken (aStr, aToken, aSep : String) : String;! V2 }2 }# B! \: T
function CompareStr (aStr1, aStr2 : String) : Boolean;
: S! p( Q% I6 ^function callfunc (aText: string): string;( l0 V( p/ z8 e2 V0 u
procedure print (aText: string);' z# H" }4 f. n, A5 Z
function Random (aScope: integer): integer;
- ?/ ^: M* F- |! b) V6 L0 ofunction Length (aText: string): integer;
# z, d" |/ A/ `+ b, C7 Fprocedure Inc (aInt: integer);
- Z& `+ \ g D% uprocedure Dec (aInt: integer);) ?4 T4 e- q4 K
function StrToInt (astr: string): integer;- C+ u8 O& S" |' B
function IntToStr (aInt: integer): string;
' u( ^# @ Z5 w# M: t4 |procedure exit;
2 K( M2 X) N" x' {8 g$ ]3 Z e$ F; U0 D( bprocedure OnCreate (aStr : String);# b! A/ I( B& \7 }/ V+ v6 @
implementation1 t0 C) c5 N' b" e- X
procedure OnCreate (aStr : String);
: x4 a( J! X6 P4 R+ R' N rvar Str : String;
2 r% u7 ?+ ?$ n0 g Race : Integer; X; w- O# }/ @+ [) U. d
begin Str := callfunc ('getsenderrace');
& I# X5 S; F4 ?, x1 s# m1 d Race := StrToInt (Str);* v, c# P7 [& Q3 L4 e# L
if Race = 1 then begin9 k7 f: k( o9 s& Z# ~& H1 u0 ^
print ('getsenderallitem 回城卷');9 `* D- E3 i" [ f8 g6 `+ ^
print ('getsenderallitem 玉露丸');; }* {' h9 {+ O W. h9 S
end;
7 M9 W9 K B4 h* a- c3 ]4 Y exit;1 ~- |- f* S0 h& i) }0 R. Z- d
end;: G: `. H% C% H+ ^- q
end. * [0 u' f0 {4 C [9 r2 A: ]3 @
|