mIRC Home    About    Download    Register    News    Help

Print Thread
#18729 10/04/03 01:59 PM
Joined: Apr 2003
Posts: 16
C
cap00t Offline OP
Pikka bird
OP Offline
Pikka bird
C
Joined: Apr 2003
Posts: 16
hi
could some one please give me advise in making a script that auto-replaces characters?
for example tombstone piledriver will look like this: tºMb§tðñë ÞÏ£ëЮϥë®

it should be activated with an alias.

note that i´m a total newbie so please give me detailed info wink

thx cap00t

#18730 10/04/03 02:06 PM
Joined: Dec 2002
Posts: 774
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
/help aliases
/help $replace


Code:
//if ( khaled isgod ) echo yes | else echo no
#18731 10/04/03 02:11 PM
Joined: Dec 2002
Posts: 54
L
laz Offline
Babel fish
Offline
Babel fish
L
Joined: Dec 2002
Posts: 54
also:

/help $chr

#18732 10/04/03 02:21 PM
Joined: Apr 2003
Posts: 16
C
cap00t Offline OP
Pikka bird
OP Offline
Pikka bird
C
Joined: Apr 2003
Posts: 16
thx, i went through this before but dunno how to put it together.. confused

could you please gimme an example?

what about replacing e with ë, n with ñ and d with Ð when typing ' /cooltext end ' to get the output ' ëñÐ '

thx for your patience smirk


#18733 10/04/03 02:44 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
Code:
on 1:INPUT:#: {
  if ($left($1, 1) != $readini(mirc.ini, text, commandchar)) {
    /set -u0 %msg $1-
    /set %msg $replace(%msg, a, Ä, b, ß, c, ç, e, ë)
    ; etc etc etc etc
    /msg $chan %msg
  }
}


-KingTomato
#18734 10/04/03 03:52 PM
Joined: Apr 2003
Posts: 16
C
cap00t Offline OP
Pikka bird
OP Offline
Pikka bird
C
Joined: Apr 2003
Posts: 16
thx alot Kingtomato!

i put your code in the remote field. unfortunately it outputs like this:

<user> wH¥ Håvë ¡ å£w奧 ßëëñ å få¡£µ®ë¿
<user> why have i always been a failure?

which means it outputs the 'normal' text below the 'cool' one.
any chance that you can tell me how to modify that so it only outputs the desired one?

thx, cap00t

#18735 10/04/03 04:29 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
just add a halt below the /msg command, and u'll be fine. laugh


-KingTomato
#18736 10/04/03 04:34 PM
Joined: Apr 2003
Posts: 16
C
cap00t Offline OP
Pikka bird
OP Offline
Pikka bird
C
Joined: Apr 2003
Posts: 16
yah cool works now, thanks for your help cool

#18737 10/04/03 04:35 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
Heh, np.. You must be on the forumsnow to get that speedy of a responce. >:D


-KingTomato

Link Copied to Clipboard