- Joined
- Aug 26, 2008
- Messages
- 4
- Reaction score
- 0
So, this is my first contribution to the community of ragezone, though it may not be the biggest. I have listed all of the commands from ThePack Rev 80, and added them to an NPC, then organized them so they're easy to find. I made this for a GM I hired, and he has no experience. So this could be useful for you.
NPC Script :
How to use : Copy and paste the script above into a notepad file, then save it as [NPC ID].js.
CREDITS.
MOST, if not ALL Credits go to Moogra, for creating ThePack, and the commands list from which I copied it from.
NPC Script :
Code:
var status = 0;
function start() {
if (cm.getChar().isGM() == true) {
cm.sendSimple("Hello there, wise GM!\r\n\r\nWhat type of command will you be studying today?!?!\r\n#e#b\r\n#L0#Admin Commands#l#r\r\n#L1#Super Commands#l\r\n#d#L2#GM Commands#l#g\r\n#L3#Intern Commands#l#k\r\n#L4#Donator Commands#l#n\r\n#L5#Player Commands#l");
} else {
cm.sendSimple("Hello there, average player!\r\n\r\nWhat type of command will you be studing today?!?!?!#b#e\r\n#L5#Player Commands#l");
cm.dispose();
}
}
function action(mode, type, selection) {
if (mode == -1)
cm.dispose();
else {
if (status >= 0 && mode == 0) {
cm.dispose();
} else
status++;
if (status == 1) {
if (selection == 0) {
cm.sendOk("#eAdmin Commands#n\r\nFor characters with a GM level of 5 or higher.\r\n\r\n!pmob [mobid] [mobtime] - Permanently creats a mob at that point.\r\n!pnpc [npc] - Permanently creates a npc at that spot.\r\n!sql [command] - Does an ingame SQL Command.\r\n!setGMLevel [person][level] - Set's [person]'s GM level to [level].\r\n!shutdown [minutes] - Shuts down server.\r\n!shutdownnow - Shuts the server down immediately");
cm.dispose();
} else if (selection == 1) {
cm.sendOk("#eSuper Commands#n\r\nFor characters with a GM level of 4 or higher.\r\n\r\n!checkkarma [user] - Check karma of the user.\r\n!dcall - Disconnects everyone in the server.\r\n!horntail - Spawns Horntail.\r\n!givedonatorpoint [user] [num] - Gives [user] [num] donator points.\r\n!npc [npcid] - Spawns a NPC [npcid].\r\n!removenpcs [npc arraylist] - Removes every npc in [npc arraylist].\r\n!ringme [ringid] [user] - Gives self a ring with [user].\r\n!sex [user] [type] [message] - Sends a Smega for [User] with the message [message].\r\n!speak [user] [message] - Makes [user] say [message].\r\n!unban [userid] - Unbans [user]'s IP and account.\r\n!zakum - Spawns Zakum.");
cm.dispose();
} else if (selection == 2) {
cm.sendSimple("#eGM Commands#n\r\nFor characters with a GM level of 3 or higher.\r\n\r\n#b#L0#Monster Commands#l\r\n#L1#Stat Commands#l\r\n#L2#Rate Commands#l\r\n#L3#Person Commands#l\r\n#L4#Self Commands#l\r\n#L5#Ban Commands#l\r\n#L6#Message Commands#l\r\n#L7#Item Commands#l\r\n#L8#User Location Commands#l\r\n#L9#Other Commands#l");
} else if (selection == 3) {
cm.sendOk("#eIntern Commands#n\r\nFor characters with a GM level of 2 or higher.\r\n\r\n!glimmer - Opens a shop that sells NLC items.\r\n!gmshop - Opens the GM Shop.\r\n!maple - Opens a shop that sells maple items.\r\n!misc - Opens a shop with chairs, gloves and rare items.\r\n!sbag - Opens the summon bag shop.\r\n!scroll - Opens the scroll shop.\r\n#e!cheaters - Shows the cheaters in the server.#n\r\n!map [mapid] - Warps you to [mapid].");
cm.dispose();
} else if (selection == 4) {
cm.sendOk("#eDonator Commands#n\r\nFor characters with a GM level of 1 or higher.\r\n\r\n!buffme - Gives you a variety of buffs.\r\n!online - Shows how many people are online.\r\n!goto [map] - Go to [map].");
cm.dispose();
} else if (selection == 5) {
cm.sendOk("#ePlayer Commands#n\r\nAvailable for all players.\r\n\r\n@bot - Helps you with the server bot.\r\n@checkkarma - Shows how much karma you have.\r\n@credits - Shows Credits.\r\n@dispose - Use if you're stuck.\r\n@emo - Kill yourself.\r\n@expfix - This resets your exp to 0.\r\n@fmnpc - Opens Shanks.\r\n@help - This shows all the player commands.\r\n@karma [raise/drop] [user] - Raises or drops [user's] karma [costs 1 karma to do, 40 needed to use command]\r\n@rebirth - Does Reborn/Rebirth at level 200+.\r\n@save - Saves your data.\r\n@str [num] - Adds [num] str.\r\n@dex [num] - Adds [num] dex.\r\n@int [num] - Adds [num] int.\r\n@luk [num] - Adds [num] luk.\r\n@version - Shows Version.\r\n@warphere [player] - Warps [player] to your map, need 5 karma to use.");
cm.dispose();
}
} else if (status == 2) {
if (selection == 0) {
cm.sendOk("!anego - Spawns Anego.\r\n!balrog - Spawns Balrogs.\r\n!bird - Spawns Phoenix and Freezer.\r\n!blackcrow - Spawns Black Crow.\r\n!bob - Spawns Bob the Snail.\r\n!centipede - Spawns Centipede.\r\n!clone - Spawns Clone Bosses.\r\n!coke - Spawns Coke Monsters.\r\n!ergoth - Spawns Ergoth.\r\n!franken - Spawns Frankensteins.\r\n!horseman - Spawns Headless Horseman.\r\n!leafreboss - Spawns Bosses of Leafre.\r\n!loki - Spawns Loki Box.\r\n!ludimini - Spawns Minibosses.\r\n!mushmom - Spawns Mushmoms.\r\n!nx - Spawns 10 NX Slimes.\r\n!pap - Spawns Papulatus.\r\n!papapixie - Spawns Papa Pixie.\r\n!pianus - Spawns Pianus.\r\n!pirate - Spawns Pirates.\r\n!snackbar - Spawns Snack Bar.\r\n!theboss - Spawns The Boss.");
cm.dispose();
} else if (selection == 1) {
cm.sendOk("!exp [number] - Sets [number] as exp.\r\n!god - Sets Hit-Godmode.\r\n!level [number] - Sets [number] as level.\r\n!maxall - Maxes stats.\r\n!setall [number] - Sets Str/Dex/Int/Luk as [number].\r\n!levelup - Levels you up one level.");
cm.dispose();
} else if (selection == 2) {
cm.sendOk("!exprate [num] - Sets exp rate as [num].\r\n!mesorate [num] - Sets meso rate as [num].\r\n!droprate [num] - Sets drop rate as [num].\r\n!bossdroprate [num] - Sets boss drop rate as [num].\r\n!petexprate [num] - Sets pet exp rate to [num].\r\n!mountexprate [num] - Sets mount exp rate to [num].\r\n!shopmesorate [num] - Sets shop meso rate to [num].");
cm.dispose();
} else if (selection == 3) {
cm.sendOk("!giftnx [user] [amount] - Gifts [user] [amount] nx.\r\n!healperson [user] - Heals [user].\r\n!healmap - Heals the whole map.\r\n!hurt [name] - Sets HP/MP of name to 1.\r\n!jobperson [person] [jobid] - Gives [person] job with jobid [jobid].\r\n!kill [user] - Kills [user].\r\n!killeveryone - Kills everyone in the server.\r\n!killmap - Kills everyone in your map.\r\n!levelperson [user] [level] - Set's [user] to level [level].\r\n!lolhaha [user] - Switches the gender of [user].\r\n!mesoperson [user] [mesos] - Gives [user] [mesos] mesos.\r\n!mute [person] - Mutes the person.\r\n!slap [person] [damage] - Slaps [person] with [damage] damage. \r\n!warphere [user] - Warps [user] to your map.\r\n!warpmap [map] - warps everyone in your map to [map].\r\n!karma [up/down] [victim] - Raises or drops the karma of a user.");
cm.dispose();
} else if (selection == 4) {
cm.sendOk("!chattype - Switches your GM white chat to black, or vice-versa.\r\n!fakechar [num] - Creates a clone of you [num] times.\r\n!fame - Sets your fame to [number].\r\n!heal - Heals you to max.\r\n!job [jobid] - Changes your job to [job].\r\n!levelup - Levels you up.\r\n!maxall - Maxes all your stats.\r\n!mesos [number] - Adds [number] mesos to your account.\r\n!skill [skill] [level] - Gives you [skill] at level [level].\r\n!warp [mapid] [portal] - Warps you to [mapid] and portal [portal].");
cm.dispose();
} else if (selection == 5) {
cm.sendOk("!ban [user] [reason] - Ban [user].\r\n!dc [user] - Disconnects [user].\r\n!getnamebyid [id] - Gets the name of a user with id [id].\r\n!jail [jailnum] [user] - Jails [user].\r\n!unjail [user] - Sends [user] to Henesys.");
cm.dispose();
} else if (selection == 6) {
cm.sendOk("!gmchat - Enables or disables GM Chat.\r\n!gmsg [message] - Sends all GMs [message].\r\n!mute [type] [user] - Mutes [user]'s [type] of chat (ex: smega, whisper).\r\n!notice [message] - Sends a notice to the whole server.\r\n!removebot - Removes the Server Bot.\r\n!say [message] - Say a message to the whole server.\r\n!servermessage [message] - Changes the world message.");
cm.dispose();
} else if (selection == 7) {
cm.sendOk("!drop [id] [amount] - Drops item with id [id] and amount [amount].\r\n!droprandomstatitem [id] - Drops item [id] with random stats.\r\n!id [name] - Searches IDs.\r\n!item [id] [amount] - Gains item with id [id] and amount [amount].");
cm.dispose();
} else if (selection == 8) {
cm.sendOk("!charinfo [user] - Gets Character info.\r\n!connected - Shows how many people are connected to the server.\r\n!pos - Shows your position in your map.\r\n!whereami - Shows what map you are in.\r\n!whosthere - Shows who's in the map.");
cm.dispose();
} else if (selection == 9) {
cm.sendOk("!cancelBuffs [user] - Cancels buffs of [user].\r\n!cleardrops - Clears all drops on the map.\r\n!clock [time] - Creates a clock with time limit [time].\r\n!fakerelog - Fake relogs your character.\r\n!event - Starts an event in your map.\r\n!killall - Kill all monsters in the map.\r\n!killallmany - Kill all the monsters in your map and others' maps.\r\n!openshop [shop] - Opens a shop with id [shop].\r\n!saveall - Saves the server.\r\n!showMonsterID [mob] - Shows monster id of [mob].\r\n!spawn [mob] [amount] - Spawns [amount] of monster [mob].");
cm.dispose();
}
}
else {
cm.dispose();
}
}
}
How to use : Copy and paste the script above into a notepad file, then save it as [NPC ID].js.
CREDITS.
MOST, if not ALL Credits go to Moogra, for creating ThePack, and the commands list from which I copied it from.