mIRC Home    About    Download    Register    News    Help

Print Thread
#102105 04/11/04 04:25 PM
Joined: Jun 2004
Posts: 291
W
Fjord artisan
OP Offline
Fjord artisan
W
Joined: Jun 2004
Posts: 291
i need some help with this please,
when someone types a certain trigger into a channel
i get the $1- info
but
is there any way to make it so
when i use
? iswm ?

i was wondering if there was a way where
it replaces spaces as *

so for example

<person> !Trigger bla bla bla bla
it would now
be (bla*bla*bla*bla iswm)

it would be great if there was a switch with $read
to make spaces to a wildcard match of the sentence


kinda had to explain

any one have an idea

thanks alot

#102106 04/11/04 07:28 PM
Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
$replace($1-,$chr(32),*)


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius
#102107 04/11/04 09:55 PM
Joined: Jun 2004
Posts: 291
W
Fjord artisan
OP Offline
Fjord artisan
W
Joined: Jun 2004
Posts: 291
thanks for the reply wink

but would that work?
if i used
var %i = $replace($1,$chr(32),*)
if (%i iswm this) {


?

thanks


Link Copied to Clipboard