Advertisement
makimaki

lol lol lol

Jul 22nd, 2010
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.93 KB | None | 0 0
  1. ;Returns URL  for server to bring up users profiles
  2. alias purl {
  3.   if ($network == Sparkpea.Net) { return http://www.sparkpea.net/profile.php?epuid=  }
  4.   elseif ($network == PhreikNET) { return http://www.phreik.net/profile.msnw?epuid=   }
  5.   elseif ($network == Buzzen) { return http://www.buzzen.net/profile.aspx?pid= }
  6. }
  7. ;Echos a link plus popups a window of the users profile
  8. alias profiles {
  9.   echo -a * %pro  Profile Link is12 $purl $+ %pid 
  10.   window -apdk0w0  @ $+ %pro $+ 's[Profile] iconfile $mircdiricons\eXx.ico
  11.   .noop -a $dll(dll\nHTMLn_2.95.dll,attach,$window(@ $+ %pro $+ 's[Profile]).hwnd))
  12.   .noop -a $dll(dll\nHTMLn_2.95.dll,navigate, $purl $+ %pid )
  13.   halt
  14. }
  15.  
  16.  
  17. if ($numeric == 818) {
  18.     if ($3 == OWNERKEY) { hadd qKey $2 $4 }
  19.     elseif ($3 == HOSTKEY) { hadd oKey $2 $4 }
  20.     elseif ($3 == PUID) { set %pro $2 | set %pid $4- | profiles }
  21.   }
  22.   elseif ($2 == PID) { set %pro $3 | set %pid $4- | profiles }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement