Thanks guys <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/par-ty.gif" style="vertical-align:middle" emoid="

" border="0" alt="par-ty.gif" /> . Now, that section that Peiter advised me to change should look like this, right? (Not too sure, English wasn't my first language and with all that switching `mumbo-jumbo`, I am bound to make a mistake)! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/oops3.gif" style="vertical-align:middle" emoid="

ops2" border="0" alt="oops3.gif" />
switch(rand(10) ) // executes one of the "case" sections below at random
{
case 0:
DoQuestReloadToLocation("Douwesen_shore_01", "reload", "reload1" ,"");
// teleports you to this location, locatortype, locator
SetCharacterShipLocation(pchar, "Douwesen_shore_01"); // teleports the ship there as well
worldMap.playerShipX = -210; // sets shipcoords on worldmap accordingly
worldMap.playerShipZ = -100;
AddCharacterGoods(pchar, GOOD_LINEN, makeint(20 + rand(20)) ); // contraband
break;
case 1:
DoQuestReloadToLocation("Conceicao_shore_01", "reload", "reload1" ,"");
SetCharacterShipLocation(pchar, "Conceicao_shore_01");
worldMap.playerShipX = -790;
worldMap.playerShipZ = 400;
AddCharacterGoods(pchar, GOOD_WINE, makeint(10 + rand(20)) );
break;
case 2:
DoQuestReloadToLocation("Falaise_de_fleur_shore", "reload", "reload1" ,"");
SetCharacterShipLocation(pchar, "Falaise_de_fleur_shore");
worldMap.playerShipX = -205;
worldMap.playerShipZ = 411;
AddCharacterGoods(pchar, GOOD_SANDAL, makeint(5 + rand(10)) );
break;
case 3:
DoQuestReloadToLocation("Muelle_shore", "reload", "reload3" ,"");
SetCharacterShipLocation(pchar, "Muelle_shore");
worldMap.playerShipX = -570;
worldMap.playerShipZ = -60;
AddCharacterGoods(pchar, GOOD_SILK, makeint(10 + rand(20)) );
break;
case 4:
DoQuestReloadToLocation("QC_port", "reload", "reload1" ,"");
SetCharacterShipLocation(pchar, "QC_port");
worldMap.playerShipX = 290;
worldMap.playerShipZ = -380;
AddCharacterGoods(pchar, GOOD_RUM, makeint(20 + rand(20)) );
break;
case 11:
DoQuestReloadToLocation("Redmond_shore_01", "reload", "reload1" ,"");
SetCharacterShipLocation(pchar, "Redmond_shore_01");
worldMap.playerShipX = 200;
worldMap.playerShipZ = 340;
AddCharacterGoods(pchar, GOOD_COFFEE, makeint(10 + rand(20)) );
break;
case 7:
DoQuestReloadToLocation("Redmond_shore_02", "reload", "reload1" ,"");
SetCharacterShipLocation(pchar, "Redmond_shore_01"); // player seperated from ship
worldMap.playerShipX = 200;
worldMap.playerShipZ = 340;
AddCharacterGoods(pchar, GOOD_COFFEE, makeint(10 + rand(20)) );
break;
case 8:
DoQuestReloadToLocation("Douwesen_shore_02", "reload", "reload1" ,"");
SetCharacterShipLocation(pchar, "Douwesen_shore_01"); // player seperated from ship
worldMap.playerShipX = -210;
worldMap.playerShipZ = -100;
AddCharacterGoods(pchar, GOOD_LINEN, makeint(20 + rand(20)) );
break;
case 9:
DoQuestReloadToLocation("Conceicao_shore_02", "reload", "see" ,"");
SetCharacterShipLocation(pchar, "Conceicao_shore_01"); // player seperated from ship
worldMap.playerShipX = -790;
worldMap.playerShipZ = 400;
AddCharacterGoods(pchar, GOOD_WINE, makeint(10 + rand(20)) );
break;
case 5:
DoQuestReloadToLocation("Oxbay_shore_02", "reload", "reload1" ,"");
SetCharacterShipLocation(pchar, "Oxbay_shore_01"); // player seperated from ship
AddCharacterGoods(pchar, GOOD_COFFEE, makeint(10 + rand(20)) );
break;
case 11:
DoQuestReloadToLocation("Oxbay_shore_01", "reload", "see" ,"");
SetCharacterShipLocation(pchar, "Oxbay_shore_01");
AddCharacterGoods(pchar, GOOD_COFFEE, makeint(10 + rand(20)) );
break;
}
If, I'm wrong, please post a correct copy of that section.
Thanks.