Hello, some questions..
1°) Although it is possible to use $regex in match text & location in event as On *:Text:match:location: is it feasible not to take in account a location ?:
On *:Text:*:!#channel,!#blabla:
; to listen on any channels without them
2°) Other issue: i've tried to check location thanks to an alias:
; With this alias:
alias check {echo -a $1- | return $1- }
;
On *:Text:*:$($check(#mychan)):
; This works! $1- = #mychan & return it, channel is listened on.
;
On *:Text:*:$($check(#)):
; ..but with an alias like this, $1- is $null, it doesn't echoes the listened location.
Is it logical ?! I think yes, but does a means exist to get the same use ? (get the channel name which is tried to be listend on..)
3°) Last question: Should we prefer to use temporary variables (set -uN) or timers ? (for a flood detection for exemple.. /set -u10 %flood.nick $true or set the variable & use /timer 1 10 unset %flood.nick)
Thx for answers
(i hope my english is comprehensible..)