mIRC Home    About    Download    Register    News    Help

Print Thread
#272983 28/11/24 10:39 PM
Joined: Apr 2005
Posts: 124
X
Vogon poet
OP Offline
Vogon poet
X
Joined: Apr 2005
Posts: 124
alias f3 {
set %active $active
set %nick $me
if %canalk iswm %active { //mode # +o $me }
if #paranachat iswm %active { echo -a no seas garca | halt }
}

alias text {
set %canalk $addtok(%canalk,$1,44)
}

I want do when i press f3 ,detect the channel saved on the list and give me op


anyhelp?

XGamerAMD #272993 Yesterday at 04:32 PM
Joined: Nov 2021
Posts: 118
Vogon poet
Offline
Vogon poet
Joined: Nov 2021
Posts: 118
try this :

Code


Alias F3 { 
  var %allchannelz = $null, %ChKchans = 1 
  while (%ChKchans <= $chan(0)) { 
   if ($me ison $chan(%ChKchans) && $chan(%ChKchans) iswm %canalk) { putmode $chan(%ChKchans) +o $me  }    
     inc %ChKchans 1 
  } 
} 



Link Copied to Clipboard