correct i do NOT want the script to work in #whatever if i understand you correctly i need to always unset the 2 variables ? at the end of each calling script ? so if the first script sets %pnick & %pchan when the next script triggers it wont reset them on its own ?