#Profilecommand On
on *:TEXT:@Profile *:*:{
set %pflshw $true
set %pronick $nick
set -u15 %nowhisp $true
var %i 1
while (%i <= $nick($comchan($nick,1),0)) {
if ($2 isin $nick($comchan($nick,1),%i)) { prop $nick($comchan($nick,1),%i) PUID | return }
inc %i
}
.notice $nick Cannot find " $+ $2 $+ " in the room, please make sure you have the nickname exactly how it appears in the room.
unset %pflshw
}
raw 818:*:{
if ($3 == PUID) && (%pflshw) {
if (%DoingScan. [ $+ [ $2 ] ]) halt
.notice %pronick $2 $+ 's Profile link = [url="http://members.msn.com/default.msnw?mpp"]http://members.msn.com/default.msnw?mpp[/url]= $+ $4- %kr | dec %i
%msnc.stoppropend = $true
unset %pflshw
timerclose 1 5 close -@ *Vincula*
haltdef
}
}
ctcp *:ERR*:*: {
if ($2 == NOUSERWHISPER) && (%nowhisp) {
msg $comchan($nick,1) $nick $+ , please enable your whispers to view profiles by going here ~~~~~~~~> [url="http://chat.msn.com/_chatroom_options.msnw"]http://chat.msn.com/_chatroom_options.msnw[/url] :D
unset %pflshw
unset %nowhisp
}
}
#Profilecommand end