I have tried various UDf's and can't quite get what I am after, can anyone assist? I want the script to do something like below:

If @MAXPWAGE=30
$ = MessageBox("Is this your PC?", "PC Owner", 4160)
If Yes is selected
Search AD for OU that current user resides within
Display OU path of User object
$ = MessageBox("Is OU path Correct?", "User OU Path", 4160)
If Yes is selected
Search AD for OU that the local computer resides within
Move Computer Object to the OU the User is in, but instead of "Users" OU, it should be "Computers" OU
Else
Message("Call the Helpdesk", "User OU Path Incorrect")
EndIf
EndIf
EndIf