Skip to content
Browse files

Expose new database object to scripting

SSC.GetDatabase(). This object is the actual database, not a copy, and
its contents can be modified directly.
  • Loading branch information...
Davnit committed Mar 13, 2017
1 parent 59e4ca8 commit 101cd1eca1c0074462b238acf75f200ee3760a31
Showing with 6 additions and 0 deletions.
  1. +6 −0 trunk/clsScriptSupportClass.cls
@@ -373,6 +373,12 @@ Public Sub GetStdDBEntry(ByVal sName As String, ByRef iRank As Integer, ByRef sF
End With
End Sub

'// Returns the bot's internal access database. The entries in this database can be modified directly.
Public Function GetDatabase() As clsDatabase
Set GetDatabase = Database
End Function

'// Prepares a string for comparison using the Visual Basic LIKE operator

0 comments on commit 101cd1e

Please sign in to comment.
You can’t perform that action at this time.