daily pastebin goal
3%
SHARE
TWEET

Untitled

a guest Feb 17th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //***************************
  2. // HOST - Begin
  3. //***************************
  4.  
  5. //shows questions if shopper had to wait for a table
  6. ifQ(1751)
  7. .answered(1)
  8. .appear(Q(1761), Q(1771), Q(1781))
  9.  
  10. //***************************
  11. // HOST - End
  12. //***************************
  13.  
  14.  
  15.  
  16.  
  17. //***************************
  18. // SERVER - Begin
  19. //***************************
  20.  
  21.  
  22. //if an appetizer was not ordered, hide appetizer questions
  23. ifQ(1011)
  24. .answered(2)
  25. .disappear(Q(1691), Q(1701), Q(1021), Q(1031))
  26.  
  27. //time calc; drink delivery - drink order = elapsed time
  28. ifQ(1891)
  29. .answered()
  30. .andQ(1901)
  31. .answered()
  32. .sub(Q(1901), Q(1891))
  33. .store(Q(1911))
  34.  
  35. //time calc; appetizer delivery - appetizer order = elapsed time
  36. ifQ(1691)
  37. .answered()
  38. .andQ(1701)
  39. .answered()
  40. .sub(Q(1701), Q(1691))
  41. .store(Q(1021))
  42.  
  43. //time calc; entree delivery - appetizer delivery = elapsed time
  44. ifQ(1701)
  45. .answered()
  46. .andQ(1721)
  47. .answered()
  48. .sub(Q(1721), Q(1701))
  49. .store(Q(1031))
  50.  
  51. //time calc; entree delivery - entree order = elapsed time
  52. ifQ(1711)
  53. .answered()
  54. .andQ(1721)
  55. .answered()
  56. .sub(Q(1721), Q(1711))
  57. .store(Q(251))
  58.  
  59. //***************************
  60. // SERVER - End
  61. //***************************
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top