mIRC Home    About    Download    Register    News    Help

Print Thread
#188247 19/10/07 06:08 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
$ibl($2,$1).by <- return who set a ban on a channel, but if i use $iel($2,$1).by <- it will return the host from the user that put the exemption there, how can i return the nick instead? tryed to change $? to diffrent values, but didnt help at all. Ideas please?


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Presumably $iel().by is returning the address in the format nick!user@host, so you can just use $gettok to extract it.

Joined: Mar 2007
Posts: 218
V
Fjord artisan
Offline
Fjord artisan
V
Joined: Mar 2007
Posts: 218
$gettok($iel($1,$2).by,1,33)


Link Copied to Clipboard