For one i'm on undernet in a unregisterd channel. Two this script still does not work. This is what happend.

22:44 * XM-bot (XM@ip68-227-96-40.ok.ok.cox.net) has joined #thethirdchannel
22:44 * pUff` sets mode: +v XM-bot
22:44 * pUff` sets mode: +o XM-bot
22:44 * XM-bot sets mode: +p

The mode still remained...