save the the addons folder of the bot. Go to your bot and type /load -rs addons\restaurant.mrc
;begin scripting
;restaurant scripting
on 1000:text:*eat*:#:{
if ($1 == %c $+ eat) {
if ($2 == on) { .enable #restaurant | set %st.eat on | .msg $chan 5The Restaurant mode has been enabled, type %c $+ restaurant to start your adventure! | set %last.used.command eat on | set %last.person $nick }
if ($2 == off) { .disable #restaurant | unset %st.tdrg | .msg $chan 5The restaurant has closed. | set %last.used.command eat off | set %last.person $nick }
}
}
#restaurant on
on *:TEXT:!restaurant*:#:{
msg $chan $nick goes to a restaurant.
timer 1 1 notice $nick |The Menu|
timer 1 3 notice $nick The Food: Burger - Cheeseburger - Chips - Ice-cream - Wedges - Fries
timer 1 5 notice $nick The Drinks: Beer - Fanta - Rome - Redwine - Whitewine - Margarita - Tequila - Fanta - Lemonade
timer 1 7 notice $nick The Fountain Drinks: 14,14!1,140,3 74,3?0,3UP 14,14! - 1,14 0,4 Diet Coke 1,14 - 14,14!15,5RootBeer14,14! - 14,14!8,5Dr.Pepper14,14! - 14,14!0,6Grape14,14! - 14,14!8,7Orange14,14! - 14,14!4,12Pepsi14,14! - 14,14!1,140,3Slice14,14! - 14,14 0,4 Coke 14,14 - 14,14!1,148,3 MtDew 14,14! - 14,14!1,140,3Sprite14,14! - 14,14!15,5Mr.Pibb14,14!
timer 1 9 notice $nick to order type ! and then the food\drink. For example: !Coke
}
on *:TEXT:!coke*:#:{
describe $chan tosses $nick a can of 14,14 0,4 Coke 14,14 and $nick drinks it.
}
on *:TEXT:!Grape*:#:{
describe $chan tosses $nick a can of 14,14!0,6Grape14,14! and $nick drinks it.
}
on *:TEXT:!redwine*:#:{
describe $chan tosses $nick a bottle of the redwine and $nick drinks it.
}
on *:TEXT:!whitewine*:#:{
describe $chan tosses $nick a bottle of the whitewine and $nick drinks it.
}
on *:TEXT:!7up*:#:{
describe $chan tosses $nick a can of 14,14!1,140,3 74,3?0,3UP 14,14! and $nick drinks it.
}
on *:TEXT:!margarita*:#:{
describe $chan tosses $nick a bottle of the mexican margarita and $nick drinks it.
}
on *:TEXT:!tequila*:#:{
describe $chan tosses $nick a bottle of tequila and $nick drinks it.
}
on *:TEXT:!rome*:#:{
describe $chan tosses $nick a bottle of rome and $nick drinks it.
}
on *:TEXT:!fries*:#:{
describe $chan hands $nick a basket of fries and $nick eats them.
}
on *:TEXT:!fanta*:#:{
describe $chan tosses $nick a can of fanta and $nick drinks it.
}
on *:TEXT:!lemonade*:#:{
describe $chan hands $nick a glass of lemonade and $nick drinks it.
}
on *:TEXT:!Mr.Pibb*:#:{
describe $chan tosses $nick a can of 14,14!15,5Mr.Pibb14,14! and $nick drinks it.
}
on *:TEXT:!sprite*:#:{
describe $chan tosses $nick a can of 14,14!1,140,3Sprite14,14! and $nick drinks it.
}
on *:TEXT:!MtDew*:#:{
describe $chan tosses $nick a can of 14,14!1,148,3 MtDew 14,14! and $nick drinks it.
}
on *:TEXT:!Orange*:#:{
describe $chan tosses $nick a can of 14,14!8,7Orange14,14! and $nick drinks it.
}
on *:TEXT:!Pepsi*:#:{
describe $chan tosses $nick a can of 14,14!4,12Pepsi14,14! and $nick drinks it.
}
on *:TEXT:!DR.Pepper*:#:{
describe $chan tosses $nick a can of 14,14!8,5Dr.Pepper14,14! and $nick drinks it.
}
on *:TEXT:!RootBeer*:#:{
describe $chan tosses $nick a can of 14,14!15,5RootBeer14,14! and $nick drinks it.
}
on *:TEXT:!DietCoke*:#:{
describe $chan tosses $nick a can of 1,14 0,4 Diet Coke 1,14 and $nick drinks it.
}
on *:TEXT:!beer*:#:{
describe $chan tosses $nick a can of beer and $nick drinks it.
}
on *:TEXT:!wedges*:#:{
describe $chan hands $nick potato wedges and $nick eats them.
}
on *:TEXT:!ice-cream*:#:{
describe $chan hands $nick a bowl of ice-cream and $nick eats it.
}
on *:TEXT:!chips*:#:{
describe $chan hands $nick a plate of chips and $nick eats them.
}
on *:TEXT:!cheeseburger*:#:{
describe $chan hands $nick a cheeseburger and $nick eats it.
}
on *:TEXT:!Slice*:#:{
describe $chan tosses $nick a can of 14,14!1,140,3Slice14,14! and $nick drinks it.
}
on *:TEXT:!burger*:#:{
describe $chan hands $nick a burger and $nick eats it.
}
#restaurant end
on 1000:text:*botchancommands*:#: {
if ($1 == %c $+ botchancommands) { .msg $nick 7 $+ %c $+ eat <on/off>7 14Turns The Restaurant On/Off14 }
}
add this to status.mrc
on 1:text:*status*:#:{ if (%st.eat) { set %status yes | .msg $nick The Restaurant is open, to eat, please type %c $+ restaurant. }

Sign In
Register
Help

MultiQuote