   /////////////////////////////////
  //sell up the river mod//////////
 ////////////////////////////////

int_t  sell;			//this bit is the variable that makes everything work
int_t  nwb;			// don't do much but it is very important stops com from stoping working

// this should make bandits sell up  the human player any captured citys if player can pay that is.
HandleEvent(CityBeginTurn) 'sell' post { 


	if (city[0].owner == 0 && sell == 0) {			// if statment which targets barbarians city if sell has not been activated
		Message(1, 'MCSUTRA');				// displas msg box
		sell = 5;					// this bit uses the fact that slic is to fast for its own good so by the time you ckilic on the msg box this bit of slic is alredy done
		} elseif (city[0].owner == 0 && sell == 1) {    // this locks on to the city you signed for last turn 
		Event:GiveCity(city[0], 1);			// the hart this bit gives you that city anmy units die as soon as its done
		sell = 0;					//reset starts again and waits for barbarians to get a new city
		} elseif (city[0].owner == 0) {			//don't look at me i dont know what this bit does but it was the only way i found of geting past a slic error
		nwb = 0;					// see above
			}					//tab thing
	}                                                       //see above

#include "GS_msg.slc"						// the msg boxes i am not exsplaining them it would take to long