on :sockread:scoop : var %data sockread %data if (<title> isin %data) var %title = $gettok(%data,2,60) ; 60 = ascii code for '<' %title = $remove(%title,</title>) msg # Title scooped: %title sockclose $sockname

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser ``` Use code with caution. Copied to clipboard Install Scoop powershell

The basic syntax of a Scoop script is as follows: