VP scripting question

CompuFox

Inserted Coin
Site Supporters
Joined
Mar 2, 2005
Messages
38
Reaction score
11
Points
14
Hi folks

I'm about to finish my actual VP-project (see thread) but I wish to add some "special feature" I once saw in some VP tables years ago - but I can't remember which one...
think.gif


I would like to have a pop up form when launching the table, asking stuff like e.g. Balls to play. I know there are other ways to "gather" variables, but I'd really like it this particular way. (see att.)
Can somone please tell me how to script such a VB routine in VP or name at least one of those tables using it? Thank you very much!!!

Fox
 

Attachments

  • example.JPG
    example.JPG
    4.3 KB · Views: 301
A little fancy, but some text message elements can be eliminated:
Code:
 Dim Input

Sub Table1_Init()

Input = InputBox("Please Enter Number of Balls (3 or 5)") 
MsgBox ("You entered: " & Input)
End Sub

Then refer to the Dim Input for the value, but what happens if someone chooses a number other than 3 or 5?
 
Thanks Sleepy! Problem is solved, table is ready for download - I hope you'll enjoy!

My fault, I forgot to post the fact that Destruk (DA MAN) has helped me out! Sorry about that...
:cheers: Fox
 
General chit-chat
Help Users
You can interact with the ChatGPT Bot in any Chat Room and there is a dedicated room. The command is /ai followed by a space and then your ? or inquiry.
ie: /ai What is a EM Pinball Machine?
  • No one is chatting at the moment.
  • Chat Bot Mibs Chat Bot Mibs:
    maxangelo19 has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Dragonslapper has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    royaljet has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Tyfox has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Goldtopboy has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    slick267 has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    dabreeze has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Spike has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Tofa has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Atropine has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    bongo2k5 has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Bouly has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Felipefx3 has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    djrbx has left the room.
  • F @ freebird1963:
    were do music and sound files go
    Quote
  • Chat Bot Mibs Chat Bot Mibs:
    jhbradley has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Conejazo has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Sedulous has left the room.
      Chat Bot Mibs Chat Bot Mibs: Sedulous has left the room.
      Back
      Top