Code: Select all
use uo;
program textcmd_Hue(who, text)
SendSysMessage( who, "What do you want to hue?" ,3,65 );
var coloritem := text;
coloritem := CInt( coloritem );
var targ := Target( who );
targ.color := coloritem;
if ( !targ )
SendSysMessage( who, "Cancelled.",3,65 );
return 0;
endif
return 1;
Endprogram