Introduction

List of #IF and #ACT NPC Commands, currently unfiltered. Majority of these commands can be used on a Hero by adding Hero. to the front of the commands. For example: HERO.GIVE Candle
#IF Commands

CHECK 
RANDOM 
GENDER 
DAYTIME 
CHECKOPEN 
CHECKUNIT 
CHECKLEVEL 
CHECKJOB 
CHECKBBCOUNT 
CHECKITEM 
CHECKITEMW 
CHECKGOLD 
ISTAKEITEM 
CHECKDURA 
CHECKDURAEVA 
DAYOFWEEK 
HOUR 
MIN 
CHECKPKPOINT 
CHECKLUCKYPOINT 
CHECKMONMAP 
CHECKMONAREA 
CHECKHUM 
CHECKBAGGAGE 
EQUAL 
LARGE 
SMALL 
CHECKMAGIC 
CHKMAGICLEVEL 
CHECKMONRECALL 
CHECKHORSE 
CHECKRIDING 
STARTDAILYQUEST 
CHECKDAILYQUEST 
RANDOMEX 
CHECKNAMELIST 
CHECKWEAPONLEVEL 
CHECKWEAPONATOM 
CHECKREFINEWEAPON 
CHECKWEAPONMCTYPE 
CHECKREFINEITEM 
HASWEAPONATOM 
ISGUILDMASTER 
CANPROPOSECASTLEWAR 
CANHAVESHOOTER 
CHECKFAME 
ISONCASTLEWAR 
ISONREADYCASTLEWAR 
ISCASTLEGUILD 
ISATTACKGUILD 
ISDEFENSEGUILD 
CHECKSHOOTER 
CHECKSAVEDSHOOTER 
HAVEGUILD  
CHECKCASTLEDOOR  
CHECKCASTLEDOOROPEN  
CHECKPOS 
CANCHARGESHOOTER 
ISATTACKALLYGUILD  
ISDEFENSEALLYGUILD 
TESTTEAM 
ISSYSOP 
ISADMIN 
CHECKBONUS 
CHECKMARRIAGE 
CHECKMARRIAGERING 
CHECKGMETERM 
CHECKOPENGME 
CHECKENTERGMEMAP 
CHECKSERVER 
ELARGE 
ESMALL 
CHECKGROUPCOUNT 
CHECKACCESSORY 
ONERROR 
CHECKARMOR 
CHECKACCOUNTLIST 
CHECKIPLIST 
CHECKCREDITPOINT 
CHECKPOSEDIR 
CHECKPOSELEVEL 
CHECKPOSEGENDER 
CHECKLEVELEX 
CHECKBONUSPOINT 
CHECKMARRY 
CHECKPOSEMARRY 
CHECKMARRYCOUNT 
CHECKMASTER 
HAVEMASTER 
CHECKPOSEMASTER 
POSEHAVEMASTER 
CHECKPOSEISMASTER 
CHECKISMASTER 
CHECKNAMEIPLIST 
CHECKACCOUNTIPLIST 
CHECKSLAVECOUNT 
ISCASTLEMASTER 
ISNEWHUMAN 
CHECKMEMBERTYPE 
CHECKMEMBERLEVEL 
CHECKGAMEGOLD 
CHECKGAMEPOINT 
CHECKNAMELISTPOSITION 
CHECKGUILDLIST 
CHECKRENEWLEVEL 
CHECKSLAVELEVEL 
CHECKSLAVENAME 
CHECKCREDITPOINT 
CHECKOFGUILD 
CHECKPAYMENT 
CHECKUSEITEM 
CHECKBAGSIZE 
CHECKLISTCOUNT 
CHECKDC 
CHECKMC 
CHECKSC 
CHECKHP 
CHECKMP 
CHECKITEMTYPE 
CHECKEXP 
CHECKCASTLEGOLD 
PASSWORDERRORCOUNT 
ISLOCKPASSWORD 
ISLOCKSTORAGE 
CHECKGUILDBUILDPOINT 
CHECKGUILDAURAEPOINT 
CHECKGUILDSTABILITYPOINT 
CHECKGUILDFLOURISHPOINT 
CHECKCONTRIBUTION 
CHECKRANGEMONCOUNT 
CHECKITEMADDVALUE 
CHECKINMAPRANGE 
CASTLECHANGEDAY 
CASTLEWARAY 
ONLINELONGMIN 
CHECKGUILDCHIEFITEMCOUNT 
CHECKNAMEDATELIST 
CHECKMAPHUMANCOUNT 
CHECKMAPMONCOUNT 
CHECKVAR 
CHECKSERVERNAME 
CHECKMAPNAME 
INSAFEZONE 
CHECKSKILL 
CHECKUSERDATE 
CHECKCONTAINSTEXT 
COMPARETEXT 
CHECKTEXTLIST 
ISGROUPMASTER 
CHECKCONTAINSTEXTLIST 
CHECKONLINE 
CHECKTEXTLENGTH 
ISDUPMODE 
ISOFFLINEMODE 
CHECKSTATIONTIME 
CHECKSIGNMAP 
HAVEHERO 
CHECKHEROONLINE 
CHECKHEROLEVEL 
CHECKHEROJOB 
CHECKGUILDMEMBERMAXLIMIT 
CHECKGUILDNAMEDATELIST 
CHECKRANGEROUPCOUNT 
CHECKONLINEPLAYCOUNT 
CHECKITEMLIMIT 
CHECKITEMLIMITCOUNT 
CHECKMEMORYITEM 
CHECKUPGRADEITEMS 
CHECKIPUTTEM 
CHECKDEATH 
ISUNDERWAR 
CHECKPKPOINTEX 
CHECKUSEITEMBIND 
CHECKITEMBIND 
CHECKITEMNEWADDVALUE 
ISSPACELOCK 
CHECKRANGEMAPMAGICEVENTCOUNT 
CHECKITEMNEWADDVALUECOUNT 
GETDUELMAP 
CHECKMAPDUELING 
CHECKHUMDUELING 
CHECKCANUSEITEM 
CHECKINCURRRECT 
CHECKGUILDMEMBER 
INDEXOF 
CHECKMASKED 
CHECKUSEITEMSTARSLEVEL 
CHECKBAGITEMSTARSLEVEL 
CHECKHEROGROUP 
CHECKPUTITEMTYPE 
CHECKSLAVERANGE 
ISAI 
CHECKBAGITEMINLIST 
INCASTLEWARAREA 

#ACT Commands

SET 
TAKE 
GIVE 
TAKEW 
CLOSE 
RESET 
SETOPEN 
SETUNIT 
RESETUNIT 
BREAK 
TIMERECALL 
PARAM1 
PARAM2 
PARAM3 
PARAM4 
EXEACTION 
MAPMOVE 
MAP 
TAKECHECKITEM 
MONGEN 
MONGENP 
MONCLEAR 
MOV 
INC 
DEC 
SUM 
DIV 
MUL 
PERCENT 
BREAKTIMERECALL 
SENDMSG 
CHANGEMODE 
PKPOINT 
CHANGEXP 
RECALLMOB 
KICK 
MOVR 
EXCHANGEMAP 
RECALLMAP 
ADDBATCH 
BATCHDELAY 
BATCHMOVE 
PLAYDICE 
PASTEMAP 
LOADGEN 
ADDNAMELIST 
DELNAMELIST 
ADDGUILDLIST 
DELGUILDLIST 
ADDACCOUNTLIST 
DELACCOUNTLIST 
ADDIPLIST 
DELIPLIST 
GOQUEST 
ENDQUEST 
GOTO 
HAIRCOLOR 
WEARCOLOR 
HAIRSTYLE 
MONRECALL 
HORSECALL 
HAIRRNDCOL 
RANDSETDAILYQUEST 
REFINEWEAPON 
RECALLGROUPMEMBERS 
MAPTING 
WRITEWEAPONNAME 
DELAYGOTO 
ENABLECMD 
LINEMSG 
EVENTMSG 
SOUNDMSG 
SETMISSION 
CLEARMISSION 
MONPWR 
ENTER_OK 
ENTER_FAIL 
MONADDITEM 
CHANGEWEATHER 
CHANGEWEAPONATOM 
GETREPAIRCOST 
KILLHORSE 
REPAIRITEM 
USEREMERGENCYCLOSE 
BUILDGUILD 
GUILDWAR 
CHANGEUSERNAME 
CHANGEMONLEVEL 
DROPITEMMAP 
CLEARITEMMAP 
PROPOSECASTLEWAR 
FINISHCASTLEWAR 
MOVENPC 
SPEAK 
SENDCMD 
INCFAME 
DECFAME 
CAPTURECASTLEFLAG 
MAKESHOOTER 
KILLSHOOTER 
LEAVESHOOTER 
CHANGEMAPATTR 
RESETMAPATTR 
MAKECASTLEDOOR 
REPAIRCASTLEDOOR 
CHARGESHOOTER 
SETAREAATTR 
CLEARDELAYGOTO 
TESTFLAG 
APPLYFLAG 
PASTEFLAG 
GETBACKCASTLEGOLD 
GETBACKUPGITEM 
TINGWAR 
SAVEPASSWD 
CREATENPC 
TAKEBONUS 
SYSMSG 
LOADVALUE 
SAVEVALUE 
SAVELOG 
GETMARRIED 
DIVORCE 
CAPTURESAYING 
CANCELMARRIAGERING 
OPENUSERMARKET 
SETTYPEUSERMARKET 
CHECKSOLDITEMSUSERMARKET 
SETGMEMAP 
SETGMEPOINT 
SETGMETIME 
STARTNEWGME 
MOVETOGMEMAP 
FINISHGME 
CONTINUEGME 
SETGMEPLAYTIME 
SETGMEPAUSETIME 
SETGMELIMITUSER 
SETEVENTMAP 
RESETEVENTMAP 
TESTREFINEPOINTS 
RESETREFINEWEAPON 
TESTREFINEACCESSORIES 
REFINEACCESSORIES 
APPLYMONMISSION 
MAPMOVER 
ADDSTR 
SETEVENTDAMAGE 
FORMATSTR 
CLEARPATH 
ADDPATH 
APPLYPATH 
MAPSPELL 
GIVEEXP 
GROUPMOVE 
GIVEEXPMAP 
APPLYMONEX 
CLEARNAMELIST 
TINGCASTLEVISITOR 
MAKEHEALZONE 
MAKEDAMAGEZONE 
CLEARZONE 
READVALUESQL 
READSTRINGSQL 
WRITEVALUESQL 
INCVALUESQL 
DECVALUESQL 
UPDATEVALUESQL 
KILLSLAVE 
SETITEMEVENT 
REMOVEITEMEVENT 
RETURN 
CLEARCASTLEOWNER 
DISSOLUTIONGUILD 
CHANGEGENDER 
SETFAME 
CHANGELEVEL 
MARRY 
UNMARRY 
GETMARRY 
GETMASTER 
CLEARSKILL 
DELNOJOBSKILL 
DELSKILL 
ADDSKILL 
SKILLLEVEL 
CHANGEPKPOINT 
CHANGEEXP 
CHANGEJOB 
MISSION 
MOBPLACE 
SETMEMBERTYPE 
SETMEMBERLEVEL 
GAMEGOLD 
AUTOADDGAMEGOLD 
AUTOSUBGAMEGOLD 
CHANGENAMECOLOR 
CLEARPASSWORD 
RENEWLEVEL 
KILLMONEXPRATE 
POWERRATE 
CHANGEMODE 
CHANGEPERMISSION 
KILL 
KICK 
BONUSPOINT 
RESTRENEWLEVEL 
DELMARRY 
DELMASTER 
MASTER 
UNMASTER 
CREDITPOINT 
CLEARNEEDITEMS 
CLEARMAKEITEMS 
SETSENDMSGFLAG 
UPGRADEITEM 
UPGRADEITEMEX 
MONGENEX 
CLEARMAPMON 
SETMPAMODE 
GAMEPOINT 
PKZONE 
RESTBONUSPOINT 
TAKECASTLEGOLD 
HUMANHP 
HUMANMP 
GUILDBUILDPOINT 
GUILDAURAEPOINT 
GUILDSTABILITYPOINT 
GUILDFLOURISHPOINT 
OPENITEMBOX
SETRANKLEVELNAME 
GMEXECUTE 
GUILDCHIEFITEMCOUNT 
ADDNAMEDATELIST 
DELNAMEDATELIST 
MOBFIREBURN 
MESSAGEBOX 
SETSCRIPTFLAG 
SETAUTOGETEXP 
VAR 
LOADVAR 
SAVEVAR 
CALCVAR 
OFFLINEPLAY 
KICKOFFLINE 
STARTTAKEGOLD 
DELAYGOTO 
CLEARDELAYGOTO 
CHANGERECOMMENDGAMEGOLD 
ADDUSERDATE 
DELUSERDATE 
ANSIREPLACETEXT 
ENCODETEXT 
DECODETEXT 
ADDTEXTLIST 
DELTEXTLIST 
GROUPMAPMOVE 
RECALLHUMAN 
REGOTO 
INTTOSTR 
STRTOINT 
GUILDMOVE 
GUILDMAPMOVE 
RANDOMMOVE 
USEBONUSPOINT 
TAKEONITEM 
TAKEOFFITEM 
CREATEHERO 
DELETEHERO 
GIVEEX 
TIMEOPEN 
TIMECLOSE 
GUILDMEMBERMAXLIMIT 
ADDGUILDNAMEDATELIST 
DELGUILDNAMEDATELIST 
GOHOME 
ADDBLOCKIPLIST 
MOVEDATA 
SENDCOLORMSG 
ADDRANDOMMAPGATE 
DELRANDOMMAPGATE 
GETRANDOMMAPGATE 
OPENBOOK 
OPENBOX 
CHANGEITEMS 
CLEARREMEMBER 
SENDMOVEMSG 
RECALLHERO 
HEROLOGOUT 
SETITEMSLIGHT 
READRANDOMSTR 
CHANGERANGEMONPOS 
READ 
WRITE 
CHANGEITEMNEWADDVALUE 
OPENHOMEPAGE 
PKZONEX 
SETITEMSLIGHTEX 
SPELL 
ADDMAPMAGICEVENT 
RANDOMADDMAPMAGICEVENT 
SNOW 
RANDOMUPGRADEITEM 
LOCK 
UNLOCK 
CLEARDUELMAP 
GETDUELITEMS 
APPDUEL 
CANUSEITEM 
AUTOGOTOXY 
CHANGENEWSTATUS 
SENDDELAYMSG 
ACTVARLIST 
SETMASKED 
SENDCENTERMSG 
CHANGEUSEITEMSTARSLEVEL 
CHANGEBAGITEMSTARSLEVEL 
BINDBAGITEM 
HEROGROUP 
UNHEROGROUP 
SETONTIMER 
SETOFFTIMER 
PLAYSOUND 
SHOWEFFECT 
CHANGEITEMVALUE 
VIBRATION 
OPENBIGDIALOGBOX 
CLOSEBIGDIALOGBOX 
TAGMAPMOVE 
TAGMAPINFO 
AISTART 
AISTOP 
CHANGEIPADDRESS 
CHANGEATTATCKMODE 
AILOGON 
AILOGONEX 
KICKALL 
TAKEITEMLIST 
SHOWRANKLEVLNAME 
LOADROBOTCONFIG 