mIRC Home    About    Download    Register    News    Help

Print Thread
Text Script Help #93919 13/08/04 01:04 AM
Joined: Aug 2004
Posts: 8
O
Omnipotent Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
O
Joined: Aug 2004
Posts: 8
Hey,
I dont even know if this CAN be done but I want to know how to make (or whrere to get haha) a text changing script. Like If I type 'Bow down before your master' it shows up in the channel as 'W dW efR uR MSTR' bot not like an aliasess' like '/Bow /msg # W dW efR uR MSTR' but would work with everything I type.

Do you kinda get what Im saying or should I explain it more?

Re: Text Script Help #93920 13/08/04 01:09 AM
Joined: Nov 2003
Posts: 2,327
T
tidy_trax Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
Code:
on *:input:*:{
  if ($1- == bow down before your master) {
    say W dW efR uR MSTR'
    halt
  }
}


Paste the code from here to wordpad, then from wordpad to mIRC.


New username: hixxy
Re: Text Script Help #93921 13/08/04 01:11 AM
Joined: Jul 2004
Posts: 169
S
ShinZon Offline
Vogon poet
Offline
Vogon poet
S
Joined: Jul 2004
Posts: 169
for such script you would need to define every word or letter to change itz appearence on type

i can only give you this:

ON 1:INPUT:#:{ if ($1 == Bow down before your master) { msg $chan W dW efR uR MSTR }


Re: Text Script Help #93922 13/08/04 01:13 AM
Joined: Aug 2004
Posts: 8
O
Omnipotent Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
O
Joined: Aug 2004
Posts: 8
Hmmm...ok would it work like:

on *:input:*:{ if ($1- == a {
say
halt }
}


on *:input:*:{ if ($1- == b {
say
halt }
}


and then the same fo c...d...e..f..g...h...etc and then if i typed anything itd work, cuz thats what im looking for, sorry if i wasnt too clear...

Re: Text Script Help #93923 13/08/04 01:15 AM
Joined: Nov 2003
Posts: 2,327
T
tidy_trax Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
on *:input:*:{
say $replace($1-,a,,b,)
halt
}


New username: hixxy
Re: Text Script Help #93924 13/08/04 01:22 AM
Joined: Feb 2004
Posts: 2,019
FiberOPtics Offline
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
Hi,

create a custom alias like this: alias weirdtext return $replace($$1,b,,e,,....)

Then you can transform any text by using the alias. For example:: //echo -a $weirdtext(this is text that will be converted)

You can then use this in an ON INPUT event like:

on *:INPUT:#:{
if /* iswm $$1 || $ctrlenter || $inpaste { return }
say $weirdtext($1-)
haltdef
}

Btw you could make a switch to enable/disable the weirdtext alias, and then incorporate this into the script.

E.g.: if %weirdtext == on { haltdef | say $weirdtext($1-) }


You get the picture.


Greets


Gone.