|
Inky
|
Inky
|
I have these two pictures: 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: /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?
|
|
|
|
Taggnostr
|
Taggnostr
|
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
|
|
|
|
Joined: Jan 2003
Posts: 2,973
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 2,973 |
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):
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.
|
|
|
|
Taggnostr
|
Taggnostr
|
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)
|
|
|
|
Inky
|
Inky
|
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.
|
|
|
|
Joined: Aug 2004
Posts: 7,168
Hoopy frood
|
Hoopy frood
Joined: Aug 2004
Posts: 7,168 |
That's what KingTomato's code does. The line is what puts the commands into the channel menu, which you access by right clicking in the channel.
|
|
|
|
|