: Creates a clickable selection menu.
: Adds an item to the player's inventory.
// Filename: npc/custom/test_npc.txt // Format: map,x,y,facing script NPC Name Sprite_ID,{ prontera,150,150,4 script Friendly Guide 101,{ mes "[Friendly Guide]"; mes "Welcome to the offline server!"; mes "Would you like some starter items?"; next; if (select("Yes please!:No thanks.") == 1) { getitem 501, 10; // Gives 10 Red Potions mes "[Friendly Guide]"; mes "There you go! Good luck on your journey."; } else { mes "[Friendly Guide]"; mes "Suit yourself. Have a nice day!"; } close; } Use code with caution. Copied to clipboard Where to Find Full Script Files
If you are looking for the complete text of official game scripts (like the Job Change quests or the Eden Group), you can find them in your server folder under the following paths:
In RO emulators, scripts generally follow a specific syntax.
npc/re/scripts_athena.conf (or pre-re for classic). Warpers & Utilities: npc/custom/warper.txt .
If you are trying to read or edit these "full texts," here are the most common commands you'll see: : Displays a message in the NPC dialog box. next; : Creates a "Next" button for the user to click. close; : Ends the conversation and closes the window.
Usually located in npc/scripts_main.conf , which acts as a directory pointing to hundreds of individual .txt files containing the full dialogue. Common Script Commands
No account yet?
Create an Account: Creates a clickable selection menu.
: Adds an item to the player's inventory.
// Filename: npc/custom/test_npc.txt // Format: map,x,y,facing script NPC Name Sprite_ID,{ prontera,150,150,4 script Friendly Guide 101,{ mes "[Friendly Guide]"; mes "Welcome to the offline server!"; mes "Would you like some starter items?"; next; if (select("Yes please!:No thanks.") == 1) { getitem 501, 10; // Gives 10 Red Potions mes "[Friendly Guide]"; mes "There you go! Good luck on your journey."; } else { mes "[Friendly Guide]"; mes "Suit yourself. Have a nice day!"; } close; } Use code with caution. Copied to clipboard Where to Find Full Script Files script npc ro offline
If you are looking for the complete text of official game scripts (like the Job Change quests or the Eden Group), you can find them in your server folder under the following paths:
In RO emulators, scripts generally follow a specific syntax. : Creates a clickable selection menu
npc/re/scripts_athena.conf (or pre-re for classic). Warpers & Utilities: npc/custom/warper.txt .
If you are trying to read or edit these "full texts," here are the most common commands you'll see: : Displays a message in the NPC dialog box. next; : Creates a "Next" button for the user to click. close; : Ends the conversation and closes the window. Good luck on your journey
Usually located in npc/scripts_main.conf , which acts as a directory pointing to hundreds of individual .txt files containing the full dialogue. Common Script Commands