Hi,

I wonder whether there's a difference between one and two slashes (/) particularly when I write a script. Here's why I ask that question: on some IRC-networks you're able to set the usermode +x to hide your hostmask. I wrote a script - two or three lines - that does so whenever I connect to one of my favourite networks, e.g. QuakeNet. Once I connect to QuakeNet the script authenticates me and sets usermode +x. At least it does so in theory. In fact sometimes it fails to set the usermode I'd like it to set. I changed the script so that two slashes precede the mode $me +x. The next time I connected the script did what it had to do and I didn't care anymore. However I dis- and reconnected once again and guess what - the script did not set my usermode.

All I know by now is that my script sometimes tries to set a channel's mode to +x which doesn't work. Apperently the command mode $me +x makes the script take my current nickname ($me) as the name of a channel whose usermode is to be set. I'd like to know how to control that, how to ensure that my usermode becomes +x instead of a non-existent channel's mode. Plus I'm very curious about how single and double slashes might help me solving the problem.