mIRC Home    About    Download    Register    News    Help

Print Thread
#98794 26/09/04 04:48 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
i trying to use $replace to replace a line.. but cant get it to work. it have space it in..

Ctrl+F1 Not Bounded

should be replaced with:

Ctrl+F1return Not Bounded

but now when i try all i get is an error.. how can i make it replace the line even due the space in it ?


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
#98795 26/09/04 06:01 PM
Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
$replace(Ctrl+F1 Not Bounded,Ctrl+F1 Not Bounded,Ctrl+F1return Not Bounded)


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius
#98796 26/09/04 06:02 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
i know, i solved it.. thnx anyway smile


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
#98797 27/09/04 12:59 AM
Joined: Jul 2004
Posts: 12
G
Pikka bird
Offline
Pikka bird
G
Joined: Jul 2004
Posts: 12
just wanted to add
you can also use
%text = ctrl $+ $null
%newvar = $replace(ctrl alt del, %text , ctrlinsertedtext)
Just thought it might help on future questions.


Link Copied to Clipboard