Try this
Code:
sub antimacro()
var x, y
repeat
if uo.lastgump( 'replyed' ) == 0 and uo.lastgump( 'text', 0 ) == 'Macro Check' then
x = explode( uo.lastgump( 'command', 9 ), ' ', 1 )
y = explode( uo.lastgump( 'command', 9 ), ' ', 2 )
uo.lclick( x, y )
while uo.lastgump( 'replyed' ) == 0
wait( 100 )
wend
endif
wait( 100 )
until false
endsub
Sub explode( string, pattern, num )
var i, counter = 0, entry = 0
for i=0 to strlen( string ) -strlen( pattern )
if mid( string, i, strlen( pattern ) ) == pattern then
counter = counter + 1
if num == counter-1 then
return mid( string, entry, i-entry )
endif
entry = i + strlen( pattern )
endif
next
if entry == 0 then
return false
endif
return mid( string, entry, strlen(string)-entry )
endsub
Nmy, сколько бы я онгамп не защищал - он глючная сволочь. uo.lclick много надежнее.