Skip to content

Instantly share code, notes, and snippets.

@RC1140
Created October 21, 2010 12:50
Show Gist options
  • Save RC1140/638423 to your computer and use it in GitHub Desktop.
Save RC1140/638423 to your computer and use it in GitHub Desktop.
while(1){
$msg = $client.ReadLine($false)
if($msg -ne "" -and $msg -match "poshbot"){
$client.SendMessage("Message","#test","poshBotFtw")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment