change
if ( $1 == $null ) { echo -a 3* Scanip syntax: /scanip <IP/nick> | halt }
to
if (!$1) { echo -a 3* Scanip syntax: /scanip <IP/nick> | halt }
and it doesn\'t give you their ip only their user host mask