这个是强行全部删除,如果有人用外挂坐药,你就把他拉到你自己设计的地图里,让他在里面劳改。想删他什么就删他什么。
J; d2 X" V# p8 ^) u3 {6 P4 @'getsenderallitem 删除玩家身上所有同名的物品。不论数量, Y- M% m$ Z5 H
unit 删除回城;
# A, P. p5 ~ T1 R2 ]3 _, ?8 Jinte**ce' O8 i$ o% V0 Q
function GetToken (aStr, aToken, aSep : String) : String;/ B+ ]+ E9 v2 S; V+ B2 e% E
function CompareStr (aStr1, aStr2 : String) : Boolean;- c! l5 _4 G5 [2 P
function callfunc (aText: string): string;3 G9 H6 Y) r! F: h4 W. n! D
procedure print (aText: string);* L* A5 Z/ c4 v
function Random (aScope: integer): integer;
v% d" r! P$ }5 R$ D2 e- u' }6 ?function Length (aText: string): integer;% e" y. A( a* R( D: J! i
procedure Inc (aInt: integer);' i5 G! K$ w @6 H) }% @" S
procedure Dec (aInt: integer);3 U6 v4 F$ g: c0 m3 R4 j2 y+ l3 a6 ~
function StrToInt (astr: string): integer;: S8 j+ t6 u/ V. d& v$ [
function IntToStr (aInt: integer): string;& n5 Z1 i* r" b6 D
procedure exit;: v9 j5 l- D/ R% T
procedure OnCreate (aStr : String);/ F$ Z- P& m5 f- h' r+ t
implementation
/ H+ m( W9 F' @* R7 }procedure OnCreate (aStr : String);$ k/ _7 s: F; x/ j
var Str : String;; r) `. }7 B2 d& f! G
Race : Integer;6 M5 v& `. I: V2 {# u- ^2 N
begin Str := callfunc ('getsenderrace');
4 ?. F' L% r4 Y8 Q Race := StrToInt (Str);0 |/ O& z# d5 s
if Race = 1 then begin9 G, c- O& e7 v/ {7 y$ y
print ('getsenderallitem 回城卷');5 @/ c# i* J: ^$ n
print ('getsenderallitem 玉露丸');
& X% a7 N2 R5 [# c" E D# E end;
- i& f( \ d# z$ U exit;
" f2 F5 B- p* l% Iend;
' ?1 v- \ B" T7 tend.
+ v) U6 F/ r8 [. w" P |