dj328i
Messages postés312Date d'inscriptiondimanche 23 février 2003StatutMembreDernière intervention14 mars 2022 11 déc. 2005 à 07:37
$nick(#,N/nick,aohvr,aohvr)
Returns Nth nickname in the channels nickname listbox on channel #.
Properties: color, pnick, idle
$nick(#mIRC,0) returns the the total number of nicknames on #mIRC
$nick(#mIRC,1) returns the 1st nickname on #mIRC
Both aohvr parameters are optional. The first specifies which nicks you'd like included, and the second specifies the nicks you'd like excluded, where:
a <gras>all nicks, o ops, h = halfops, v = voiced, r = regular</gras>
$nick(#mIRC,1,o) return the first op on #mIRC
$nick(#mIRC,0,a,o) return the total number of nicks not including ops on #mIRC
The pnick property returns the nickname in a [mailto:.@%+nick .@%+nick] format.
The idle property returns the time the user has been idle on the specified channel, ie. the time since the user last sent a message to the channel.
Note: See the $prefix identifier for more information.
fjxokt
Messages postés840Date d'inscriptionvendredi 28 janvier 2005StatutMembreDernière intervention25 février 20091 11 déc. 2005 à 10:19
Mis a part pour connaitre le nombre d'ircop (ou tu dois t'aider de raws) le problème est exactement le même en ce qui concerne le nombre de 'gens normaux' (= regular pour mirc)
en gros faut remplacer le @ du code de cm par un r , mais comme tu n'as fait que le recopier sans essayer a comprendre, ce n'est pas étonnant que tu n'ai pas trouvé comment faire...