ok right now i have this as a command that someone helped me with before

scid $activecid if ($active ischan) describe $active [command]

now i tried this to display in the last active only if the lastactive is a channel and i put

scid $activecid if ($lactive ischan) describe $lactive [command]

also i wanna make it so the last active command only works when in query so i put if ($1 == $active) { command } right?

but it dont work....and i really dont understand why