Item Click

Play Now

Geordiehc

Mad Dog Geo
VIP
Jul 4, 2007
2,827
49
175
Redditch, UK
[@ArmorDyeClick]
{
#ACT
goto @predye
[@predye]
#ACT
movr D1 255
movr D2 255
movr D3 255
take ArmorDye 1
goto @DYE
[@DYE]
#ACT
wearcolor %D3 %D1 %D2
#SAY
Your clothes have succesfully Dyed\

Can anyone see whats wrong with this script please? it does not work :(, its the main part for a item click so in Default00 iv got all that set up and it all looks fine so i think it must be this, theres a setitemevent on other things that is not on mine could this be it and could someone explain what it is and how to correct it? thanks
 

idaBigA

Holley Mir 3!!
VIP
Oct 28, 2003
1,969
118
290
Stoke, UK
Try calling that script from an NPC and see if it works, also, break the script down with #SAY so that you can check that it reaches each section.
 
Upvote 0

Geordiehc

Mad Dog Geo
VIP
Jul 4, 2007
2,827
49
175
Redditch, UK
Its the item click i need mostly atm i think, like in the script it says SETITEMEVENT 64 1
What does that mean and what are the numbers relative to?
 
Upvote 0

Geordiehc

Mad Dog Geo
VIP
Jul 4, 2007
2,827
49
175
Redditch, UK
i see so that is saying when 64 1 is clicked then it activates that script?
so say if i made a item being 1203 1 i would have to put

SETITEMEVENT 1203 1?
 
Upvote 0