clydelion Posted July 13, 2012 Posted July 13, 2012 prontera,164,163,4 script Surgeon 816,{ mes "[^0000ffSurgeon^000000]"; mes "Hi, I'm a surgeon."; mes "I can change your sex without any marks."; next; mes "[^0000ffSurgeon^000000]"; mes "Do you want to use my service?"; menu "Yes",-,"No way!",no; changesex; end; no: next; mes "[^0000ffSurgeon^000000]"; mes "Ok, come again if you need my service"; close; } Quote
Euphy Posted July 13, 2012 Posted July 13, 2012 prontera,164,163,4 <tab> script <tab> Surgeon <tab> 816,{ Quote
Rjhay Posted August 18, 2012 Posted August 18, 2012 prontera,164,163,4 script Surgeon 816,{ mes "[^0000ffSurgeon^000000]"; mes "Hi, I'm a surgeon."; mes "I can change your sex without any marks."; next; mes "[^0000ffSurgeon^000000]"; mes "Do you want to use my service?"; menu "Yes",-,"No way!",no; atcommand "@changesex"; end; no: next; mes "[^0000ffSurgeon^000000]"; mes "Ok, come again if you need my service"; close; } Quote
Emistry Posted August 18, 2012 Posted August 18, 2012 prontera,155,181,5 script Sample 757,{ if( select("Change Gender:Cancel") == 1 ) changesex; close; } Quote
Natsu Dragneel Posted August 24, 2012 Posted August 24, 2012 (edited) Try this ////////////////////////////////////////////////////////////////////////////////////////////////////// Sexchange NPC // By: iamabean // Version 0.3 // Tested on SVN 9650? // May work on a older svn BUT it can cause alot of problems on an older svn!! // Thanks spamrat for a little bit of help. // Changes----------- // 0.2 -Fixed it not changing you on newer svns . // 0.2 -Added a message after it changes you to inform them to wait for disconnect. // 0.3 -Added a customize the npc section. // 0.3 -Made the zeny stored in a variable at start of the npc. Makes it easier to customize. // 0.3 -Made the name stored in a variable. // 0.3 -Changed charcommand "#changesex " + strcharinfo(0); to atcommand "@changesex "; // 0.3 -Added a symbol var for the atcommand symbol. For anyone else who might use another symbol. //////////////////////////////////////////////////////////////////////////////////////////////////// //NPC map location/cordinates //It's recommended you change it. - script Becky Belo#01::boyle 878,{ ////////////////////////////////////////// //Customize the npc!! // set @CDname$,"[becky Belo]"; //Set NPCs name // Remember to set script header name as well!!// set @CDzeny,1013134; //Set amount of zeny it costs set @CDsymbol$,"@"; //Set the atcommand(gm command) symbol you use ////////////////////////////////////////// mes @CDname$; mes "FABULOUS!!!!!!!"; mes "Hello, how do you do!"; mes "Do you want something diffren.."; next; mes @CDname$; mes "I can change your sex"; mes "Do you want it?"; mes "I know you want it"; next; mes @CDname$; mes "What do you think?"; mes "That would be great, right?!"; next; menu "Sure, I want!",CD_sexchange,"of course no!",CD_uhno; CD_sexchange: mes @CDname$; mes "FABULOUS!!!FANTASTIC!!!OUTSTANDING!!!WONDERFUL!!!SUPER!!!"; mes "This operation requires 1013134 zeny and 1 gym pass!"; mes "And I'll do it now"; next; menu "Do it doctor!",CD_blastoff,"I am afraid doctor!",CD_uhno; CD_blastoff: mes @CDname$; mes "BLAST OFF!!!"; mes "OK we began operations!"; next; if(countitem(7776)<1 || Zeny < @CDzeny) goto CD_zeny; delitem 7776,1; set Zeny, Zeny - @CDzeny; atcommand @CDsymbol$ + "changesex "; mes @CDname$; mes "Ok the surgery will begin, you will log off and please relog in again."; end; CD_zeny: mes @CDname$; mes "Mama mia you have not got a requirement."; mes "Complete the requirements!"; mes "I'll be waiting!"; close; CD_uhno: mes @CDname$; mes "Ok fine, please think again."; mes "If you've prepared your heart ."; mes "I'll be waiting."; close; } //lhz_in02.gat,286,85,4 duplicate(boyle) Dokter Boyle#02 878 mora,86,117,5 duplicate(boyle) Becky Belo#03 617 Edited August 24, 2012 by Natsu Dragneel Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.