mIRC Homepage
Posted By: Dracoz Mimic Script - 23/08/07 12:37 AM
I now use this mimic script
Code:
on *:load: {
  echo -a Script Loaded !
}
#mimic off
#mimic end
alias mimic {
  set %mimic.person $1
  set %channel $chan
  .enable #mimic
  echo -a 4,1Mimicing $1
}
 
alias mimic.off {
  .disable #mimic
  echo -a 4,1No longer mimicing %mimic.person
  unset %mimic.person
}
 
on *:text:*:%channel: {
  if ($group(#mimic).status == on) {
    if ($nick == %mimic.person) {
      msg $chan $1-
    }
  }
}
 
menu channel,nicklist,query {
  .Mimic Script 
  ..Mimic Person:/mimic $$?="Person to mimic:"
  ..End Mimic:/mimic.off


But how do i need to script this if i want to use rightmousebutton on a nickname that the nickname will be mimiced automaticly ? instead of typing the name/person to mimic...

Plz help ^^
Posted By: LostShadow Re: Mimic Script - 23/08/07 01:53 AM
You already have it in your popups. Right-click, select mimic script...etc.
Posted By: Dracoz Re: Mimic Script - 23/08/07 02:01 AM
Originally Posted By: LostShadow
You already have it in your popups. Right-click, select mimic script...etc.


I know but i need to rightclick and enter a name,,,

It needs to be like.. i rightclick the name and i select mimic, than it will mimic the $address without typing in the name ....

Don't know how to script that ...
Posted By: ik000ike Re: Mimic Script - 23/08/07 02:11 AM
Code:

menu nicklist { 
  Mimic Person:/mimic $address($$1,2)
}
Posted By: xDaeMoN Re: Mimic Script - 23/08/07 04:32 AM
change
Code:
  ..Mimic Person:/mimic $$?="Person to mimic:"

to
Code:
  ..Mimic $$1 : mimic $$1


Also, you're missing a "}" at the end of your popups menu.
Posted By: LonDart Re: Mimic Script - 23/08/07 06:33 PM
Your use of groups isn't quite right.
Code:
on *:load: {
  echo -a Script Loaded !
}

alias mimic {
  set %mimic.person $1
  set %channel $chan
  .enable #mimic
  echo -a 4,1Mimicing $1
}
 
alias mimic.off {
  .disable #mimic
  echo -a 4,1No longer mimicing %mimic.person
  unset %mimic.person
}

#mimic off
on *:text:*:%channel: {
  if ($nick == %mimic.person) {
    msg $chan $1-
  }
}
#mimic end

menu channel,query {
  .Mimic Script 
  ..Mimic Person:/mimic $$?="Person to mimic:"
  ..End Mimic:/mimic.off
} 

menu nicklist {
  .Mimic Script 
  ..Mimic Person:/mimic $$1
  ..End Mimic:/mimic.off
}


The command .enable #mimic will change #mimic off to #mimic on,
just as .disable #mimic will do the reverse.
When it reads #mimic off, the entire on TEXT event will be ignored,
so you needn't check the state of #mimic in that event.
Posted By: foshizzle Re: Mimic Script - 23/08/07 10:09 PM
nice job and where in virginia do u live londart and what server do u use
Posted By: Dracoz Re: Mimic Script - 24/08/07 12:06 AM
Yeah thank you laugh this works !!!
© mIRC Discussion Forums