I want a function to do the following: If there is a client that matches 'name="Grendel"' then I want that client to gain focus. If there is no such client that matches 'name="Grendel"' then I want "start-monster" to be executed.
Now, I know how to send focus to a client, and I know how to spawn monsters. Question is -- how do I figure out whether there is a client that matches 'name="Grendel"'? Thanks! -- To unsubscribe, send mail to [email protected].
