Skip to main content

MP-BUILDING

Keywords: MP-BUILDING
The first step to build a mobile program is building the mobile, see which trigger is better to use, and build the code. To build the code you need see what virtual numbers are available for the mobile program, use the command mplist to see all the mobile programs of the current area and its vnums, you will see something like the list below: 1[ 3070-mekali Reave ] healer throws you out 2[ 3069-mekali Reave ] healer shit list 3[ 3060-mekali Reave ] towel boy takes towel as player leaves bathhouse and thanks them for coming 4[ 3059-mekali Reave ] towel boy transfers player into bath when they pay 3 gold admission 5[ 3058-mekali Reave ] towel boy prevents those who havent paid form entering bath house 6[ 3057-mekali Reave ] towel boy welcomes to bath and states price Where you see the number of the mobile program, its virtual number, the name of the area, the builder's name and the title of the mobile program. To start or edit one mobprogram you have the command: mpedit create <vnum> - To create a new mobprog mpedit <vnum> - To edit an old mobprog when you type the command to create a new mobprog the message below will appear: MobProgram Code Created. Now you are on the mobprog editing mode, to see the statistics and code of the mobile program type show or hit the return bottom on your keyboard you sill see the table below: ============================================================================= Vnum: 5011 Title: unknown Author(s): Ninive Code: ============================================================================= Currently no mobiles use this program. ============================================================================= You have some commands to change those settings, to see all the available commands type command: --=========== MPEDIT COMMANDS ===========-- commands create code author title show ? commands - List the available commands create - Creates a new mobprog (mpedit create <vnum>) code - To edit the code author <builder's name> - To set the author's name title <mobprog name> - To set the mobprog's name show - To see the mobprog statistics and code To start coding the mobile program, type code and you will start the text editor mode, the mudftp is very useful for coding your program. -=======- Entering APPEND Mode -========- Type .h on a new line for help Terminate with a - or @ on a blank line. -=======================================- When you finish the coding and type show you will see something like this: ============================================================================= Vnum: 3001 Title: mekali guards dying thrust Author(s): Reave Code: say Curse you to hell, evil one! mob echoat $n The guard thrusts his blade deep into your midsection with his last bit of strength! mob damage $n 25 50 ============================================================================= Currently no mobiles use this program. ============================================================================= see help MP-Building1