Basic BeEF commands:
Login the BeEF Control Panel, and go to Commands page.
Create Alert Dialog:
Run Raw JavaScript
Spyder Eye
Redirect Browser
Delivering Malware using BeEF
Execute the commands and you can find the notification on the target server.
Click 'Yes'.