Away System v0.0.1

By SyntaxIRC on Jan 04, 2007

This is an awesome away system made with POPUPS! It features 'Gone for ..', options you can choose add instead of it being all squished into the script (Only counter in this version, lots more in upcoming versions) and probably in the late version of v0.1.0 it may become a dialog.

Place it in the POPUPS section of your Scripts Editor.

.Set
..Away
..On {
  if ($away == $true) {
    halt
  }
  set %away.reason $?"Enter your away reason"
  if ($len(%away.reason) < 1) {
    echo -a No reason specified, operation aborted.
    unset %away.reason
    halt
  }
  if (!%counter.away) {
    set %counter.away 0
  }
  inc %counter.away
  set %away.time $ctime
  away %away.reason $($+($chr(40),$time,$chr(41)))
  ame is now away! (Reason: $($+(%away.reason,$chr(41))) Left at: $time $iif(!%counter.true,$chr(32), $($+($chr(40),%counter.away,$chr(41))))
}
..Off {
  if ($away == $false) {
    halt
  }
  away
  ame is back from: %away.reason $chr(40) $+ Away for $duration($calc($ctime - %away.time)) $+ $chr(41)
  unset %away.reason
}
..Options
...Add counter {
  if (!%counter.true) {
    set %counter.true counter
    echo -a Away counter activated, you may disable this at any time.
  }
}
...Del counter {
  if (!%counter.true) {
    halt
  }
  unset %counter.true
  echo -a Away counter deactivated.
}

Comments

Sign in to comment.
fahadbalboa   -  Feb 28, 2009

Very Nice I Like It

 Respond  
SyntaxIRC   -  Jan 04, 2007

RoninWarrior, I edited it ;)

 Respond  
RoninWarrior   -  Jan 04, 2007

Lindrian i know were thay go ok .

QUOTE Author\'s Notes:

This is an awesome away system made with POPUPS! It features \'Gone for ..\', options you can choose add instead of it being all squished into the script (Only counter in this version, lots more in upcoming versions) and probably in the late version of v0.1.0 it may become a dialog. UNQUOTE

Not evryone will know this with out a proper instruction on what to do with it and or were to put it .

 Respond  
Lindrian   -  Jan 04, 2007

put it into the pop ups..

 Respond  
RoninWarrior   -  Jan 04, 2007

were and how do i load it ?

 Respond  
Lindrian   -  Jan 04, 2007

It looks pretty okay, havent tested it though. But a counter for a away script :D?

Hehe, well, always fun with some new stuff ^^

 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.