三千论坛

标题: 比较好用的删除回城的脚本 [打印本页]

作者: 快要发癫啦    时间: 2022-12-30 08:36
标题: 比较好用的删除回城的脚本
这个是强行全部删除,如果有人用外挂坐药,你就把他拉到你自己设计的地图里,让他在里面劳改。想删他什么就删他什么。1 Q; Z" U- |! `: x  N+ r
'getsenderallitem 删除玩家身上所有同名的物品。不论数量9 @0 x( q* z* e( G3 o6 y! O
unit 删除回城;' j$ Y. R& N; @2 z! e" o9 R$ H/ b
inte**ce+ k1 c, ^7 v. ]: |+ X
function  GetToken (aStr, aToken, aSep : String) : String;
6 O6 i$ c( {! b+ a; \: t- D
function  CompareStr (aStr1, aStr2 : String) : Boolean;1 W) I/ F# o0 E4 i
function  callfunc (aText: string): string;
! s$ h$ d, M% v, O8 o$ d5 P# N7 \
procedure print (aText: string);
& n' r  s6 g' K7 E# [$ L
function  Random (aScope: integer): integer;
" u6 m$ t9 E1 ~3 ?+ h+ ?
function  Length (aText: string): integer;
9 _& D3 m! ~" ]3 L& `4 b
procedure Inc (aInt: integer);0 ?$ s, i3 L0 }* L" ^! d* \
procedure Dec (aInt: integer);
. [1 B8 i' F3 p$ B% j" c; ?! j
function  StrToInt (astr: string): integer;
" f0 T- X% R' B2 _
function  IntToStr (aInt: integer): string;
4 l: ?$ ?! Z" h) Q# q; H, ]
procedure exit;
4 q0 p- t$ _" W) A; d6 M
procedure OnCreate (aStr : String);
# y" M( r4 ^2 l! Q
implementation
0 u6 x3 ^! @( ~2 ]' H6 k, Y
procedure OnCreate (aStr : String);
+ p+ Q# P8 x/ q! |  i
var   Str : String;
. F3 S9 T' j* l( A0 ]& G2 ]' ~
   Race : Integer;5 m8 X) ^) E: z# a$ U7 K
begin   Str := callfunc ('getsenderrace');. ~. A6 `) H" g$ D7 b6 Q7 v
   Race := StrToInt (Str);: c/ T3 _0 h1 g, @+ r$ f
   if Race = 1 then begin0 ^  @* q/ Z' J# @3 ]1 _3 w
      print ('getsenderallitem 回城卷');
* N- H- I$ {. Y8 d# u
      print ('getsenderallitem 玉露丸');
+ L5 o- H4 T, p3 c/ A  w4 {
      end;
! H# `8 l9 ]1 F, Z. _+ o6 q
   exit;. T3 |! f6 S2 w9 z$ q
end;
% m( i2 G% S9 J
end.

" J! O7 F9 u/ q# e




欢迎光临 三千论坛 (http://3000y.com.cn/) Powered by Discuz! X3.4