@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9



Comments:

<0> nevermind, found it in charmap
<1> hhhhhhhhi
<1> everyone
<1> wht hA has happened
<1> all sleping
<1> me tooo
<2> If only.
<2> Do you need help sarang? :)
<1> no
<1> i wanna only frienship
<1> will u
<1> :)
<3> hola
<3> esta alguin para
<4> can i do on *:text:%trigger:%chan:{ or do i need to do it a different way because i dont think its working
<5> You can



<4> maybe on *:text: $+ %trigger: $+ %chan:{ ?
<4> hmm
<3> pribado
<4> can u use wildcards in a variable?
<4> that might be my problem
<5> WHOAA, no you cant unless you say its dynamic
<4> i set variable for instance *hello*
<4> what u mean by dynamic?
<5> on *:TEXT:$(* $+ %var $+ *):#channel:{
<4> ahh
<4> what if i need say more than one word?
<4> but only one variable
<6> what you pasted initially should work fine actually
<5> Yes, you can use varables you only need to $(...) if you want to use identifiers and $+
<4> but i wanna set variables like *hello*how*are*
<4> and the * be wildcards
<5> Yes
<5> $(*hello*how*are* $+ %varable $+ *)
<4> no
<4> the variable needs to be multiple words
<7> or if you want multiple words in an OR construction (word1 OR word2 OR word3 OR word4), on $*:TEXT:/(word1|word2|word3|word4)/:#:
<5> Is it possible to declare an alias which multiple commands?
<5> Like /voice /v { /mode $chan +v $1 }
<7> sure
<4> Mike``` or if you want multiple words in an OR construction (word1 OR word2 OR word3 OR word4), on $*:TEXT:/(word1|word2|word3|word4)/:#mirc:
<4> nah its AND
<4> not OR
<4> :D
<4> :(
<7> any particular order?
<7> or just any order?
<4> yea
<4> *hello*how*are*
<4> that order
<4> but the text might be different depending on what is said
<4> hence the variable
<7> different how?
<4> im going to set it
<4> change it
<4> or whatnot
<7> on *:TEXT:%trigger:#: do stuff
<4> yea
<7> /set %trigger *hello*how*are*
<4> that will work?
<7> /help on text
<7> read the bottom-most section
<4> /set %trigger *hi*how*are*
<4> //echo %trigger
<4> its echoing right
<4> but will it use the * as wildcards in the on text ?
<7> yup
<8> is there a way to turn a string into a syntaxwise meaningless string? i.e. so | and such wont do any harm
<4> ok then
<4> that aint my problem
<4> what about using a %as a channel?
<4> %chan
<7> WHOAA: did you read the bottom section of /help on TEXT
<4> yea
<4> oh
<4> read very bottom
<4> last line



<7> right
<4> :)
<7> next to last line
<7> idem: where are you trying to use that?
<8> i have an irc channel statistics bot
<8> it has some on TEXT thingies
<8> i was wondering if maybe it would b ea problem when someone said something liek blabla | blabla
<7> not unless you are evaluating what is said
<8> do those get evaluated?
<8> ah
<8> ok
<8> so, when you take $1-
<7> on *:TEXT:*:#: $1-
<7> that is bad
<8> that string will be syntaxwise meaningless
<7> VERY bad
<8> unless you do $($1-,2)
<7> correct
<7> nope, regardless, it's bad
<8> what do you mean, bad?
<7> because it's using $1- as the command to execute
<8> :P
<8> it doesnt do that
<8> but
<8> the text it was triggered on is reffered to as $1-
<8> so thats what i was talking about
<7> that's fine
<7> if you need to, you can always $($1-,0)
<8> ah
<8> nice
<9> dangerous
<8> but would that also work on something like $(,,,,00,,,0,0,0,)))
<8> if $1- equals that
<7> yes
<8> really?
<8> wow, nice
<8> and it would evaluate the $1-?
<7> no
<8> oh
<8> so then you would just get '$1-'
<9> you dont want evaluation
<7> you said you didn't want to evaluate it
<8> or get its value
<8> :|
<8> well i want to know the string right
<7> that's just $1-
<9> just use $1- you wont have an issue
<8> i mean,
<8> the value of $1-
<9> is $1-
<8> no, the value of $1- is what string that alias triggered on
<9> the literal string $1- is $($1-,0)
<9> the value of $1- is $1-
<8> ok
<9> the evaluation of $1- is $($1-,2)
<9> etc
<8> thats what i wondered about
<8> if $($1-,0) wasnt just the three characters $ 1 and -
<7> depends on where you use it
<7> for most purposes, $1- is what you'll need
<8> so $1- does not conflict with |? only if you $($1-,2) it?
<7> under most circumstances, yes
<8> 'most circumstances'?
<7> /scon -a
<7> (for instance)
<8> ah
<8> so, if youre calling a function that has | as possible input, it will conflict
<7> not if you're p***ing it as a string
<8> ./scon -a $1- wont conflict?
<7> and only if that function does its own evaluation, as /scon -a does
<8> hm
<8> and only weird functions such as /scon do their own evaluation?
<7> very few
<8> alright, thanks to you both


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #mirc
or
Go to some related logs:

#politics
#debian
intel d875pbz compatible sata2
windowsxp 64bit for intel
cisco-rapper
Ogd443
#delphi
excel arrow keys move the screen
#windows
oneofthelads hack



Home  |  disclaimer  |  contact  |  submit quotes