Jump to content

Add live download/view count to script.


hit_p

Recommended Posts

Pretty sure my method is trash and unoptimized but here it is.

 pro = gg.makeRequest('--Insert your script link here--').content
oen = string.find(''..pro..'' ,'DownloadAction')
num1 =  ''..oen..''
num2 = 70
nibba = num1 + num2
len = string.sub(''..pro..'', ''..oen..'' , ''..nibba..'')
numb = string.match( ''..len..''  ,   '%d+')
aaa = string.find(''..pro..'' ,'ViewAction')
num3 =  ''..aaa..''
num4 = 55
nibbal = num3 + num4
leen = string.sub(''..pro..'', ''..aaa..'' , ''..nibbal..'')
niumb = string.match( ''..leen..''  ,   '%d+')
gg.alert('LIVE DOWNLOAD COUNT: '..numb..'')
gg.alert('LIVE VIEW COUNT: '..niumb..'')

Link to comment
Share on other sites

  • 2 months later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.