srdrpc2sql

Index Home Arana > Arana Architecture > Arana Utilities > srdrpc2sql

srdrpc2sql

This command converts SRD NPC text to SQL for PC db table. The SRD text must be plain. The output is suitable SQL to append/modify NPCs in the Arana PC database table.

The command syntax is:

srdrpc2sql [-update] [-insert] [filename]

where,

Option

Description

-update

Generate SQL statements using UPDATE.

-insert

Generate SQL statements using INSERT.

filename

The file to parse. If none specified, /data/netdisk/dnd/doc/SRD-NPCs.txt is read.