This is a simple Refreshment Stand script. Make sure you use !rstand before trying anything. Change every #ike to any channel you want to use.
on *:text:!rstand:#:{
if (%rstand == 0) { inc %rstand 1 | msg #ike The Refreshment Stand is now open! Enjoy specialty hot dogs, fresh-off-the-grill steak, revitalizing cold drinks, or Ike's original all American cheeseburger! To have one of the above, type !foods }
if (%rstand == 1) { msg #ike If you're looking for food, try typing !foods }
}
on *:text:!foods:#:{
if (%rstand == 0) { msg #ike Sorry, the Refreshment stand is closed. }
if (%rstand == 1) { msg #ike To order something from the Refreshment Stand, type !hotdog for a hot dog, !steak for the fresh-off-the-grill steak, !drinks <size> <drink (for two worded drinks put a - for a space)> for cold drinks, and !cheeseburger for Ike's specialty cheeseburger. | halt }
}
on *:text:!closestand:#:{
if (%rstand == 0) { msg $chan the Refreshment Stand is already closed! }
if (%rstand == 1 && $nick == $me) { dec %rstand 1 | The Refreshment Stand is now closed. }
}
on *:text:!hotdog:#:{
if (%rstand == 0) { msg #ike Sorry, the Refreshment stand is closed. }
if (%rstand == 1) { describe #ike grills a hot dog, puts it in a bun, then hands it to $nick }
}
on *:text:!steak:#:{
if (%rstand == 0) { msg #ike Sorry, the Refreshment stand is closed. }
if (%rstand == 1) { describe #ike marinates a slab of steak, grills it, puts it on a china plate, then hands it to $nick }
}
on *:text:!drink*:#:{
if (%rstand == 0) { msg #ike Sorry, the Refreshment stand is closed. }
if (%rstand == 1 && mt. dew !isin $3- || mt dew !isin $3- || coke !isin $3- || coca cola !isin $3- || pepsi !isin $3- || sierra mist !isin $3- || root beer !isin $3-) { msg #ike Sorry, we don't sell that drink. }
if (%rstand == 1 && small !isin $2 || medium !isin $2 || large !isin $2) { msg #ridley Sorry, that size cup is not supported. }
if (%rstand == 1 && mt. dew isin $3- || mt dew isin $3- || coke !sin $3- || coca cola isin $3- || pepsi isin $3- || sierra mist isin $3- || root beer isin $3- && small isin $2 || medium isin $2 || large isin $2) { describe #ike grabs a $2 size cup, fills it with $3 $+ , puts a lid and straw with it, and hands it to $nick }
if (%rstand == 1 && $3 == coffee) { describe #ike grabs a $2 size mug, fills it with coffee, and hands it to $nick }
}