NPC Commands

Demonic

LOMCN VIP
VIP
Dec 1, 2003
1,806
2
185
Re: npc commands

Sure - off the top of my head I think they are:

Code:
OR 
NOT 
CHECK 
CHECKOPEN 
CHECKUNIT 
RANDOM 
GENDER 
DAYTIME 
CHECKLEVEL 
CHECKJOB 
CHECKWEAPONLEVEL 
CHECKWEAPONATOM 
CHECKREFINEWEAPON 
CHECKWEAPONMCTYPE 
CHECKREFINEITEM 
HASWEAPONATOM 
CHECKMONRECALL 
CHECKMAGIC 
CHKMAGICLEVEL 
STARTDAILYQUEST 
CHECKDAILYQUEST 
RANDOMEX 
CHECKHORSE 
CHECKRIDING 
CHECKITEM 
CHECKITEMW 
CHECKGOLD 
ISTAKEITEM 
CHECKDURA 
CHECKDURAW 
CHECKDURAEVA 
DAYOFWEEK 
HOUR 
MIN 
CHECKPKPOINT 
CHECKMONMAP 
CHECKHUM 
CHECKPOS 
CHECKBAGGAGE 
MOV 
INC 
DEC 
EQUAL 
LARGE 
SMALL 
ELARGE 
ESMALL 
CHECKNAMELIST 
ISGUILDMASTER 
HASGUILD 
CANPROPOSECASTLEWAR 
CANHAVESHOOTER 
CHECKFAME 
ISONCASTLEWAR 
ISONREADYCASTLEWAR 
ISCASTLEGUILD 
ISATTACKGUILD 
ISDEFENSEGUILD 
CHECKSHOOTER 
CHECKSAVEDSHOOTER 
CHECKCASTLEDOOR 
CHECKCASTLEDOOROPEN 
CANCHARGESHOOTER 
ISATTACKALLYGUILD 
ISDEFENSEALLYGUILD 
TESTTEAM 
ISSYSOP 
ISADMIN 
CHECKBONUS 
CHECKMARRIAGE 
CHECKMARRIAGERING 
CHECKGMETERM 
CHECKOPENGME 
CHECKENTERGMEMAP 
CHECKSERVER 
CHECKGROUPCOUNT 
CHECKACCESSORY 
ONERROR 
CHECKARMOR 

SET 
RESET 
SETOPEN 
SETUNIT 
RESETUNIT 
TAKE 
GIVE 
GIVEW 
TAKEW 
CLOSE 
MAPMOVE 
MAP 
BREAK 
TIMERECALL 
BREAKTIMERECALL 
PARAM1 
PARAM2 
PARAM3 
PARAM4 
TAKECHECKITEM 
MONGEN 
MONGENP 
MONCLEAR 
MOV 
INC 
DEC 
SUM 
DIV 
MUL 
PERCENT 
MOVR 
EXCHANGEMAP 
RECALLMAP 
ADDBATCH 
BATCHDELAY 
BATCHMOVE 
PLAYDICE 
PASTEMAP 
LOADGEN 
GOTO 
HAIRCOLOR 
HAIRRNDCOL 
WEARCOLOR 
HAIRSTYLE 
MONRECALL 
HORSECALL 
KILLHORSE 
RANDSETDAILYQUEST 
ADDNAMELIST 
DELNAMELIST 
CLEARNAMELIST 
REFINEWEAPON 
GETREPAIRCOST 
REPAIRITEM 
RECALLGROUPMEMBERS 
MAPTING 
WRITEWEAPONNAME 
DELAYGOTO 
ENABLECMD 
LINEMSG 
EVENTMSG 
SOUNDMSG 
SETMISSION 
CLEARMISSION 
MONPWR 
ENTER_OK 
ENTER_FAIL 
MONADDITEM 
CHANGEWEATHER 
CHANGEWEAPONATOM 
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 
TINGCASTLEVISITOR 
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 
MAKEHEALZONE 
MAKEDAMAGEZONE 
CLEARZONE 
READVALUESQL 
READSTRINGSQL 
WRITEVALUESQL 
INCVALUESQL 
DECVALUESQL 
UPDATEVALUESQL 
KILLSLAVE 
SETITEMEVENT 
REMOVEITEMEVENT 
RETURN 
CLEARCASTLEOWNER 
DISSOLUTIONGUILD 
CHANGEGENDER 
SETFAME 
Local 
Grobal
 
Upvote 0

Vagrant

Golden Oldie
Golden Oldie
Jul 13, 2004
2,307
63
155
Romania
Re: npc commands

DayWalker™ said:
Will the majority of these work for EI files too?

/Stan
i dont know why they wouldnt,i think some of them will and some wont.just try them out :p

P.S. why are you makeing the old EI?And not 3G or JOB?
 
Upvote 0

Apostle

Dedicated Member
Dedicated Member
Oct 17, 2006
31
0
52
Re: npc commands

What is NPC command to Give Gold???

I tried givegold, didnt work lol
 
Upvote 0

idaBigA

Holley Mir 3!!
VIP
Oct 28, 2003
1,966
110
310
Stoke, UK
Anyone know of a command to take an item someone is wearing from a slot, no matter what that item is called.

i.e. Takes someones necklace, even when you don't know what its called.

I was thinking along the lines of

TakeW 3
or
TakeItemW 3

But I am not at home to test atm.
 
Upvote 0

MasterQ

LOMCN Veteran
Veteran
Loyal Member
Aug 6, 2006
462
0
62
London
Yeah, ide also like to know some more commands for MonAi_Def, Preferable more spells or how to teleport someone to another map if anyone knows.

-MasterQ.
 
Upvote 0

Amenovis

Golden Oldie
Golden Oldie
Loyal Member
Jan 9, 2006
1,105
0
143
Germany
teleport anyone to other map is simple

NPC = Mapmove
Normal Jump mapinfo.txt

look in ur envire folder and search for teleports there u see mapmove command in action if u go in mapinfo.txt and scroll down u find:

map1 x y -> map2 x y
that means if u are on a point on map1 x=10 y=10 u move automatically to map 2 x y coords (x and y = 10 is an example)
for bichon it looks like

0(bichonmap) 10,10 -> 2(Prajna) 10,10
schwups u are in prajna now on coords x 10 and y 10

mhh i hope it was easy to unerstand :) if not i will try it other to explain hehe
 
Upvote 0

Coly

LOMCN Developer
Developer
Mar 31, 2005
1,399
33
195
Germany
if you search for the NPC Commands :

map MapName (map 0) Move the Player to random Position in Bichon
mapmove Mapname x y (mapmove 0 100,100) Move the Player to Bichon
 
Upvote 0

MasterQ

LOMCN Veteran
Veteran
Loyal Member
Aug 6, 2006
462
0
62
London
if you search for the NPC Commands :

map MapName (map 0) Move the Player to random Position in Bichon
mapmove Mapname x y (mapmove 0 100,100) Move the Player to Bichon
Yes but i was on about MonAI, does that command work with mobs? (eg insetad of tadanga teleporting to you, he teleports you to another map)
 
Upvote 0

chimera

LOMCN VIP
VIP
Jul 30, 2003
1,054
23
235
UK
Mapmove is an NPC command, it knows the username because of the person accessing the NPC, with AI it wouldnt know the username - so no I don't believe it would work the same.
 
Upvote 0

idaBigA

Holley Mir 3!!
VIP
Oct 28, 2003
1,966
110
310
Stoke, UK
Been asked for this via PM, though it best to post for all. Commands to get the Top X amount of Players Wiz/Tao/War/All/Richest IN GAME. The Setting for the amount of players to list is in the CruelDragonMir3G.ini file..

Levels.JPG


Code:
[@Main]
#ACT
HLSCRIPTCMD SERVERTOP   ;This Refreshes the List
#SAY
Server Rankings\\
<[ All Top 20 ]/@AllLevels>\
<[ Top 20 Warrior ]/@WarriorLevels>\
<[ Top 20 Taoist ]/@TaoistLevels>\
<[ Top 20 Wizard ]/@WizardLevels>\
<[ Top 20 Rich Peeps ]/@TopRich>\\
<[ Exit ]/@exit>\\\

[@AllLevels]
#SAY
<$SERVERTOPALLLEVEL>\\
<[ Exit ]/@exit>\\\

[@TaoistLevels]
#SAY
<$SERVERTOPLEVEL2>\\
<[ Exit ]/@exit>\\\

[@WarriorLevels]
#SAY
<$SERVERTOPLEVEL0>\\
<[ Exit ]/@exit>\\\

[@WizardLevels]
#SAY
<$SERVERTOPLEVEL1>\\
<[ Exit ]/@exit>\\\

[@TopRich]
#SAY
<$SERVERTOPGOLD>\\
<[ Exit ]/@exit>\\\
 
Upvote 0

Geordiehc

Mad Dog Geo
VIP
Jul 4, 2007
2,827
49
195
Redditch, UK
Been asked for this via PM, though it best to post for all. Commands to get the Top X amount of Players Wiz/Tao/War/All/Richest IN GAME. The Setting for the amount of players to list is in the CruelDragonMir3G.ini file..

Levels.JPG


Code:
[@Main]
#ACT
HLSCRIPTCMD SERVERTOP   ;This Refreshes the List
#SAY
Server Rankings\\
<[ All Top 20 ]/@AllLevels>\
<[ Top 20 Warrior ]/@WarriorLevels>\
<[ Top 20 Taoist ]/@TaoistLevels>\
<[ Top 20 Wizard ]/@WizardLevels>\
<[ Top 20 Rich Peeps ]/@TopRich>\\
<[ Exit ]/@exit>\\\
 
[@AllLevels]
#SAY
<$SERVERTOPALLLEVEL>\\
<[ Exit ]/@exit>\\\
 
[@TaoistLevels]
#SAY
<$SERVERTOPLEVEL2>\\
<[ Exit ]/@exit>\\\
 
[@WarriorLevels]
#SAY
<$SERVERTOPLEVEL0>\\
<[ Exit ]/@exit>\\\
 
[@WizardLevels]
#SAY
<$SERVERTOPLEVEL1>\\
<[ Exit ]/@exit>\\\
 
[@TopRich]
#SAY
<$SERVERTOPGOLD>\\
<[ Exit ]/@exit>\\\
Nive 1 m8 ive bene using this code for like a week now but is there a way to take out GM's from these lists? and also how is it updated? can the update of the top list be speeded up?
 
Upvote 0

idaBigA

Holley Mir 3!!
VIP
Oct 28, 2003
1,966
110
310
Stoke, UK
Nive 1 m8 ive bene using this code for like a week now but is there a way to take out GM's from these lists? and also how is it updated? can the update of the top list be speeded up?

Its updated when the SQL is.. every 10 mins (I think)

MasterQ

Yes, default it 10, I increased to 20 because of the GM's on the server taking the top slots.
 
Upvote 0

idaBigA

Holley Mir 3!!
VIP
Oct 28, 2003
1,966
110
310
Stoke, UK
HLSCRIPTCMD LOCKUSER

Dont work, even tried it on a seperate NPC

You have to enable it in the CruelDragonMir3G.ini file or Holley Screen as shown on the post on Avenge Chat by Chimera.

no way to take GM's out the list tho unless your below the top 10?

No mate, to ensure they are out, you will need to delevel yourself each time you log off.

One Easy way of doing it, is to have a room that Automatically delevels you. and then when you log in, the Login Script levels you back up again so you can test things (and not die). I always move to a GM Room when I leave the game so I know I can log in quietly. Adding a De-leveller to that room is easy enough.

Or, you could just @changelevel GMName 10 just before you log out every time - But I never remember.. so I am always in the top 20 lol.
 
Last edited:
Upvote 1