Ok, what im trying to do is write a script so i can put an option to put my eee into monitor mode and another one to put it back into managed mode. Also to run fake auth. My problem right now is trying to make it so i can put the fake auth option and the bssid into the command and have it show up in the code below so it can run correct, if that doesnt make sense then i dont know exactly how to explain it. If any one can help it would be greatly appreciated, also if anyone wants to nit pick my code im new to it and dont know exactly what im doing.

thank you all

also the code is not nearly done so dont think im done.


Code:
 #!/bin/bash


echo hello welcome to DRK injection/deauth
echo -i injection
echo -d deauth
echo -u undo inject



if [ x"$1" == "x-i" ]

then 
airmon-ng stop ath0
ifconfig wifi0 down
macchanger --mac 00:11:22:33:44:55 wifi0
airmon-ng start wifi0
airodump-ng ath0
exit
fi


if [ x"$1" == "x-d" ]

then 
airodump-ng -c 1 -w wep/belkinchop --bssid <bssid> ath0
exit 
fi


if [ x"$1" == "x-u" ]

then
airmon-ng stop ath0
wlanconfig ath0 create wlandev wifi0 wlanmode sta
iwconfig ath0 essid TRENDnet channel 3 ap 
ifconfig ath0 up

exit
fi