O.P. RE: Suggestion to the next version of msg plus.
Thanks all!
Hmm...
My intention is to see who invite me to the multi-users convention.
Must be some way... =\
If it will help, i build some script in mIRC Scripting, that the users need to give pass if they want chat with me in private.
on *:load:{
echo -ta 3Thanks for loaded that beautiful script!
echo -ta 3Idea: SaBaBa-AbA
echo -ta 3Scripting: YaM
echo -ta 3Improvement of the idea: YaM
echo -ta 3If you want start using that, click on right click of the mouse, in any window!!!
echo -ta 3Enjoy.
}
on ^*:text:*:?:{
if (%passwordscript) {
if (%trys. [ $+ [ $nick ] ] == 0) { haltdef | .msg $nick 10You are blocked. The command halted. | halt }
if ($1 == @Pass) && (%ide. [ $+ [ $nick ] ]) { haltdef | .msg $nick 10You already identify! | halt }
if ($1 == @pass) && (!%trys. [ $+ [ $nick ] ]) { haltdef | set %trys. [ $+ [ $nick ] ] %trytoset }
if ($1 == @Pass) && ($2 === %mypass) {
haltdef
.msg $nick 10Identify success!
.msg $nick 10Now you can send me messenges without any disturbance.
set %ide. [ $+ [ $nick ] ] access
}
if ($1 == @Pass) && (!$2) {
haltdef
.msg $nick 10Invalid format! Syntax: @Pass <The Pass>
}
if ($1 == @Pass) && ($2 !=== %mypass) {
haltdef
dec %trys. [ $+ [ $nick ] ]
.msg $nick 10Invalid password!
.msg $nick 10You have only more %trys. [ $+ [ $nick ] ] tries!
}
if (!%ide. [ $+ [ $nick ] ]) {
haltdef
.msg $nick 10Give me password please, and then send the message. ( Type: @Pass <The Pass> )
}
if (%ide. [ $+ [ $nick ] ]) {
noop
}
}
}
on *:close:?:{
if (%unsetonclose) {
unset %trys. [ $+ [ $nick ] ]
unset %ide. [ $+ [ $nick ] ]
}
}
on *:open:?:*:{
if (%passwordscript) {
if (!%ide. [ $+ [ $nick ] ]) {
window -c $nick
}
}
}
alias noop {
}
menu * {
PPS
.Set the script:setscript
.New all time?
..Explanation:echo -ta Do the nick need to identify newly every time that you close the chat window?
..$$iif(%unsetonclose,Off,On):$$iif(%unsetonclose,offthescript2,onthescript2)
.$$iif(%passwordscript,Off,On):$$iif(%passwordscript,offthescript,onthescript)
.This script created by Y@M
}
alias offthescript {
unset %passwordscript
echo -ta 4The script turn off!
}
alias onthescript {
set %passwordscript on
echo -ta 3The script turn on!
}
alias offthescript2 {
unset %unsetonclose
echo -ta 4The "New all time" option turn off!
}
alias onthescript2 {
set %unsetonclose on
echo -ta 3The "New all time" option turn on!
}
alias setscript {
set %trytoset $$input(How much tries you want give to the human before you block him/her?,e)
set %mypass $$input(What the password that the nick will insert to open chat window with you?,e)
}
Thanks you again,
Y@M
This post was edited on 10-21-2006 at 02:21 PM by Y@M.
|