lookup GM command - VanaDev/Vana GitHub Wiki
Category: Information
Syntax: <${item | equip | use | setup | etc | cash | skill | map | mob | npc | quest | continent | id | scriptbyname | scriptbyid | whatdrops | whatmaps | music | drops}> <$search | #id>
Default GM level: 1
Notes: Uses the database to perform a lookup of the specified type.
The following lookup types all behave very similarly:
- item
- equip
- use
- setup
- etc
- cash
- skill
- map
- mob
- npc
- quest
!lookup item ice demon Search for 'ice demon' 2290042 : [Mastery Book] Ice Demon 2290043 : [Mastery Book] Ice Demon
Lookup type "id" requires an integral argument.
!lookup id 5000000 Search for '5000000' 5000000 (item) : Brown Kitty 5000000 (skill) : Bullet Time
Lookup type "continent" can work without an argument or must have a map string or map ID specified.
!lookup continent henesys Continent ID of 100000000 : 1
Lookup type "scriptbyname" requires a string argument.
!lookup scriptbyname party1 Search for 'party1' 9020000 (npc): party1_enter 9020001 (npc): party1_play 9020002 (npc): party1_out
Lookup type "scriptbyid" requires an integral argument.
!lookup scriptbyid 1012000 Search for '1012000' 1012000 (npc): taxi2 1012000 (reactor): vFlowerItem0
Lookup type "music" requires a string argument.
!lookup music hontale Search for 'hontale' Bgm14/CaveOfHontale
Lookup type "whatdrops" requires an integral argument that represents an item.
!lookup whatdrops 1002357 8800002 : Zakum3
Lookup type "drops" requires an integral argument that represents a mob or reactor. The base drop rate (e.g. the drop rate at 1x) is indicated with the item.
!lookup drops 5150000 Search for '5150000' 1002029 : Red Oriental Helmet (base rate x.xxxx%)
Lookup type "whatmaps" is the most complicated lookup type. It allows you to go from an object type to a set of maps. Note that unlike other searches, the portal string search is an exact match. You must use an exact script name in order to find the appropriate maps.
whatmaps syntax: <${portal | mob | reactor | npc }> <{$script name if portal | #id otherwise}>
!lookup whatmaps mob 9300019 Search for '9300019' 990000420 : Sharenian - Room of Courage
!lookup whatmaps reactor 9202001 Search for '9202001' 990000410 : Sharenian - Room of Glory 990000410 : Sharenian - Room of Pledge
!lookup whatmaps portal zakum05 Search for 'zakum05' 211042300 : El Nath - The Door to Zakum
!lookup whatmaps npc 230000 Search for '2030000' 211040200 : El Nath - Ice Valley II