Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
$replace
Forums
Active Threads
Search
Who's Online
Help
Print Thread
$replace
#
46297
01/09/03
09:56 PM
Joined:
Jul 2003
Posts: 733
Ohio, U.S.A.
M
MTec89
OP
Hoopy frood
OP
MTec89
Hoopy frood
M
Joined:
Jul 2003
Posts: 733
Ohio, U.S.A.
how can i replace lol and stuff like that with replace and not replaceing stuff like ~lol~ or if i must use this word... lolipop
BTW....
im back...and im going to chill out..ok...i just needed some time away...
Copy Link to Clipboard
Re: $replace
#
46298
01/09/03
10:02 PM
Joined:
Dec 2002
Posts: 3,534
Kent, England
S
SladeKraven
Hoopy frood
SladeKraven
Hoopy frood
S
Joined:
Dec 2002
Posts: 3,534
Kent, England
Why would you say "lol lolipop" in the first place?
SladeKraven @ YouTube
Copy Link to Clipboard
Re: $replace
#
46299
01/09/03
10:03 PM
Joined:
Jul 2003
Posts: 733
Ohio, U.S.A.
M
MTec89
OP
Hoopy frood
OP
MTec89
Hoopy frood
M
Joined:
Jul 2003
Posts: 733
Ohio, U.S.A.
im just using an example...
lolipop would turn into (in my script)
laughing out loudipop
Copy Link to Clipboard
Re: $replace
#
46300
01/09/03
10:04 PM
Joined:
Jan 2003
Posts: 149
Latvia, LV
J
J0ke
Vogon poet
J0ke
Vogon poet
J
Joined:
Jan 2003
Posts: 149
Latvia, LV
/help $regex and this
thread
might be useful
Copy Link to Clipboard
Re: $replace
#
46301
01/09/03
10:06 PM
P
pheonix
pheonix
P
wb
Copy Link to Clipboard
Re: $replace
#
46302
01/09/03
10:08 PM
Joined:
Jul 2003
Posts: 733
Ohio, U.S.A.
M
MTec89
OP
Hoopy frood
OP
MTec89
Hoopy frood
M
Joined:
Jul 2003
Posts: 733
Ohio, U.S.A.
well i was wanting to use $replace...
and thanks pheonix
Copy Link to Clipboard
Re: $replace
#
46303
01/09/03
10:08 PM
Joined:
Jan 2003
Posts: 247
Ottawa, Canada
C
ClickHeRe
Fjord artisan
ClickHeRe
Fjord artisan
C
Joined:
Jan 2003
Posts: 247
Ottawa, Canada
you can use $reptok() for that if the word is surrounded by spaces which is what you showed in your example.
Copy Link to Clipboard
Re: $replace
#
46304
02/09/03
08:44 AM
Joined:
Sep 2003
Posts: 156
B
bleach
Vogon poet
bleach
Vogon poet
B
Joined:
Sep 2003
Posts: 156
on *:input:*: {
if (/* !iswm $1-) { msg $active $replace($1-,lol,lolipop,mirc,mIRC,IRC,Internet Relay Chat)
halt
}
}
Copy Link to Clipboard
Re: $replace
#
46305
02/09/03
10:26 AM
P
pheonix
pheonix
P
if your replacing: mirc with mIRC, you need to use $replacecs
Copy Link to Clipboard
Re: $replace
#
46306
02/09/03
06:07 PM
Joined:
Sep 2003
Posts: 156
B
bleach
Vogon poet
bleach
Vogon poet
B
Joined:
Sep 2003
Posts: 156
ty
Copy Link to Clipboard
Hop To
News and Discussions ------
Latest News
General Discussion
Support ------
mIRC Help
Connection Issues
Scripts & Popups
Development ------
Feature Suggestions
Developers
Bug Reports
Print Thread
Switch to Threaded Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage