mIRC Home    About    Download    Register    News    Help

Print Thread
#164811 16/11/06 03:54 PM
Joined: Sep 2003
Posts: 19
F
fast68 Offline OP
Pikka bird
OP Offline
Pikka bird
F
Joined: Sep 2003
Posts: 19
ok i forgot how to write an on text line in remotes box for when you want to have more than a couple on text lines, because more than two dont work on mine

i forgot how to separate them by using these: { }

just really basic nothing special on text lines, here is one of mine i am using for example:

on 1:text:*in a row!!*:#trivia:/msg $chan 3w7d2!

there is a way to write several in one line so they all will work and i forgot how it went

and it was really basic too

thanks for anything



#164812 16/11/06 04:40 PM
Joined: Mar 2005
Posts: 420
X
Fjord artisan
Offline
Fjord artisan
X
Joined: Mar 2005
Posts: 420
Code:
 on 1:text:*in a row!!*:#trivia: { msg $chan 3w7d2! | msg $chan this is line 2 | msg $chan this is line 3 } 


^^ like this


If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!
#164813 16/11/06 05:14 PM
Joined: Mar 2003
Posts: 612
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Mar 2003
Posts: 612
Code:
on 1:text:*in a row!!*:#trivia:{ 
  if $me !isin $1- {
    msg $chan 3w7d2! 
    msg $chan this is line 2 
    msg $chan this is line 3 
  } 
}

instead of pipes, I think this looks neater.

btk


billythekid
#164814 16/11/06 06:27 PM
Joined: Sep 2003
Posts: 19
F
fast68 Offline OP
Pikka bird
OP Offline
Pikka bird
F
Joined: Sep 2003
Posts: 19
what about
several on text events for a given $chan

but each on text event for a different trigger word and chan msg


im having a hard time describing what i mean exactly
hmmm

its really really close to the same as the three line one you guys are showing me above

except each separation | would separate a different trigger word and msg event

each different trigger word would be in a set of { } along with the msg chan txt

so i can have multiple on text events in my remotes box

because more than two separate on text lines in the remote box wont work

at least not in my mirc anyways

its a real simple one but i just forgot how, i have a hrd time remembering the minor details of writing it frown


thanks! laugh

Last edited by fast68; 16/11/06 06:35 PM.


#164815 16/11/06 07:35 PM
Joined: Mar 2005
Posts: 420
X
Fjord artisan
Offline
Fjord artisan
X
Joined: Mar 2005
Posts: 420
I agree, but I was just showing him how you would do it in one 1 line, per his post wink

Quote:
there is a way to write several in one line so they all will work and i forgot how it went


If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!
#164816 16/11/06 08:06 PM
Joined: Mar 2003
Posts: 612
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Mar 2003
Posts: 612
oh yeah, lol, had a mis-reading of that(I took, "line" to be "event")

/me smacks himself with the stupid club

btk


billythekid
#164817 16/11/06 08:14 PM
Joined: Mar 2003
Posts: 612
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Mar 2003
Posts: 612
Code:
on 1:text:*:#:{
  if (*some text* isin $1-) {
    do this thing 
    then this thing 
  }
  elseif (*other text* isin $1-) { 
    do something else 
  }
  elseif (billythekid isin $1-) { 
    echo boing 
  }
}


billythekid

Link Copied to Clipboard