|
Range Sounder
hi guys
im trying to create a script that when an access point is in range i here audiable beeps deepending on the current SNR. I rarely have more then 1 ap active at anyone time.
im new to net stumbler so im not sure the functions that i can use
i want there to be a pause inbetween the beeps relating to the current SNR
instead of OnScanResult will need to use something like OnAPActive
i will want this to run constantly whilst im running ns, in a way it will help me to locate the best snr quickly and easily
Sub OnScanResult(BestSNR)
If BestSNR >= 60 Then
PlaySound "beep.WAV"
ElseIf BestSNR >= 50 Then
WAIT(NOW()+"00:00:00.2")
PlaySound "beep.WAV"
ElseIf BestSNR >= 40 Then
WAIT(NOW()+"00:00:00.4")
PlaySound "beep.WAV"
ElseIf BestSNR >= 30 Then
WAIT(NOW()+"00:00:00.6")
PlaySound "beep.WAV"
ElseIf BestSNR >= 20 Then
WAIT(NOW()+"00:00:00.8")
PlaySound "beep.WAV"
ElseIf BestSNR >= 10 Then
WAIT(NOW()+"00:00:01")
PlaySound "beep.WAV"
Else
End If
End Sub
p.s. do i simply put paste this into notepad and save as *.txt
__________________
Why play deathmatch when you can play dominoes?
|