Date: 2014/08/30 18:16:36 UTC-07:00
Type: Denizen Script
else if <def[action].is[==].to[vote]> {
- define statement "UPDATE %tableName% SET pointsearned = pointsearned + %pointValue%, totalvotes = totalvotes + 1, pointsbalance = pointsbalance + %pointValue% WHERE playeruuid='%uuid%';"
- yaml set OfflineCache.%db%:->:%statement% 'id:SQLManager_OfflineCache'
- sql id:%db% update:%statement%
}