Armour Dye

Geordiehc

Mad Dog Geo
VIP
Jul 4, 2007
2,827
49
175
Redditch, UK
could anyone help me please? i want to make a armor dye potion so when you click it will randomly dye the color of you clothes, but the only thing similar i can find is the jiffen dye script which isnt random as you input your colours, could someone help me make 1 please? thanks
 

chimera

LOMCN VIP
VIP
Jul 30, 2003
1,054
23
215
UK
use
#ACT
movr D1 255
movr D2 255
movr D3 255

the use that script to dye %D1 %D2 %D3

That will give you 3 random number colours :)
 
Upvote 0

Geordiehc

Mad Dog Geo
VIP
Jul 4, 2007
2,827
49
175
Redditch, UK
And what would be the command to change to color to %D1 etc? by the looks of JiffenSystem its 'wearcolor' but im tryin that atm and im gettin script errors in CD
 
Upvote 0

chimera

LOMCN VIP
VIP
Jul 30, 2003
1,054
23
215
UK
assuming you are looking at this

#IF
HLSCRIPTCMD CHECKPOINT 10
#ACT
HLSCRIPTCMD SETPOINT - 10
wearcolor %D3 %D1 %D2

Then you you a random colour armour would be:

[@colourarmour]
#ACT
movr D1 255
movr D2 255
movr D3 255
goto @colourarmour2

[@colourarmour2]
#IF
#ACT
wearcolour %D1 %D2 %D3
sysmsg "Armour colour changed"
break



Something like that :)
 
Upvote 0