Guys
This was a nightmare (they always are....)
It turns out if said $Pcname="" Kix would think this meant anything put in would ="" Strange....Has anybody else had this ?
or is there a way around this ?
(My script is working fine now, thanks)
code:
Break On
?"Please enter the Pc Name you wish to connect too"
?"e.g. OSYS10"
?
?
Gets $PcName
If
$Pcname="*" Exit
EndIf
Break On
?"Please enter the Extension you wish the user to see"
?"e.g. 1340"
?
?
Gets $ext
Break On
?"Please enter the Subject the message Box is regarding"
?"e.g. Backup Tapes"
?
?
Gets $Subj
SendMessage ("$pcName", "Please Contact Your System Administrator on Extension $ext ASAP Regarding $subj")
Exit
_________________________
If at first you don't succeed, try again. Then quit. There's no use being a damn fool about it. - W.C Fields