check 2 items

hey guys! i want to make script that check 2 items same time like

:if ([/ip hotspot user find address=("10.0.0." . $i)] !="") aslo :if ([/ip hotspot user find profile=("Basic")] != "") do={.........}

I presume by “aslo” you mean “also”, and, you’d want to use the AND operator.

if(boolean && boolean) {
//rawr
}

http://wiki.mikrotik.com/wiki/Manual:Scripting#Logical_Operators

Apparently it only supports &&, not &, however.