Well, I may have forgotten to give you more details of what I am trying to do. I have an away dialog in which I can configure on what channels I want to be deoped when going away. Channels are associated to servers.
In a .ini file, I have for exemple :
[Deop]
chat.exemple1.com=#Chan1,#Chan2
chat.exemple2.com=#Chan1,#Chan2
...
When I click on the button of my away dialog, I want the script to set me away on every server (this I have managed to do). But I also want to be deoped on the chans I have specified. Now, I wanted to know if it is possible to have this in an alias, ie without refering to an event.
Since that, a solution has occured to me : I will use the raw event 306. Still, if you have any answers to how to do this without being related to an event, it would be great.
Cheers