MY Away System

By TehMize on May 12, 2005

Yeah, it's yet ANOTHER away system. But this is the one that I have made and the one that fits me the best. It's a bit bulky and slow, but I'm working on that. I figured I'd add it because the others aren't really all that I'm looking for. Edit or add to it, whatever.

Menu Channel,Status {
  Away System
  .Set Away:{
    /set %Away.Reason $$?="Enter Away Reason" 
    /set %Orig.Nick $me
    /set %Away.Nick $$?="Enter your away nick"
    if (%Away.Announce = 1) {   
      /ame is away: %Away.Reason $+ .
      /nick %Away.Nick
      /away %Away.Reason $+ . 
    }
    else {
      /nick %Away.Nick
      /away %Away.Reason $+ . 
    }  
  }
  .Set Back:{
    if (%Away.Announce = 1) {   
      /ame is back from away: %Away.Reason $+ . Away for $duration($awaytime)
      /away
      /nick %Orig.Nick
      /unset %Away.Nick
      /unset %Away.Reason
      /unset %Orig*
    }
    else {
      /away
      /nick %Orig.Nick
      /unset %Away.Nick
      /unset %Away.Reason
      /unset %Orig* 
    }
  }     
  .Quick Away
  ..School:{
    /set %Orig.Nick $me
    /set %Away.Nick $me $+ [Away]
    /set %Away.Reason School
    if (%Away.Announce = 1) {     
      /ame is away: %Away.Reason $+ .
      /nick %Away.Nick
      /away %Away.Reason
    }
    else {
      /nick %Away.Nick
      /away %Away.Reason
    }
  }
  ..Work:{
    /set %Orig.Nick $me
    /set %Away.Nick $me $+ [Away]
    /set %Away.Reason Work
    if (%Away.Announce = 1) {   
      /ame is away: %Away.Reason $+ .
      /nick %Away.Nick
      /away %Away.Reason
    }
    else {
      /nick %Away.Nick
      /away %Away.Reason  
    }    
  }
  ..Sleep:{  
    /set %Orig.Nick $me
    /set %Away.Nick $me $+ [Away]
    /set %Away.Reason Sleep
    if (%Away.Announce = 1) {    
      /ame is away: %Away.Reason $+ .
      /nick %Away.Nick
      /away %Away.Reason
    }
    else {
      /nick %Away.Nick
      /away %Away.Reason  
    }
  }    
  ..Just Away:{
    /set %Orig.Nick $me
    /set %Away.Nick $me $+ [Away]
    /set %Away.Reason Just Away
    if (%Away.Announce = 1) {    
      /ame is away: %Away.Reason $+ .
      /nick %Away.Nick
      /away %Away.Reason
    }
    else {
      /nick %Away.Nick
      /away %Away.Reason  
    }    
  }
  .$iif(%Away.Announce = 1,$style(1)) Announce Aways:{ set %Away.Announce $iif(%Away.Announce = 1,0,1) }
}

Comments

Sign in to comment.
mysterycool   -  Jan 02, 2007

Too many menus! Why didn\'t you just use a simple dialog? I think it would give you a better scor too! ;p

 Respond  
DeathRyder082   -  Aug 28, 2005

To Gatedialer: What I do is I copy and paste a code into a notepad. Then I save it as a .mrc ex: Away.mrc, Then put this file in your mirc dir/folder. When you open mirc.exe type \'/load -rs File.mrc\' then exchange the name you wish for \'File\'

 Respond  
Gatedialer   -  Aug 28, 2005

where do you put it? remotes?

 Respond  
samcobra   -  May 17, 2005

too many menu parts... takes too long, why didn\'t you just use a dialog?

 Respond  
TehMize   -  May 14, 2005

yes, they are but this one\'s a bit different from the others. I just felt like contributing my version.

 Respond  
t0k3d   -  May 14, 2005

ugh, away systems are so old now ;s

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.