Showing posts with label message. Show all posts
Showing posts with label message. Show all posts

Thursday, December 16, 2010

Private Message Popup

Ok this is the result of me finding a new function on mIRC
So dont moan if i'm doing something wrong :)

I have found this useful if im using my browser.

You can turn it off easily and you can set how long the popup is
displayed for.

I know that its larger than you need!

When you are using the script for the first time type /p_reset
to set the default variables else it wont work.
I will change the script to work better over time!

Usage:
Turn off and on or set the timer via right-clicking.
Reply to a pm by double clicking the popup message.

Also when you have replied it will show the replied Popup,
double-clicking this will allow you to reply again,
Pm's to you from the same person will be stacked.

Please place all of the code in your remotes tab on a clean
remote :)

p.s. I prefer this to the built-in function for mIRC the built-in fucntion dont allow this amount of expandability :)

AND
Thanks to Allred58 and macs for helping me test it out :)
Also blackvenomm666, Jethro_ & napa182 for the script improvements


on 1:TEXT:*:?:{
if (%popup) {
set %p_nick $nick
var %qtip $tip(PM, PM from $nick , $chr(91) $+ $time(hh:nn) $+ $chr(93) - $1- ,%ptimer,$mircexe,5,p_reply)
}
}
menu channel,menubar,status {
PM Popup
.Turn popups $iif(!%popup,on,off): $+($iif(%popup,un),set) %popup on | echo PM Popup: Popups are $iif(%popup,$v1,off)
.Set timer: set %ptimer $$?="How many seconds will the popup display for (3-60):"
}
alias p_reset {
set %popup 1
set %ptimer 3
//echo PM Popup: PM Popups has been reset
}
alias p_reply {
set %text $$?="Type a reply for %p_nick $+ :"
msg %p_nick %text
var %qtip $tip(reply, Reply to %p_nick , $chr(91) $+ $time(hh:nn) $+ $chr(93) - Replied to %p_nick " $+ %text $+ ",%ptimer,$mircexe,5,p_reply)
unset %p_nick %text
}