Multi Query Box

By BytchAmy on Jul 25, 2008

ok youadd this code to script remotes, it allows you to have several nicks in your pm or whisper box, tho no matter how many you have in it others cant see the message , you talk to everone seperatly in the same window.

Add this to nick list popups. Chasnge the  $+ $nick.decode($1)  to what ever your server uses to decode nicks

-
Whisper: { whisperto $$1 }
-

Open Mirc Options go to Mouse & where it says /query $$1 replace it with this (note if you dont text wont show up in the query box.)

/whispers $$1

final code add this to remotes of your script.

;===================================================================================
;----[ Multi Query Box by Bytch Amy ]-----------------------------------------------
;----[ Right Click on name in whisper box to talk to them ]-------------------------
;===================================================================================

alias whisperto { 
  set %whisperchan #
  set %whisperto $1
  window -defk0l10S @Whispers -1 -1 800 550 
  if ($left($1,1) != /) {
    aline -l @Whispers $1
    echo $color(Highlight text) -at Instructions Right Click nick you want to send message to.
    halt
  }
}

alias say {
  var %opstatus
  .raw -q privmsg $active : $+ $1-
  if ($nick isvo #) { %opstatus = + }
  if ($nick isop #) { %opstatus = @ }
  if ($nick isowner #) { %opstatus = . }
  { echo # 4@14 $timestamp ME04  $+ %opstatus $+ $nick $+ 16•15•14•160 $3- }
  set %currentchan #
  haltdef
}
alias me {
  .raw -q privmsg $active : $+ ACTION $1-
  echo $active 16*** $me $1- ***
}
on *:INPUT:@Whispers:{
  if ($left($1,1) != /) {
    if (%whisperchan == $null) { return }
    .whisper $comchan(%whisperto,1) %whisperto : $+ $1-
    echo -a $time 14[04 $+ $me $+ 14]0:77 $1-
    halt
  }
}
raw WHISPER:*: {
  if (%whisperoff != $nick) { msg $nick you have initiated a whisper with $me $+ . One moment pls | set %whisperoff $nick }
  if ($window(@Whispers) == $null) { window -defk0l10S @Whispers 0 0 800 550 }
  if ($fline(@Whispers,$nick,1,1) == $null) aline -l @Whispers $nick
  if ($window(@Whispers) != $active) /splay pm.wav
  var %msg
  if ($3 != $chr(1) $+ S) %msg = $3-
  else %msg = $remove($5-,$chr(1))
  aline @Whispers $time 14[4 $+ $nick $+ 14]0:159 %msg
  haltdef
}
on ^*:open:?: {
  if ($window(@Whispers) == $null) { window -defk0l10S @Whispers -1 -1 800 550 }
  if ($fline(@Whispers,$nick,1,1) == $null) aline -l @Whispers $nick
  var %msg
  if ($1 != $chr(1) $+ S) %msg = $1-
  else %msg = $remove($2-,$chr(1))
  aline @Whispers $time 14[4 $+ $nick $+ 14]0:15 %msg
  splay pm.wav
  halt
}

menu @Whispers {
  Who to whisper To: set %whisperto $1
  Clear:/clear 
  Close:{ window -c @Whispers }
  Ignore
  .ºONº: { ignore $$1 }
  .ºOffº: { ignore -r $$1 }
  -
}

Comments

Sign in to comment.
BytchAmy   -  Aug 02, 2008

Actually it works on buzzen, phreik & other severs io been to even IRC servers, in order for someone to see your mesage you got to right click on the nick in quey box & click whisper to also in Miec options you got to change /query $$1 to /whispers $$1 , & same section of mirc options where it says Nick List.

 Respond  
GalaxiesWarrior   -  Jul 30, 2008

Amy it might help to tell them whatserver you coded this for I assume FlashBuzzen it might make a difference

 Respond  
BytchAmy   -  Jul 26, 2008

i have a script i made wif over 100 downloads almost on the script everyone else got it working with no probs

 Respond  
RusselB   -  Jul 26, 2008

$nick(#,$nick).pnick will return all of the status characters for the nick.
So if a person had ops and voice it would return @+ not just @ as the code shows.
An alternative to show just the 1 character would be $left($nick(#,$nick).pnick)

 Respond  
napa182   -  Jul 26, 2008

hmm for some reason i cant get this to work hmm but anyways
instead of this

alias say {
  var %opstatus
  .raw -q privmsg $active : $+ $1-
  if ($nick isvo #) { %opstatus = + }
  if ($nick isop #) { %opstatus = @ }
  if ($nick isowner #) { %opstatus = . }
  { echo # 4@14 $timestamp ME04  $+ %opstatus $+ $nick $+ 16•15•14•160 $3- }
  set %currentchan #
  haltdef
}

cant you use $nick(#,$nick).pnick instead of setting a var to show user status? maybe like this?

alias say {
  .raw -q privmsg $active : $+ $1-
  echo # 4@14 $timestamp ME04 $+($nick(#,$nick).pnick,16•15•14•160,$chr(32),$3-) 
  set %currentchan #
  haltdef
}
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.