pony

Profile in @ window

Aug 23rd, 2015
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. Error when you get time , How can i combine this so it opens in a @ window , I been playing with it and cant seem to get it to work right
  2. No hurry at all , Thank you , Donny
  3.  
  4. opentv {
  5. var %N = dll $+(", dlls/nHTMLn_2.95.dll, "), %Chan, %Link, %Win
  6.  
  7. if ($1 == DIRECT) {
  8. %Link = $2
  9. %Chan = $Gettok($Gettok(%Link, 4, 47), 2, 61)
  10. }
  11.  
  12. else {
  13. %Chan = http://www.watch32.com
  14. %Link = http://www.watch32.com
  15. }
  16.  
  17. %Win = @WEBCHAT. $+ %Chan
  18.  
  19. if (%Chan) {
  20. window -a %Win
  21. %N attach $Window(%Win).hwnd
  22. %N navigate %Link
  23. }
  24. }
  25.  
  26. alias Open_Profile {
  27. var %Nick = $$1, %PID = $$2
  28. url http://chat.buzzen.com/profile.aspx?pid= $+ $$2
Advertisement
Add Comment
Please, Sign In to add comment