if (guest isin $nick) { do somthing } else { do somthing else }
on ^*:quit: { haltdef ; rest of code here }