VBScript → Lua
This function checks if the current caller (i.e. his phone number) can be found in a given text file. It can be used to create black or white lists for incoming calls on a user.
Please see the Introduction chapter for some usage instructions.
' FileOpen iomode Values
Const fsoForReading = 1 ' Open a file for reading only.
Const fsoForWriting = 2 ' Open a file for writing only.
Const fsoForAppending = 8 ' Open