#!/usr/bin/env bash


new_script_name="$1"

author() {
  echo "
# shellcheck disable=2034
Bismillah='

In the name of Allah, the most Gracious, the most Merciful.

 ▓▓▓▓▓▓▓▓▓▓
░▓ Author ▓ Abdullah Khabir <https://abdullah.solutions>
░▓▓▓▓▓▓▓▓▓▓ YouTube <https://YouTube.com/AbdullahToday>
░░░░░░░░░░

'
"
}

author_with_script_name() {
  echo "
# shellcheck disable=2034
Bismillah='

In the name of Allah, the most Gracious, the most Merciful.

 ▓▓▓▓▓▓▓▓▓▓
░▓ Author ▓ Abdullah Khabir <https://abdullah.solutions>
░▓▓▓▓▓▓▓▓▓▓ YouTube <https://YouTube.com/AbdullahToday>
░░░░░░░░░░

$(toilet -f pagga ${new_script_name})
'
"
}

if [[ -z $new_script_name ]]; then
  author
else
  author_with_script_name
fi

