Steve™ Management
Number of posts : 2447 Home : At Home Humor : If Im Not Back Later... Wait Longer Registration date : 2007-07-30
| Subject: Bartender [Short Version] For FXS & WCS : By Max Mon Jul 30, 2007 3:24 pm | |
| - Code:
-
<config>
<command type="script"> <in>mine's a %PARAMETER%</in> <in>mine's an %PARAMETER%</in> <in>make mine %PARAMETER%</in> <in>give me %PARAMETER%</in> <in>i want %PARAMETER%</in> <in>ill have %PARAMETER%</in> <in>i'll have %PARAMETER%</in> <out delay="1000" type="normal" extdata="0">one %PARAMETER% coming up</out> <out delay="1000" type="normal" extdata="0">here is your %PARAMETER%</out> <out delay="0" type="push" extdata="10">%PARAMETER%</out> <out delay="1000" type="normal" extdata="0">normally that would be £ %RANDOMNUM[5]%, but because it's you, this one's on the house.</out> <out delay="0" type="push" extdata="11">%RAWNAME%</out> </command>
/// This is the menu trigger... i have multi line support on FXS room that can use \n for WCS room replace \n with #NEWLINE# for RCMS rooms replace \n with #\r\n# or alternative option is <out></out> on every line
<command type="script"> <in>drink*</in> <out>hey %NAME% here's the menu just for you </out> <out>===> Tea's and Coffee's#NEWLINE# Cappuccino#NEWLINE# Espresso#NEWLINE# Hot Chocolate#NEWLINE# PG Tips#NEWLINE# Tetley</out> <out>===> Beer's and Larger's etc#NEWLINE# Best Bitter#NEWLINE# Guinness#NEWLINE# Premium Lager#NEWLINE# Real Ale#NEWLINE# Scrumpy Cider</out> <out>===> Liqueurs, Wines and Spirit's etc#NEWLINE# Bailey's#NEWLINE# Brandy#NEWLINE# Gin#NEWLINE# Martini#NEWLINE# Pernod#NEWLINE# Red and White Wine#NEWLINE# Rum\n Smurnoff Ice#NEWLINE# Southern Comfort#NEWLINE# Tia Maria#NEWLINE# Vodka#NEWLINE# Whiskey#NEWLINE# Wkd</out> <out>===> Soft Drink's If You're Driving#NEWLINE# 7up#NEWLINE# Coke/Diet Coke#NEWLINE# Fanta#NEWLINE# Lilt#NEWLINE# Pepsi/Pepsi Max#NEWLINE# Tango</out> <out>to order your drink, just say "i want" or "give me" or "i'll have" or "make mine" and the name of your drink then i will serve you</out> </command>
</config> | |
|