Jump to content

Recommended Posts

Posted (edited)

i'm trying to write a script to respond to a /tell in final fantasy, but the color of the text is not constant... any ideas on how to check for the colors that it may be??

this is what i have

for $x = 22 to 27
if pixelgetcolor($x,996) = 16757759 then
send ("/echo I'm here!", 1)
endif
next
Edited by eatnumber1
Posted

i'm trying to write a script to respond to a /tell in final fantasy, but the color of the text is not constant... any ideas on how to check for the colors that it may be??

See the PixelSearch function, particularly the 6th paramater. Use of this function can also replace your For loop, which is essentially a depricated method of the PixelSearch command to begin with.

[font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...