Hi All, I've got a problem with my main dialog, have you ever used Cyphers script absynthe? well anyway my main dialog has an option on it like absynthe's if a group is on that a icon will show in a grid but if its off then the off icon shows anyways moving on, this is my code to enable one of my prots:
kickonjoins {
if (%kickjoins == 1) {
set %kickjoins 0
}
elseif (%kickjoins == 0) {
set %kickjoins 1
}
}
and i want it to change the icon in the grid when its turned off or on heres a screenshot to help a little:
as you can see when the group is off then the orange icon is whole, but when its on its got a little white hole inside it, but when i click the option to either turn it off or on i want the icon to change, any comments/help apprechiated
the code would have to be placed in the alias, i think it would be something like this but obviously its not else i wouldnt be posting this message
kickonjoins {
if (%kickjoins == 1) {
set %kickjoins 0
did -i $dname 28 1 seticon list 9, $+ brain\icons\orange.icl
}
elseif (%kickjoins == 0) {
set %kickjoins 1
did -i $dname 28 1 seticon list 18, $+ brain\icons\orange.icl
}
}
that code doesnt work but i think its something along those lines. Thanks in advance