Cant Get This To Work .. Help Please!

Share your guides, how-tos, FAQs, and so forth. This is not for support -- post questions in General Discussion.
Post Reply
RareSeller
Posts: 131

Cant Get This To Work .. Help Please!

Post by RareSeller »

I have been trying to get this script to work to scan house sign boards to see if they are - slightly, somewhat, fairly, greatly, in danger of collapsing or demolition pending ... and just alert me but I cant get it to work ... I had it sort of working then it went mad and said every house was falling.

Please could anyone take a look and fix it for me please ... much appreciated.


if findtype 0xbd2 'any' 'ground'
clickobject 'found'
if injournal 'Fairly' 'system'
msg 'Found IDOC!' 26
pause 500
clearjournal
// Ignore this sign so it does not repeat until next login
ignoreobject 'found'
endif
Last edited by RareSeller on December 9th, 2016, 10:01 am, edited 1 time in total.
User avatar
MB
Posts: 379

Re: Cant Get This To Work .. Help Please!

Post by MB »

while @findtype 0xbd2 'any' 'ground'
waitforproperties 'found' 5000
if @property 'Condition: This Structure is Slightly Worn' 'found'
msg 'Found IDOC!' 26
elseif @property 'Condition: This Structure is Somewhat Worn' 'found'
msg 'Found IDOC!' 26
endif
ignoreobject 'found'
endwhile
RareSeller
Posts: 131

Re: Cant Get This To Work .. Help Please!

Post by RareSeller »

Works perfectly thanks so much for your help :)
Post Reply