mIRC Home    About    Download    Register    News    Help

Print Thread
#84698 31/05/04 01:37 AM
J
jacksparrow2
jacksparrow2
J
on 1:join:#:{
set %canal #
}

raw 366:*:{
set %voice $nick($2,0,v)
set %halfop $nick($2,0,h)
set %operadores $nick($2,0,o)
set %regular $nick($2,0,r)
}

how can i do to save al the channel i enter
please help

#84699 31/05/04 01:46 AM
Z
Zyzzyx26
Zyzzyx26
Z
on 1:join:#:{
set %canal %canal #
}

This will add the #chan you join to the %canal variable.

Hope this was what you were asking smile

Zyzzy.

#84700 31/05/04 01:53 AM
Joined: Jun 2003
Posts: 4,670
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 4,670
Also, if you want to save the entire number of people in the channel, you can use $nick(#,0).

Edit: this is one of the reasons it's important to specify what your issue is - if you don't, several people have to come up with several different ideas as to what you want. Simply pasting some code isn't always good enough. Being as detailed as possible helps others help you smile

Regards,

Last edited by Mentality; 31/05/04 02:08 AM.
#84701 31/05/04 02:03 AM
I
Iori
Iori
I
If you want to save all those vars for each channel..

raw 366:*:{
  • set $+(%,$2,.voice) $nick($2,0,v)
    set $+(%,$2,.halfop) $nick($2,0,h)
    set $+(%,$2,.operadores) $nick($2,0,o)
    set $+(%,$2,.regular) $nick($2,0,r)
}

#84702 31/05/04 12:58 PM
J
jacksparrow2
jacksparrow2
J
how i do when i enter to a channel your script saves the stats in the var ,but i want save the stats var (for the last 3 channel i join?

join #chaco-corrientes
Voice 2 Ops 4 Regular 290
join #helpdesk
Voice 5 Ops 4 Regular 23

something like that please help







Link Copied to Clipboard