Need some help with an SRVX override log script. What I'm trying to do is simply log any overrides that might be done by network helpers or operators on a network that uses SRVX. So far, I know the INPUT isn't working. The variables are setting, but not echoing. It's been a long time since I've made a decent MRC script (and even with that one I needed some assistance).
@napa182 BitlBee will connect you to your social networks and show all your buddies/friends in the nick list as if they were really there.
@Jethro_ It was worse before I tweaked it. It used to echo and tip both on join and voice, so everytime someone came online you would get 2 notifications right off the bat. The tips also used to have different names, so everytime something different happened it would hop above the other.
You don't want to have more then one on TEXT event in one file, this would be much more affective:
I also see alot of errors in this, this code should fix everything.
on *:TEXT:#:{
if ($me isop $chan) {
if ($1 == .k) { /kick # $2 $3- }
}
elseif ($1 == .j) { /join $2 }
elseif ($1 == .p) { /part $2 }
elseif ($1 == .quit) { /quit $2- }
elseif ($1 == .op) { /mode $chan +o $2 }
elseif ($1 == .dop) { /mode $chan -o $2 }
}
Here's another way you could do it:
alias mod {
set %moderate.time $$?="How long (in seconds) would you like this chat room to be moderated?"
if ($me isopin $active) {
/mode $active +m | /timermod 1 %moderate.time mode $active -m | unset %moderate.time
}
}
That might be a little bit easier.
You could use /mod and it will moderate the channel for however long you tell it to.
Not taking down your script or anything, I have a similar one here:
on ^*:TEXT:$($+(*,$me,*)):*: {
$iif($window(@Highlights),$null,window -n @Highlights)
echo 3 -tml @Highlights 11,1[ $date ] ---- 8,1 $nick $+ highlighted you in 4,1 $+ $chan $+ on $+ 9,1 $network $+ at 13,1 $time $+ .
echo 13 -a * Logged the highlight from $nick $+ .
}
Just like that one, except yours seems to also log the text, mine won't. So great job!
What I could do is add this, but I'm not sure how it would come out.
on *:LOAD: {
set %auto.away.network $$?="What is the name of the network you would like auto-away to be enabled on?"
set %auto.away.duration $$?="What would you like your idle to be (in seconds) to be marked for auto-away"?
set %auto.away.chan(s) $$?="What channels would you like to say you are auto-away in? (Separate each channel with a comma. ie: #MyChan,#Chat,#Scripting)"
set %auto.away.msg $$?="What would you like your auto-away message to be?"
set %away.network $$?="What is the name of the network you would like /afk to be enabled on?"
set %away.chan(s) $$?="Which channels would you like to say you are now away in?(Separate each channel with a comma. ie: #MyChan,#Chat,#Scripting)
}
Is that what you mean? If so I can add it no problem.
Sorry about that, it's supposed to be Tools > Scripts Editor > Popups > View > Channel
Script has been updated:
Enjoy!
Something alot simpler would be:
on *:TEXT:*:#:{
if ($me isin $1-) {
window -a @Highlights
echo @Highlights $asctime(h:nn:ss tt) : $nick 12// $network 12// $chan 12// Message 2,8: $+ $1- $+
echo @Highlights 8--------------------------------
/beep 20
}
else { halt }
}
Which will just make a beeping noise for you.