- Feb 27, 2010
- 198
- 1
- 45
Hi!
I was trying to make items that gives you something when you do double click on them, a friend helped me, and he made me this script some time ago (Thanks Josiko! ).
00default.txt:
[@dobleclick]
#CALL [System\ItemScripts\dobleclick.txt] @dobleclickitems
dobleclick.txt:
[@dobleclickitems]
{
#ACT
SetItemEvent 60 20 @goldbar
[@goldbar]
#IF
Checkitem Goldbar 1
#ACT
TAKE Goldbar 1
Give Gold 998000
break
#ELSEACT
break
}
We tested it some months ago, and it didn't worked, I tried sometimes with different scripts, and it doesn't work too.
Where's the error please?
I was trying to make items that gives you something when you do double click on them, a friend helped me, and he made me this script some time ago (Thanks Josiko! ).
00default.txt:
[@dobleclick]
#CALL [System\ItemScripts\dobleclick.txt] @dobleclickitems
dobleclick.txt:
[@dobleclickitems]
{
#ACT
SetItemEvent 60 20 @goldbar
[@goldbar]
#IF
Checkitem Goldbar 1
#ACT
TAKE Goldbar 1
Give Gold 998000
break
#ELSEACT
break
}
We tested it some months ago, and it didn't worked, I tried sometimes with different scripts, and it doesn't work too.
Where's the error please?