mIRC Home    About    Download    Register    News    Help

Print Thread
#119129 01/05/05 08:01 PM
Joined: May 2004
Posts: 39
S
Ameglian cow
OP Offline
Ameglian cow
S
Joined: May 2004
Posts: 39
I need a script to when every time somone does a (!) with a command name my bot replys in word not an action. Also...I

I need a script that copys whatever the user types when they say or do an action, right after they type it.

And I can activate it by using a command, like (!on) I also want to be able to set the target...Without them being able to see me set it or something
confused

Please help! grin


Do the monkey!
#119130 01/05/05 08:31 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
Quote:
I need a script to when every time somone does a (!) with a command name my bot replys in word not an action. Also...I


locate the /describe $chan or /describe # and replace them with /msg $chan or /msg #

Quote:
I need a script that copys whatever the user types when they say or do an action, right after they type it.


thats what logs are for.

Quote:
And I can activate it by using a command, like (!on) I also want to be able to set the target...Without them being able to see me set it or something


use on *:text:!on *:?: and /msg the bot the !on

#119131 01/05/05 08:51 PM
Joined: May 2004
Posts: 39
S
Ameglian cow
OP Offline
Ameglian cow
S
Joined: May 2004
Posts: 39
I meant like a copyu cat script

if they type O.o

It replys O.o back right after they type it


Do the monkey!
#119132 01/05/05 09:25 PM
Joined: Apr 2005
Posts: 18
B
Pikka bird
Offline
Pikka bird
B
Joined: Apr 2005
Posts: 18
Code:
 
on *:TEXT:*:#:msg # $1-
on *:ACTION:*:#:describe # $1-

#119133 02/05/05 01:23 AM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
mahahah my reply "thats what logs are for." was a resonable amount off track then!

ummm i didnt understand if you ment you activate it on them. heres a simple one

Code:
;
;usage remotely /msg bot !mimic nick channel seconds
;usage on the bot /mimic nick channel seconds
;You must add what ulevel or other security messures for who can pm the bot with !mimic
;
; EX mimic DaveC on #mirc for 1 hour   >>>> /msg bot !mimic DaveC #Mirc 3600
; EX mimic Rob on #wombat for 1 day    >>>> /msg bot !mimic Rob #wombat 86400
; EX remove mimic on DaveC on #mirc    >>>> /msg bot !mimic DaveC #mirc -
; EX remove mimic on DaveC on anywhere >>>> /msg bot !mimic DaveC * -
; EX remove mimic on anyone on #mirc   >>>> /msg bot !mimic * #mirc -
; EX remove mimic on anyone anywhere   >>>> /msg bot !mimic * * -
; NB: seconds value being <1 or NAN well make it a remove
; NB: wildcards can only be used in removing!
; NB: restarting mirc well remove all mimics
;
;You must add what ulevel or other security messures for who can pm the bot with !mimic
;
on *:TEXT:!mimic & & &:?:mimic $2 $3 $4
alias mimic {
  if ($3 isnum 1-) { set -u $+ $int($3) $+(%,mimic.,$1,.on.,$2) $true }
  else { unset $+(%,mimic.,$1,.on.,$2) }
}
;
on *:TEXT:*:#:{ if ($($+(%,mimic.,$nick,.on.,$chan),2)) { msg $chan $1- } }
on *:ACTION:*:#:{ if ($($+(%,mimic.,$nick,.on.,$chan),2)) { describe $chan $1- } }
;


* this code is untested, tell me if it works or not and ill see if i can fix it.


Link Copied to Clipboard