Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

10 440 Posts in 5 815 Topics- by 1 216 Members - Latest Member: santini862

15 October 2019, 20:44
Select Language English | Russian ru | German
Main PageIRC Client KVIrc forumKVIrc discussionKVIrc scriptingCycle opless channel when I'm alone in the channel
Pages: [1]
Print
Author Topic: Cycle opless channel when I'm alone in the channel  (Read 1893 times)
0 Members and 1 Guest are viewing this topic.
2raxer
Новичок
*

Репутация: 0
Posts: 2


View Profile
« on: 12 February 2016, 13:25 »

Hello,
I would like to know how to make a script that autocycle the channel when the last user (except me) part/quit and I'm the only left on the channel.

Example:
on channel #test there are 2 users me and TOM, I don't have OP.

TOM part/quit the channel and I'm the only one left in the chan without OP, how to make my client part and Join the channel by itself ?

on *:QUIT: if ($nick = TOM) /hop #channel
on *:PART: if ($nick = TOM) /hop #channel

Something like this, that works for kvirc ?
« Last Edit: 12 February 2016, 16:14 by 2raxer » Logged
2raxer
Новичок
*

Репутация: 0
Posts: 2


View Profile
« Reply #1 on: 12 February 2016, 17:18 »

Ok I found solution if someone need it:
Go to Events and add under OnPart and OnQuit:

if ($0 == "nickname") hop #channel

Edit nick with client name and channel with channel to cycle.
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic