Code: Select all
Event( "UseItem", "Brain Power Challenge" )
{
$Playervar4 = $gPlayerTeam
Sleep(30)
*msg %player% Hello, and welcome to the Brain Power Challenge!
Sleep(30)
*msg %player% I have a task for you. Its actually quite simple.
sleep(30)
*msg %player% As, im sure you've seen, the this land is rich with mushrooms.
*msg %player% They are a valuable source of brain power.
Sleep(30)
*msg %player% I need you to collect as many as possible. You will need to build
*msg %player% a special building to exchange brain power for cash. During this time
*msg %player% you will be placed on a specail team so that only you can use this building.
*Grantskill %player% Brain Power Challenge
*setteam %player% 4
*say %player% has entered quest mode.
sleep (30)
*msg %player% you have 10 minutes to collect as many brain power as you can
*msg %player% Build the Brain Power Exchange to sell them.
sleep (30)
*msg %player% START NOW AND GOOD LUCK!
sleep (4200)
*msg %player% 3 minutes remaining, dont forget to cash in your brain power!
sleep (1800)
*msg %player% times up! back to normal mode again. You can play again tomorrow.
*removeskill %player% brain power challenge
*setteam %player% $playervar4
}
Again, this is a very basic layout. Soon will expand to give secondary quest completion payout, based upon wealth gain during quest, and limitations to how often / how many times the script can be executed per player.
enjoy
bongz