Explorar o código

improve /away handling: automatically recognize when user is back (= typing again) and do not show internal messages when state switches

Ralf S. Engelschall %!s(int64=20) %!d(string=hai) anos
pai
achega
f331781429
Modificáronse 2 ficheiros con 7 adicións e 1 borrados
  1. 1 1
      ircii/ircii.spec
  2. 6 0
      ircii/rse.rc

+ 1 - 1
ircii/ircii.spec

@@ -33,7 +33,7 @@ Class:        BASE
 Group:        Network
 License:      BSD
 Version:      20040820
-Release:      20050422
+Release:      20050425
 
 #   list of sources
 Source0:      ftp://ircii.warped.com/pub/ircII/ircii-%{version}.tar.gz

+ 6 - 0
ircii/rse.rc

@@ -131,7 +131,13 @@ on ^disconnect * timer 10 server 0
 on ^idle 5  away I've just wandered off...
 on ^idle 10 away I'm still not back? Hmmm... but perhaps I'm coming back soon.
 on ^idle 20 away Well, I must be long gone. Don't keep waiting for me.
+bind ^B parse_command away
+set input_protection off
+on -input * ^away
+on ^306 "*You have been marked as being away*"
+on ^305 "*You are no longer marked as being away*"
 set beep_when_away yes
+set show_away_once no
 
 #   Convenience Tab-Expansion for /msg
 load tabkey