mIRC Home    About    Download    Register    News    Help

Print Thread
Page 2 of 2 1 2
#107679 12/01/05 09:20 PM
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
>> Will it pop up over a running game for example without disturbing it?
I can't tell you, I have no games installed on this machine. Try it and see grin

>>Can you make the agent litteraly really READ it?
Read what?

#107680 12/01/05 09:26 PM
Joined: Aug 2004
Posts: 237
L
Fjord artisan
Offline
Fjord artisan
L
Joined: Aug 2004
Posts: 237
read loud, like speaking, is that possible?

#107681 12/01/05 09:51 PM
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
Yes, that's what it does, but if you're using WinXP you have to install SAPI 4 engine, see the note in Step 3 of The use of Agents with mIRC

#107682 12/01/05 09:53 PM
Joined: Aug 2004
Posts: 237
L
Fjord artisan
Offline
Fjord artisan
L
Joined: Aug 2004
Posts: 237
Ok thanx for all the help! I'm going to bed now, school tomorrow wink

#107683 12/01/05 09:55 PM
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
NPs smile

#107684 13/01/05 01:13 AM
Joined: Mar 2004
Posts: 155
D
Vogon poet
Offline
Vogon poet
D
Joined: Mar 2004
Posts: 155
I'm trying to inorperate your cade here into what I am currently using but I also use a sound that i want to play first then the agent load and say what was said and then unload. I basically have it working but the sound plays as the agent is speaking. I can make it so the agent speaks first and then the sound plays but i think it would be better if the sound plays first then the agent speak. From the code below is there a way this can be done. I know it can be using a timer but if I can avoid using one it would be better. thanks in advance for any help on this.

Code:
  
on ^:text:*:#:{
  if ($R.Set(Nicky,Your.Nick.Win) == On) && ($me isin $1-) {
    /window -n @Nick.Messages
  /echo @Nick.Messages  $ts $c(3) »»» $c(1) $+ Your nick was mentioned by $c(2) $+ $nick $c(1) $+ in $c(2) $+ $chan $+ . $c(1) $+ With the msg of : $c(2) $+  $1- | .splay $mircdirsounds/notice.wav }
  if !$appactive {
    .gload -h voice Merlin.acs
    .gtalk voice $nick said: $1-
  }
}
on *:agent:if $agentname == voice { .gunload voice }

on ^*:text:*:#:{
  if ($R.Set(Nicky,Your.Nick.Win) == On) && (%alt_nick isin $1-) {
    /window -n @Nick.Messages
  /echo @Nick.Messages  $ts $c(3) »»» $c(1) $+ Your nick was mentioned by $c(2) $+ $nick $c(1) $+ in $c(2) $+ $chan $+ . $c(1) $+ With the msg of : $c(2) $+  $1- | .splay $mircdirsounds/notice.wav }
  if !$appactive {
    .gload -h voice Merlin.acs
    .gtalk voice $nick said: $1-
  }
}
on *:agent:if $agentname == voice { .gunload voice }

#107685 13/01/05 09:14 PM
Joined: Aug 2004
Posts: 237
L
Fjord artisan
Offline
Fjord artisan
L
Joined: Aug 2004
Posts: 237
Ok i found another problem, when someone says a number without something else the agents pops up and tells me I'm highlighted.
What could be the problem?

Code atm is:
-----------------------------------------------------------------
on *:text:*:#:{
if $highlight($1-) {
if ( $chan !== $active || $cid != $activecid ) { echo -alt < $+ HIGHLIGHT: $nick @ $chan $+ > $1- }
if !$appactive {
talk You were highlighted by $nick
}
}
}

alias talk {
.gload -h talk default
.gtalk talk $$1-
}
on *:agent:if ( $agentname == talk ) { .gunload talk }
-----------------------------------------------------------------

#107686 13/01/05 11:44 PM
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
OK That' would happen for any number<= your total highlight ebtries (in options) because you can also use$highlight(N).

Easy fix is to add something to the front of the $1-, such as $nick.
Code:
on *:text:*:#:{
  if $highlight([color:red]$nick[/color] $1-) {
    if ( $chan !== $active || $cid != $activecid ) { echo -alt &lt; $+ HIGHLIGHT: $nick @ $chan $+ &gt; $1- }
    if !$appactive { talk You were highlighted by $nick }
  }
}

#107687 13/01/05 11:50 PM
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
Hm I take it it's a longish sound (ogg or mp3 or such). Possibly use on mp3end / waveend / midiend (depending on the sound file type), check if $filename is the one used here and if so then do the agent stuff from that event.

#107688 14/01/05 03:36 PM
Joined: Aug 2004
Posts: 237
L
Fjord artisan
Offline
Fjord artisan
L
Joined: Aug 2004
Posts: 237
Thanx Iori !

#107689 15/01/05 06:18 AM
Joined: Jan 2005
Posts: 15
P
Pikka bird
Offline
Pikka bird
P
Joined: Jan 2005
Posts: 15
was wondering if someone knew were i could find a small http downloader for my *.mrc files download to a dir then reload the files

thanks


paradox
Page 2 of 2 1 2

Link Copied to Clipboard