Script V2 with message : you have not the tool
;Artificial Intelligence Script
;Header
desc = interruptreur Bobyones amélioré (besoin d'une clef ou d'une item en plus)
;Triggers
:state=0:setframe=0,state=1
:state=1:incframe=0,state=2
:state=2:frameatend=0,state=5
:state=5,healthless=5000:state=6,setframe=1
:state=6:incframe=1
:state=6,frameatend=1:state=4
:state=0:state=1
:state=4:fpgcrawtextsize=24,fpgcrawtextfont=verdana,fpgcrawtextr=128,fpgcrawtextg=128,fpgcrawtextb=255,fpgcrawtextx=50,fpgcrawtexty=90,state=6
:state=6,plrdistwithin=50,inview=1:fpgcrawtext=Pressez [ENTER] pour couper le fil
:state=6,plrdistwithin=50,inview1,scancodekeypressed=28:state=10
;:state=10,etimergreater=5000:fpgcrawtextoff
:state=10,plrdistwithin=55,plrhaskey=0:fpgcrawtextsize=24,fpgcrawtextfont=verdana,fpgcrawtextr=128,fpgcrawtextg=128,fpgcrawtextb=255,fpgcrawtextx=50,fpgcrawtexty=90,inview=1,fpgcrawtext=vous n'avez pas les outils,state=10
:state=10,plrdistwithin=55,plrhaskey=1,plrusingaction=1:activateifused=1,setframe=2,state=17
:state=17:incframe=2
:state=17,frameatend=2:state=12
;End of Script