turning #gm on will make all npcs non-aggro to you regardless of your level and their level
to increase your status to use all commands, run this query in the sql database replacing [yourname] with your user name. make sure to leave the single quotes around it and make sure to type it properly it is CaSe SenSiTive
Code:
UPDATE `account` SET `status` = 255 WHERE `name` = '[yourname]' LIMIT 1;