Godleydemon

whitelist.sh

May 8th, 2014
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.19 KB | None | 0 0
  1. #!/bin/bash
  2. filename="$1"
  3. while read -r line
  4. do
  5.     name=$line
  6.     mark2 send -n creative whitelist add $name
  7.     echo "added $name to whitelist"
  8.     sleep 1
  9. done < "$filename"
  10. echo "done"
Advertisement
Add Comment
Please, Sign In to add comment