FoodBarManiac v2.0 ***Second Update***

By mysterycool on Dec 28, 2006

Hey!!! I had a long time to post something and cuz I was lazy to script something big I just updated this script! There isn't any change to the foods and drinks. It's just to the scripting. It's more.... professional. Anyway...

Just copy this to ur remote section and then the fun starts!

Commands:

!bar - goes to the bar
!fastfood - goes to the fast food
!(food/drink) - orders to you the food/drink
!(food/drink) (nickname) - orders the food/drink to someone else.

Btw, everything is free!

Have fun!

on *:TEXT:!bar*:#:{
  timer 1 2 msg $chan $nick goes to the bar!
  timer 1 4 notice $nick 12Welcome to the bar $nick $+ !
  timer 1 5 notice $nick 4,1|ThE MenU|
  timer 1 7 notice $nick cola - beer - fanta - rome - redwine - whitewine - margarita  
  timer 1 11 notice $nick to order type !(drink). For example !cola
  timer 1 13 notice $nick if you want to order for someone else type !(drink) and here the nickname. For example !cola mysterycool  
}
on *:TEXT:!fastfood*:#:{
  timer 1 2 msg $chan $nick goes to the fastfood!
  timer 1 4 notice $nick Welcome to the fastfood $nick $+ !
  timer 1 5 notice $nick 4,1|ThE MenU|
  timer 1 7 notice $nick cola - burger - cheeseburger - fanta - chips - ice-cream -   
  timer 1 11 notice $nick to order type !(food/drink). For example !cola
  timer 1 14 notice $nick if you want to order for someone else type !(food/drink) and here the nickname. For example !burger mysterycool  
}
on 1:text:!burger*:#: { 
  if ($2 == $null) msg $chan $nick orders a burger!
  if ($2 == $null) timer 1 2 msg $chan $nick just ate the burger!
  else { msg $chan $nick ordered a burger for $$2 $+ ! }
  timer 1 2 msg $chan $$2 just ate the burger!  
}
on !:text:!cheeseburger*:#: { 
  if ($2 == $null) msg $chan $nick orders a cheeseburger!
  if ($2 == $null) timer 1 2 msg $chan $nick just ate the cheeseburger!
  else { msg $chan $nick ordered a cheeseburger for $$2 $+ ! }
  timer 1 2 msg $chan $$2 just ate the cheeseburger!  
}

on 1:text:!fanta*:#: { 
  if ($2 == $null) msg $chan $nick orders a fanta!
  if ($2 == $null) timer 1 2 msg $chan $nick just drank the fanta!
  else { msg $chan $nick ordered a fanta for $$2 $+ ! }
  timer 1 2 msg $chan $$2 just drank the fanta!  
}

on 1:text:!chips*:#: { 
  if ($2 == $null) msg $chan $nick orders some chips!
  if ($2 == $null) timer 1 2 msg $chan $nick just ate the chips!
  else { msg $chan $nick ordered some chips for $$2 $+ ! }
  timer 1 2 msg $chan $$2 just ate the chips!  
}

on 1:text:!ice-ceam*:#: { 
  if ($2 == $null) msg $chan $nick orders an ice-cream!
  if ($2 == $null) timer 1 2 msg $chan $nick just ate the ice-cream!
  else { msg $chan $nick ordered an ice-cream for $$2 $+ ! }
  timer 1 2 msg $chan $$2 just ate the ice-cream!  
}

on 1:text:!cola*:#: { 
  if ($2 == $null) msg $chan $nick orders a cola!
  if ($2 == $null) timer 1 2 msg $chan $nick just drank the cola!
  else { msg $chan $nick ordered a cola for $$2 $+ ! }
  timer 1 2 msg $chan $$2 just drank the cola!  
}

on 1:text:!beer*:#: { 
  if ($2 == $null) msg $chan $nick orders a beer!
  if ($2 == $null) timer 1 2 msg $chan $nick just drank the beer!
  else { msg $chan $nick ordered a beer for $$2 $+ ! }
  timer 1 2 msg $chan $$2 just drank the beer!  
}

on 1:text!rome*:#: { 
  if ($2 == $null) msg $chan $nick orders a glass of rome!
  if ($2 == $null) timer 1 2 msg $chan $nick just drank the glass of rome!
  else { msg $chan $nick ordered a glass of rome for $$2 $+ ! }
  timer 1 2 msg $chan $$2 just drank the glass of rome!  
}
on 1:text:!redwine*:#: { 
  if ($2 == $null) msg $chan $nick orders a glass of redwine!
  if ($2 == $null) timer 1 2 msg $chan $nick just drank the glass of redwine!
  else { msg $chan $nick ordered a glass of rome for $$2 $+ ! }
  timer 1 2 msg $chan $$2 just drank the glass of redwhine!  
}
on 1:text:!whitewine*:#: { 
  if ($2 == $null) msg $chan $nick orders a glass of whitewine!
  if ($2 == $null) timer 1 2 msg $chan $nick just drank the glass of whitewine!
  else { msg $chan $nick ordered a cola for $$2 $+ ! }
  timer 1 2 msg $chan $$2 just drank the glass of whitewine!  
}
on 1:text:!margarita*:#: { 
  if ($2 == $null) msg $chan $nick orders a glass of mexican margarita!
  if ($2 == $null) timer 1 2 msg $chan $nick just drank the glass of margarita!
  else { msg $chan $nick ordered a glass of mexican margarita for $$2 $+ ! }
  timer 1 2 msg $chan $$2 just drank the glass of margarita!  
}

Comments

Sign in to comment.
mysterycool   -  Jun 17, 2007

ok so im gonna update it again.. i will start scripting it tomorrow and i think by tomorrow you wil have the update. there is gonna be acounter and im thinking to put up a system that you will need to pay for the drinks or food. But... I dont want to put a casino cause its kinda boring.. Any suggestions???

 Respond  
mysterycool   -  Apr 12, 2007

cuz many of you said the scripting is so easy and \"stupid\" I changed it to something more professonal! I hope you enjoy it!

 Respond  
Codine   -  Jan 14, 2007

just a suggestion, but wouldn\'t it be better to add a timer to it, because someone could just type !cola over and over again and flood the room.. it\'s just a suggestion. and may be worth adding to the next release :) hope this helps :)

 Respond  
mysterycool   -  Dec 29, 2006

UPDATED IT! THANKS AGAIN KROBELUSKILL!

 Respond  
mysterycool   -  Dec 29, 2006

Thanks Krobeluskill... Forgot that... I will update it now... :>

 Respond  
Krobeluskill   -  Dec 29, 2006

To save so many texts you could add an else, e.g. on :text:!burger : { if ($2 == $null) msg $chan $nick orders a burger and eats it!
else { msg $chan Ordered a burger for $$2 from $nick }
}
This should shorten down your script.

 Respond  
RoninWarrior   -  Dec 28, 2006

Mysterycool not bad for starters,but like all snippets and works of code there is always room for improvement.Everyone has there own way to code things some are faster,some are slower but over all in the end is weather or not it will work.

Read about /help $readini in the help file of mIRC that would be a great start.Remeber the more proffesional it looks the better your score should be.

 Respond  
Nachos   -  Dec 28, 2006

What Noutrious said. It isn\'t easier to script. It\'s more just a bunch of work.

 Respond  
Noutrious   -  Dec 28, 2006

No, it isnt easier and it isnt quickier to script.

 Respond  
mysterycool   -  Dec 28, 2006

I preefer it like that! Quicker to script and easier for people to change the ansewrs! LoL!

 Respond  
Noutrious   -  Dec 28, 2006

Sorry, i don`t + you could use if varibles to short the lines. 3/10

 Respond  
mysterycool   -  Dec 28, 2006

I hope you enjoy it!

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.