0917


   <$KILLER> ɱ߱
   <$RANDOMNO> ֵ

1:
: ûԶ.ַ֧ͺֵ.
      
ʽ: @@InPutStringXΪַ, @@InPutIntegerXΪֵ.  X= 0-99֮. 

˵:
      ɺִжӦ: @InPutStringX  @InPutIntegerX еĽű.
      @@InPutStringַS.
      @@InPutIntegerִN.
      @@InPutStringַҪ˵Ŀ(鿴\бϢ\ַ\)н.
      0-99ִнűΧ,ô100,ûӦַS0,ִN0.

ע: Ӧı,@@InPutString5ôS5, @@InPutString10ôS10.
      ֵIntegerƳ0


(@@InPutString @@InPutInteger )
[@Main]
ʹ˵:<Ҫ׷ɱ>\ \
<Ҫ׷ɱҵ/@@InPutString5>\
<ر/@exit>

[@InPutString5]
#IF
CheckRecall <$STR(S5)>
#ACT
GMEXECUTE Լ <$STR(S5)> 

[@IsInFilterList]
#ACT
MESSAGEBOX а˷Ƿַ,±༭!

ڴ100ʱĽűд:
[@Main]
<ûԶʾ:/@@InPutString150>\
<ر/@exit>

[@InPutString150]
#IF
#SAY
<$STR(S0)>\ 

[@IsInFilterList]
#ACT
MESSAGEBOX а˷Ƿַ,±༭!


2:
SetRandomNo   ϵͳһ֤.
CheckRandomNo ַǷΪϵͳ֤.

;==========================================
;ʾű
[@Main]
#If
CheckLevelEx > 0 
#Act
SetRandomNo
#Say
<֤/@@CheckNo><$RANDOMNO>

[@@CheckNo]
#If
CheckRandomNo
#Act
SendMsg 5 [ʾ]:֤ȷ.
Close
#ElseAct
SendMsg 5 [ʾ]:֤.
Close 


3:ֹͣ˱ʱ SetOffTimer ʱ

  #if
  #act
   SetOffTimer 1   //1Ŷʱֹͣ


4:ӽű  CHECKCODELIST  CLEARCODELIST
ûǷָı
 #if
   CHECKCODELIST ֵ.txt
 #say
   ֵɹ
 #act
   CLEARCODELIST ֵ.txt //ıɾ


5:ӽű GetRandomName ı ַ(ַֻ֧) ָıȡһе

  #act
   GetRandomName װб.txt S0
   Give <$STR(S0)> 1


6:Ӽ ISHIGH

#IF
ISHIGH L
#ACT
SENDMSG 0 ߵȼҡ%sˡ<$SERVERNAME>ϷУǰȼ<$LEVEL>
#IF
ISHIGH P
#ACT
SENDMSG 0 ҡ%sˡ<$SERVERNAME>ϷУǰаֵ<$PKPOINT>
#IF
ISHIGH D
#ACT
SENDMSG 0 ߹ҡ%sˡ<$SERVERNAME>ϷУǰ<$DC>-<$MAXDC>
#IF
ISHIGH M
#ACT
SENDMSG 0 ħҡ%sˡ<$SERVERNAME>ϷУǰħ<$MC>-<$MAXMC>
#IF
ISHIGH S
#ACT
SENDMSG 0 ߵҡ%sˡ<$SERVERNAME>ϷУǰ<$SC>-<$MAXSC>


7. CHECKONLINEPLAYCOUNT (>,<,=)  ;

  #if
  CHECKONLINEPLAYCOUNT > 100
  #say
   ǰ100

8. SETOFFLINEPLAY ON/OFF      ;Ƿ񿪷߹һ,ֻҪڰȫ߾Զ߹һ
:
 #act
  SETOFFLINEPLAY ON
 #say
  Ѿ˰ȫԶһ 

9.CHECKMAPNAME (selfԼ) G005 ;ͼ 

  #if 
   CheckMapName self 3
  #say
   λʡ

10.THROUGHHUM 
 
  ʹôôɫ˻ ߴ 
ʽ 
  throughhum  ģʽ    ʱ  
˵ 
ģʽ  0˹      1    2 
ʱ Ϊλ  
 
#IF 
#ACT 
throughhum  0  1800 
#SAY 
1800Դ˴

11.KICKOFFLINE  ߳
 #if
 #act
  Kickoffline
 #say
  ȫ

12.GuildNoticeMsg ָɫϢ

 GuildNoticeMsg ɫ ɫ  self(Լ֣ȫ)
 
:
 #if
 #act
  GuildNoticeMsg 255 255 Ϣ self








0915

 
  <$MAP> ʾǰͼ룬磺أʾΪ3
  <$RELEVEL> ʾתȼ
  <$STATSERVERTIME> ʾM2ʱ
  <$RUNDATETIME> ʾڼСʱ!Setup.txtвңDiyStartTimeʱ
  磺DiyStartTime=2007-9-13 12:12:12  ǰʱΪ 2007-9-13 13:12:12 
	 <$RUNDATETIME> ʾΪ 1


1,MUL ִг˷

  #ACT
  MUL N10 10 10  1010ĽN10С(ֱ֧)

2,DVI ִг
  #ACT
  DVI N10 10 10    1010ĽN10С(ֱ֧)


3,Զװȡװ.˳ֶװ.
  װ TakeOnItem  װ λ(0-13)
  װ TakeOffItem װ λ(0-13) 

  Ʒλ: 
   0  
   1  
   2  
   3  
   4 ͷ 
   5  
   6  
   7 ҽָ 
   8 ҽָ 
   9  
   10  
   11 Ь 
   12 ʯ 
   13 

4.CheckOnline Ƿ
  #IF
   CheckOnline 
  #SAY
   .

5.HCall  ǩ  ͨűñִQManage.txtеĽű
  #IF
  #ACT
   HCall username @ttt

6.AddTextList     ַдָı
  ַд뵽ļ 
  #IF
  #ACT
   AddTextList .\TestList.txt  <$USERNAME>


7.DelTextList    ָļɾַ
  #IF
  #ACT
   DelTextList .\TestList.txt  <$USERNAME>

8.CheckContainsText  ַǷһַ.  (ֱ֧)
  #IF
   CheckContainsText ַ ַ
  #SAY
   OK

9.CompareText   ȽַǷһ  (ֱ֧)
  #IF
   CompareText ַ ַ
  #SAY
   OK

10.checkcastlewar Ǳ (ǲǹڼ)
  #IF
   checkcastlewar ɳͿ
  #say
   ڹ

11.USEBONUSPOINT λã1-9 Ʒ+-= 
   ע: Եֵ,ʵʵЧֵ, USEBONUSPOINT 1 + 5 ʵӵ5㹥,5Ե.

[@Main]
#ACT
USEBONUSPOINT 1 + 20
SENDMSG 7 20.

[@Main]
#ACT
USEBONUSPOINT 2 + 20
SENDMSG 7 ħ20.

[@Main]
#ACT
USEBONUSPOINT 3 + 20
SENDMSG 7 20.

[@Main]
#ACT
USEBONUSPOINT 4 + 20
SENDMSG 7 20.

[@Main]
#ACT
USEBONUSPOINT 5 + 20
SENDMSG 7 ħ20.

[@Main]
#ACT
USEBONUSPOINT 6 + 20
SENDMSG 7 ֵ20

[@Main]
#ACT
USEBONUSPOINT 7 + 20
SENDMSG 7 ħֵ20.

[@Main]
#ACT
USEBONUSPOINT 8 + 20
SENDMSG 7 ׼ȷ20.

[@Main]
#ACT
USEBONUSPOINT 9 + 20
SENDMSG 7 20.


12.MapHumIsSameGuild ͼ л  ӽűMapHumIsSameGuild,⵱ǰͼеǷͬһл
  #if
   MapHumIsSameGuild 3 л(Բлƣʾ⵱ǰл)
  #say
   ͬһл

13.CHECKITEMADDVALUE Ʒλ(0-12) λ(0-14) ( < > =) ֵ    Ʒĸֵ
  #if
   CHECKITEMADDVALUE 0 0 > 1  
  #say
   ·ֵ1

14.. 
   ʽ: ChangeHumAbility (1-10)  (=/-/+)  Ч(1-65535)
   ˵: 1-10ֱӦ   ħ ħ   ħ ħ  
   ע:ЧֻʱЧ. 
   #IF
   #ACT
    ChangeHumAbility 1 + 10
   #SAY
    ķ10.

15.޸ĽűMOVRָ֧Χڵ.ڿôɵڶ֮.
  MOVR G10 100        ;100ڵ.
  MOVR G10 10 100    ;10-100֮
  MOVR G10 100 5000  ;100-5000֮
  MOVR G10 1000 9999  ;1000-9999֮

16ӲӢNPC
----------------------------------------------------
#IF
//ǷӢ
HAVEHERO
#ELSEACT
MESSAGEBOX ԲûӢۣ
BREAK

#IF
//ӢǷ
CHECKHEROONLINE
#ELSEACT
MESSAGEBOX ԲӢ۲ߣ
BREAK

#IF
//Ӣ۵ȼ
CHECKHEROLEVEL < 28
#ACT
//޸Ӣ۵ȼ
CHANGEHEROLEVEL +/-/= 28

#IF
//Ӣְҵ(սʿ)
CHECKHEROJOB WARRIOR
#ACT
//ıӢְҵ(ʦ)
CHANGEHEROJOB WIZARD
//Ӣۼ
CLEARHEROSKILL

#IF
//ӢPKֵ
CHECKHEROPKPOINT 2
#ACT
//ıӢPKֵ
CHANGEHEROPKPOINT +/-/= 100

#IF
CHECKHEROLEVEL > 10
#ACT
//ıӢ۾ֵ
CHANGEHEROEXP +/-/= 100000000


17.NPCOFFLINEPLAYERCOUNT⵱ǰѻ #IF OFFLINEPLAYERCOUNT >/</=/?  ע?ʾ>=
  #if
   OFFLINEPLAYERCOUNT > 100
  #say
   ǰѻ100 

18.˶ʱű.
  ʽ: SETONTIMER ʱ(0-255) ʱλΪ룩 ѭ(ΪգΪʱѭָ˳)
  ˵: ʱűλQManage.txt,ʱӦΪ[@OnTimer0] [@OnTimer1] [@OnTimer2]  ... [@OnTimer255]
  :
  #IF
  #ACT
   SetOnTimer 0 20 3

  QManage.txt:
  [@OnTimer0]
  #ACT
  SendMsg 5 Ŀǰλ%m(%x%y)