Is there any tutorials on how to make scripts such as:

- when anyone in a channel sets mode -o on my nick I automatically /msg chanserv op #channel .. but I would like to set this for one network only, not all

- I connect to network a, set a certain mode, then mirc connects to the channels I want .. I can do this using the perform function, but if the /mode command failed it'd still join the channels.. if the mode command fails I do not want to join the channels

thanks smile