mIRC Home    About    Download    Register    News    Help

Print Thread
#155197 04/08/06 09:52 AM
Joined: Jul 2006
Posts: 26
I
Inky Offline OP
Ameglian cow
OP Offline
Ameglian cow
I
Joined: Jul 2006
Posts: 26
I have these two pictures:

Code:
 7,1                             15,1o17,1                    
7,1                         8,1_---7,1|         _ _ _ _ _  
7,1                      15,1o7,1   8,1---7,1|     15,1o7,1   15,1]-I-I-I [7,1  
7,1     _ _ _ _ _ _  4,1_---7,1|      | 12,1_---7,1|    \ ` ' /   
7,1     15,1]-I-I-I-I-[7,1   4,1---7,1|      |  12,1---7,1|    |.   |    
7,1      \ `   '_/       |     8,1/ \7,1    |    | 15,1/^\7,1|    
7,1       15,1[8,1*15,1]7,1  __|       4,1^7,1    8,1/ ^ \7,1   12,1^7,1    | 15,1|8,1*15,1|7,1|    
7,1       |__   ,|      4,1/ \  8,1/    `\12,1 / \7,1   | ===|    
7,1    ___| ___ ,|__   4,1/    8,1/=_=_=_=\12,1   \7,1  |,  _|    
7,1    I_I__I_I__I_I  4,1(====8,1(_________)12,1___|7,1_|____|___ 
7,1    \-\--|-|--/-/  |     I  [ ]__I I_I__|____I_I_|
7,1     |15,1[]7,1      '|   |15,1[]7,1  |`__  . [   \-\--|-|--/-/ 
7,1     |.   | |' |___|_____I___|___I___|---------|  
7,1    10,1/ \7,1| 15,1[]7,1   .|_|-|_|-|-|_|-|_|-|_|-| 15,1[]   []7,1 |  
10,1   <===>7,1  |7,1   .|10,1-=-=-=-=-=-=-=-=-=-=-7,1|   |    10,1/ \ 
10,1   ]15,1[]10,1 |7,1`   15,1[]7,1 ||.|.|.|.|.|.|.|.|.|.||-      10,1<===>
10,1   ] 15,1[]10,1|7,1 ` |   |14,1/////////\\\\\\\\\\7,1.||__.  | 10,1|15,1[]10,1 [
10,1   <===>7,1     ' 15,1||||| 7,1|   |   | 15,1||||.||  15,1[]7,1   10,1<===>
10,1    \T/7,1  | |-- 15,1||||| 7,1| 15,1O7,1 | 15,1O |15,1 ||||.15,1||7,1 . |'   10,1\T/ 
7,1     |      . _15,1||||| 7,1|   |   |15,1 ||||.15,1||7,1 |     | |  
7,1  ../|' v . | .15,1|||||7,1/____|____\15,1|||| /|7,1. . | . ./  
3,1  .|//\............7,1/3,1...........7,1\3,1........../../\\\  


And:

Code:
                                /T /I
                              / |/ | .-~/
                          T\ Y  I  |/  /  _
         /T               | \I  |  I  Y.-~/
        I l   /I       T\ |  |  l  |  T  /
     T\ |  \ Y l  /T   | \I  l   \ `  l Y
 __  | \l   \l  \I l __l  l   \   `  _. |
 \ ~-l  `\   `\  \  \\ ~\  \   `. .-~   |
  \   ~-. "-.  `  \  ^._ ^. "-.  /  \   |
.--~-._  ~-  `  _  ~-_.-"-." ._ /._ ." ./
 >--.  ~-.   ._  ~>-"    "\\   7   7   ]
^.___~"--._    ~-{  .-~ .  `\ Y . /    |
 <__ ~"-.  ~       /_/   \   \I  Y   : |
   ^-.__           ~(_/   \   >._:   | l _____
       ^--.,___.-~"  /_/   !  `-.~"--l_|/     ~"-.
              (_/ .  ~(   /'     "~"--,Y   -=b-. _)
               (_/ .  \  :           / l      c"~o \
                \ /    `.    .     .^   \_.-~"~--.  )
                 (_/ .   `  /     /       !       )/
                  / / _.   '.   .':      /        '
                  ~(_/ .   /    _  `  .-<_
                    /_/ . ' .-~" `.  / \  \          ,z=.
                    ~( /   '  :   | K   "-.~-.______//
                      "-,.    l   I/ \_    __{--->._(==.
                       //(     \  <    ~"~"     //
                      /' /\     \  \     ,v=.  ((
                    .^. / /\     "  }__ //===-  `
                   / / ' '  "-.,__ {---(==-
                 .^ '       :  T  ~"   ll
                / .  .  . : | :!        \\
               (_/  /   | | j-"          ~^
                 ~-<_(_.^-~" 


Now how would I put those into popup form?
I want the first one to be names Castle, and the second Eagle, but how do I make them appear as popups? Or even into the popup ribght-click menu?


Very new to mIRC, don't know much.
#155198 04/08/06 10:20 AM
Joined: May 2006
Posts: 93
Babel fish
Offline
Babel fish
Joined: May 2006
Posts: 93
alt+p -> choose in what popup you want to insert the pics in the view menu -> add .pic1:/command in the popus
you can use /play pic1.txt as command

now just right click, the popup appear, click on pic1 and the command will be execute

#155199 04/08/06 05:12 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
Just to be a little more clear, add eahc one to a text file (maybe even make a directory in your mIRC folder called ascii, and make each picture a new file (eagle.txt, castle.txt). From there, go to your popups, and add the following commands:

ASCII ART
.Castle: /play $active ascii\castle.txt
.Eagle: /play $active ascii\eagle.txt

If you'd like a dynamic way of doing this, you could use the following (in remotes):

Code:
menu channel {
  ASCII ART
  .$submenu($ascii.art($$1))
}

alias -l ascii.art {
  if ($istok(begin end,$1,32)) return -
  else if ($findfile($mircdirascii,*.txt,$1,1)) {
    var %file_path = $v1, %file_name = $gettok($nopath(%file_path),1,46)
    return %file_name : /play $active $+(",%file_path,")
  }
}


That will update the menu with each new file you add to the 'ascii' directory.


-KingTomato
#155200 04/08/06 05:30 PM
Joined: May 2006
Posts: 93
Babel fish
Offline
Babel fish
Joined: May 2006
Posts: 93
good work KingTomato :P
i just want to add a small thing: if you paste a lot of text you may flood so i suggest you to set a delay in the play command

.Castle: /play $active ascii\castle.txt 1500

where 1500 is 1,5 sec between the msg (default is 1000)

#155201 08/08/06 12:06 PM
Joined: Jul 2006
Posts: 26
I
Inky Offline OP
Ameglian cow
OP Offline
Ameglian cow
I
Joined: Jul 2006
Posts: 26
Isn't there an easier way, like, right-click the window of the mIRC chatroom, then a menu comes up?

I actually downloaded CafeMuslims script, and they had popups like that, but I am not able to show them as of now.


Very new to mIRC, don't know much.
#155202 08/08/06 11:11 PM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
That's what KingTomato's code does.
The line
Code:
 menu channel { 
is what puts the commands into the channel menu, which you access by right clicking in the channel.


Link Copied to Clipboard