Query Manager
Please Register to submit score.
| Average Score | 8.4 |
| Scores Submitted | 10 |
| Date Added | Feb 01, 2008 |
| Last Updated | Mar 01, 2008 |
| Tags | dialog manager p2p pm query |
Introduction
2/2/08 Updated a bit
3/1/08 Updated and redone a bit
mIRC Snippet:
Query Manager
Posted on Feb 1, 2008 5:31 pm
Posted on Feb 1, 2008 5:31 pm
Good Job napa! Great idea and works seamlessly.
~E
~E
mIRC Snippet:
Query Manager
Posted on Feb 1, 2008 5:33 pm
Posted on Feb 1, 2008 5:33 pm
Ok napa lol as you know i tested the crap outta this.Love the set up of the buttons and the interface.Very cool an useful.Looks like it works for everyone but there maybe a version issue.I tested this on 2 different mIRC versions one worked fine an another i had to edit to work for me im posting my edited version(not that edited) for those who come across it not working as a result of there version.
This works fine for me.Good work napa 8/10.`-.-´
| Code: |
dialog 1query { title "Query Manager" size -1 -1 232 82 option dbu text "Query From:", 2, 5 14 32 8 edit "", 3, 39 14 47 9, read text "Time/Date:", 4, 89 14 27 8 edit "", 5, 119 14 47 9, read text "Message:", 6, 6 28 24 8 edit "", 7, 32 30 134 21, read multi hsbar button "Accept", 8, 32 57 24 9 button "Deny", 9, 68 57 24 9 button "Block", 10, 105 57 24 9 radio "On", 11, 7 43 19 9 radio "Off", 12, 7 54 19 9 link "www.EzzyChat.com", 13, 91 70 51 7 text "Blocked Users", 14, 176 14 35 8 button "R", 16, 219 30 9 9 button "Un Block", 17, 141 57 24 9 box "«×X§Ç®îÞt0®§X×»", 1, 2 1 228 79 combo 15, 171 30 46 50, drop check "Away Logger Off", 19, 173 57 51 9 check "Away Logger On", 18, 173 43 52 9 } alias 1query { dialog $iif($dialog(1query),-v,-md) 1query 1query } menu channel { .Query Manager { 1query } } on *:load: { echo 12 -a You Have Just Loaded Napa182's Query Manager echo 12 -a A Script0rs Inc. Production echo -a 14,1(14,1¯15,1¯0,1¯0,1º «×X§Ç®îÞt0®§X×» º0,1¯15,1¯14,1¯)™ } on *:DIALOG:1query:init:0:{ if (%query1 == on) { did -c 1query 11 } if (!%query1) { did -c 1query 12 } if (%p2plogger == on) { did -c 1query 18 } if (!%p2plogger) { did -c 1query 19 } if $read(queryblock.txt) == $null { did -a 1query 15 List Is Empty } if $read(queryblock.txt) != $null { var %x = 1 while ( %x <= $lines(queryblock.txt)) { did -a 1query 15 $read(queryblock.txt,%x) inc %x } } } on *:DIALOG:1query:sclick:*:{ if ($did == 19) { did -u 1query 18 | unset %p2plogger } if ($did == 18) { set %p2plogger on | unset %query1 | did -u 1query 19 | did -u 1query 11 | did -c 1query 12 } if ($did == 11) { set %query1 on | did -u 1query 18 | did -c 1query 19 | unset %p2plogger } if ($did == 12) { unset %query1 } if ($did == 8) { .msg $did(3).text 14,1[4,1» 0p2p4 Accepted 4,1«14] | .query $did(3).text | dialog -c 1query } if ($did == 9) { .msg $did(3).text 14,1[4,1» 0Sorry $did(3).text But Ur p2p Has Been4 Denied 4,1«14] | .close -m $did(3).text | dialog -c 1query } if ($did == 10) { .write queryblock.txt $did(3).text | .msg $did(3).text 14,1[4,1» 0You Have Been Blocked From p2ping Me4 Enjoy 4,1«14] | .msg $did(3).text 14,1[4,1» 0Meaning I Wont Accept Anymore p2p's From4 You 4,1«14] | .ignore -p $address($did(3).text,2) | .close -m $did(3).text | dialog -c 1query } if ($did == 13) { /run http://www.freewebs.com/shideezdi/index.htm } if ($did == 17) { .ignore -r $address($did(15).seltext,2) var %Delblocked $read(queryblock.txt,w,$did(15).seltext) if (%Delblocked == $did(15).seltext) { write -dl [ $+ [ $readn ] ] queryblock.txt did -d 1query 15 $did(15).seltext echo -a $did(15).seltext Has Been Taken Off p2p Block } } if (($did == 16) && ($read(queryblock.txt) == $null)) { did -ra 1query 15 List Is Empty } if (($did == 16) && ($read(queryblock.txt) != $null)) { did -r 1query 15 var %x = 1 while ( %x <= $lines(queryblock.txt)) { did -a 1query 15 $read(queryblock.txt,%x) inc %x } } } on *:text:*:?:{ if (%query1 == on) { 1query .did -a 1query 3 $nick .did -a 1query 5 $time(mmm dd h:nn tt) .did -a 1query 7 $1- .msg $nick 14,1[4,1» 0You are currently speaking with 4 $me 4,1«14] .msg $nick 14,1[4,1» 0I currently have $query(0) 0querie(s) open 4,1«14] .msg $nick 14,1[4,1» 0Please Wait To See If Ur p2p Will Be Accepted 4,1«14] } if (%p2plogger == on) { inc -u60 %p2pmessage. [ $+ [ $nick ] ] if (%p2pmessage. [ $+ [ $nick ] ] == 1) { .msg $nick 14,1[4,1» 0Sorry Im currently Away 4 atm 4,1«14] .msg $nick 14,1[4,1» 0But Please Leave A Short 4 Message 4,1«14] .msg $nick 14,1[4,1» 0You Have 60 Seconds To Do So Or p2p Will Auto 4 Close 4,1«14] window @AwayLogger aline @AwayLogger $nick p2p'ed you $time(mmm-d-yy @ h:nn tt) and said---------- $1- .timer 1 60 .close -m $nick } elseif (%p2pmessage. [ $+ [ $nick ] ] == 2) { .msg $nick 14,1[4,1» 0Thank you For Leaving A Message.. p2p Will Now Be4 Closed 4,1«14] window @AwayLogger aline @AwayLogger Message From $nick ---- $1- unset %p2pmessage. [ $+ [ $nick ] ] .close -m $nick halt } } } |
This works fine for me.Good work napa 8/10.`-.-´
mIRC Snippet:
Query Manager
Posted on Feb 1, 2008 5:52 pm
Posted on Feb 1, 2008 5:52 pm
yeah for some reason it didnt like ur mirc lol.. i did test it on version 6.31 and 6.16 and it worked fine
mIRC Snippet:
Query Manager
Posted on Feb 1, 2008 6:11 pm
Posted on Feb 1, 2008 6:11 pm
Heh most things just hate my soul......
mIRC Snippet:
Query Manager
Posted on Feb 1, 2008 6:26 pm
Posted on Feb 1, 2008 6:26 pm
And I tested on old school 1.3 lol
mIRC Snippet:
Query Manager
Posted on Feb 2, 2008 1:56 am
Posted on Feb 2, 2008 1:56 am
nice script 8/10 mit use it on one of my scripts iv been working on (all mite just stick to the one iv been useing for about a year)
mIRC Snippet:
Query Manager
Posted on Feb 2, 2008 5:33 pm
Posted on Feb 2, 2008 5:33 pm
i updated it just a bit..
Thank you for ur comments
Thank you for ur comments
mIRC Snippet:
Query Manager
Posted on Mar 4, 2008 10:31 pm
Posted on Mar 4, 2008 10:31 pm
i liked it... works well :D








