Thanks for your reply. I changed the last line so I can use the alias as an identifier, and the result seems incorrect:
alias test {
window -podC +tn @test 1 1 250 250
drawrect -rf @test 0 0 0 0 900 900
drawline -r @test 220 1 30 30 100 200
drawline -r @test $rgb(255,255,255) 1 30 200 70 30
drawdot -r @test $rgb(0,0,255) 3 $cross(30,30,100,200,30,200,70,30)
}
Also, the lines that I will be checking will include horizontal and vertical lines, what would i do in that situation? Thanks for your help.
- The last line was replaced with:
return %x %y
Last edited by SaX0n; 13/05/03 12:35 PM.