Jump to content

phejndorf

Members
  • Posts

    4
  • Joined

  • Last visited

phejndorf's Achievements

Novice

Novice (1/7)

0

Reputation

  1. phejndorf

    Writing Plugin

    I just fought the same problem in C#. I used Console.WriteLine for the reply instead of Console.Write which gave me a superfluous CR/LF that shouldn't be in the NextOGM, so if cout does the same thing...
  2. phejndorf

    Writing Plugin

    I just fought the same problem in C#. I used Console.WriteLine for the reply instead of Console.Write which gave me a superfluous CR/LF that shouldn't be in the NextOGM, so if cout does the same thing...
  3. I think you'll have to write a plugin, which you pass the telephone-number (%cid%) and which will then return the next OGM to play as a variable. You then have to set "Next OGM" as a variable instead of a text. For example you can then have a PhoneNumberOK OGM, and a PhonenumberInvalid OGM, and let the plugin return either of these names in a %NextOGM% variable. In the SDK description, on IVM's main page, the PHP example actually does this trick, though as a pin-code validator in stead of phone.
  4. Writing a plugin for IVM is really simple - use VB, Java, C# or whatever you prefer to write a console program according to NCH's guide. But you're probably even luckier - NCH already has a free plugin called GETDATA that lets you read a CSV file (the temp and maybe date), or you can just use the temp and use the built in %date% system variable in the script that you "speak".
×
×
  • Create New...