YB Forums: Beer Script Etc. - YB Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Beer Script Etc.

#1 User is offline   Sydero Icon

  • Icon
  • Group: Members
  • Posts: 10
  • Joined: 02-December 07

Posted 03 December 2007 - 04:11 PM

If you'd like the bot to give you a beer etc. with !beer then here's how:

ON *:TEXT:!beer*:#: {
if ( $2 == $null) {
describe $chan gives a chilled beer to $Nick
}
else {
describe $chan gives a chilled beer to $2
}
}
ON *:TEXT:!coke*:#: {
if ( $2 == $null) {
describe $chan gives a chilled coke to $Nick
}
else {
describe $chan gives a chilled coke to $2
}
}
ON *:TEXT:!pizza*:#: {
if ( $2 == $null) {
describe $chan gives a warm pizza to $Nick
}
else {
describe $chan gives a warm pizza to $2
}
}


I've also included code for coke and pizza :)

Simply paste the code into the games.mrc file in scripts.
0

#2 User is offline   Anthony Icon

  • Icon
  • Group: Support Helper
  • Posts: 20
  • Joined: 08-January 10
  • Gender:Male
  • Interests:I love scripting, and gaming... but don't have much time between work and a new baby and a wife and a 80lb dog... I think I'll just stop sleeping... *sigh*

Posted 13 January 2010 - 08:46 PM

Cute... sorta... How about a FULL bartender script! Should use sockets to get mixing instructions from a website... Hehe... I'm not about to get involved in that script, I'll just put the challange out there!
0

#3 User is offline   keksbrot Icon

  • Icon
  • Group: Members
  • Posts: 4
  • Joined: 11-February 10

Posted 11 February 2010 - 05:52 AM

funny script, thank you
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users