mIRC Home    About    Download    Register    News    Help

Print Thread
#93919 13/08/04 01:04 AM
Joined: Aug 2004
Posts: 8
O
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 dÓWÑ ßefÓRÊ ÝÓuR MâSTÊR' bot not like an aliasess' like '/Bow /msg # ßÓW dÓWÑ ßefÓRÊ ÝÓuR MâSTÊR' but would work with everything I type.

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

#93920 13/08/04 01:09 AM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
Code:
on *:input:*:{
  if ($1- == bow down before your master) {
    say ßÓW dÓWÑ ßefÓRÊ ÝÓuR MâSTÊR'
    halt
  }
}


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


New username: hixxy
#93921 13/08/04 01:11 AM
Joined: Jul 2004
Posts: 169
S
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 dÓWÑ ßefÓRÊ ÝÓuR MâSTÊR }


#93922 13/08/04 01:13 AM
Joined: Aug 2004
Posts: 8
O
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...

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


New username: hixxy
#93924 13/08/04 01:22 AM
Joined: Feb 2004
Posts: 2,019
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.

Link Copied to Clipboard