Away system v0.9 - With dialog! [UPDATED!]

By Lindrian on Mar 18, 2007

This is a away system I was working on today, and finished it today aswell. Another attempt of a script using dialog, and it worked out pretty well.

  • Simply load it into remotes by clicking alt+r and paste i there.

  • Right click a channel, query or status and you'll see a menu option "Currently not away - Open dialog".
  • Press is, and the dialog will pop up.

The rest can be found inside the script, by pressing the [?]'s.

To go back quikly, simply type /back.
But to go away, you must set the settings in the dialog itself.
golden rule - Riping is lame.

if any bugs were found tell me please.

Also, rate and comment the snippet.

GL and HF!

EDIT:

  • Changed the 'edit' function for the reason, easier now.
  • Added a function to change your default nickname.
  • Added a menu, to test that out.

Enjoy!

EDIT2:

  • Added alot of functions to the @window! Check them out!
  • If ANY bugs are found, please tell me and ill try to fix them!!

EDIT3:

  • Added 'auto-away on idle' system, my very first one, and im sure it contains alot of bugs.

  • Any found, please report them here in pm or comment, immediatly! I really wanna keep developing the script, and make it as good as possible.
  • (Which means I also added a new dialog part, (Which seems to work fine) and a few aliases etc)
  • Hope ull enjoy it!

  • After reading about raws, I added a few to echo when your away etc ;p.
  • Added a part where you will logg when you got disconnected, and that your away status was removed. (Last lines)
    HF!

EDIT4:

UPDATED ONCE AGAIN! Read my comments and ull see what ive updated ;).

And once again, rate and enjoy the script! Most imporant, feedback and suggestions.

Edit5:
Fixed some minor buggs, nothing much noticeable, but it was important ;p..
Enjoy!

EDIT 6!!!
Mayor update!
Fixed a few bugs as usual, hehe.
Added 'message querys' on away (Optional)
added a menu function for quik away.
As usual, rate and comment, if bugs are found, TELL ME!

Enjoy!


NEW VERSION CAN BE FOUND AT THE SCRIPTS SECTION!!!


Comments

Sign in to comment.
Metallboy100   -  Aug 21, 2007

nice system, but there is a bug in it... i went to a channel and someone pmed me and everything was like flooding by notice on me, i dont know what it was. but please, fix it...

 Respond  
Lindrian   -  Apr 06, 2007
Lindrian   -  Mar 31, 2007

You may not want to set the timer to 0? As the timer set to auto-inform the channel is by defualt 0 or some shit.
well, I remade the script and it can be found in the scripts section. Id rather use that then this, as this one contains mroe bugs.

 Respond  
Korvin   -  Mar 28, 2007
  • Korvin is away. Reason: No reason - Time is now 12:04:10.
  • Korvin is away. Reason: No reason - Time is now 12:04:10.
  • Korvin is away. Reason: No reason - Time is now 12:04:10.
  • Korvin is away. Reason: No reason - Time is now 12:04:10.
  • Korvin is away. Reason: No reason - Time is now 12:04:10.
  • Korvin is away. Reason: No reason - Time is now 12:04:10.
  • Korvin is away. Reason: No reason - Time is now 12:04:10.
  • Korvin is away. Reason: No reason - Time is now 12:04:10.
  • Korvin is away. Reason: No reason - Time is now 12:04:10.
  • Korvin is away. Reason: No reason - Time is now 12:04:10.
  • Korvin is away. Reason: No reason - Time is now 12:04:10.
  • Korvin is away. Reason: No reason - Time is now 12:04:10.
  • Korvin is away. Reason: No reason - Time is now 12:04:10.
  • Korvin is away. Reason: No reason - Time is now 12:04:10.
  • Korvin is away. Reason: No reason - Time is now 12:04:10.
  • Korvin is away. Reason: No reason - Time is now 12:04:10.
  • Korvin is away. Reason: No reason - Time is now 12:04:10.
  • Korvin is away. Reason: No reason - Time is now 12:04:10.
  • Korvin is away. Reason: No reason - Time is now 12:04:10.
  • Korvin is away. Reason: No reason - Time is now 12:04:10.
  • Korvin is away. Reason: No reason - Time is now 12:04:10.
  • Korvin is away. Reason: No reason - Time is now 12:04:10.
  • Korvin is away. Reason: No reason - Time is now 12:04:10.
  • Korvin is away. Reason: No reason - Time is now 12:04:10.
  • Korvin is away. Reason: No reason - Time is now 12:04:10.
  • Korvin is away. Reason: No reason - Time is now 12:04:10.
  • Korvin is away. Reason: No reason - Time is now 12:04:10.
  • Korvin is away. Reason: No reason - Time is now 12:04:10.
  • Disconnected

COUGH
WTF!

 Respond  
Lindrian   -  Mar 24, 2007

Updated the script again, alot of new and awesome fixes and functions! But its a script now, includig pics etc. When the staff approve it (Which I hope they do) you can download it from here, on hawkee.

 Respond  
Lindrian   -  Mar 23, 2007

For some reason, I had change this:
else {
var %away $input(Do you really wish to go away?,yv,Confirm - Away system)
if (%away = $no) {

making it == $no
or it woudnt go away, for some reason. If u know why, tell me please.

 Respond  
Lindrian   -  Mar 21, 2007

As I forgot to mention in the post aboved (cant edit posts, deleteing em fucks with my browser on this computer for some reason XD)

Anyhow, it\'ll also have a new menu, with alot more versions.

So:

  • Deop on away (Yourself)
  • On input you set urself back
  • Remind all channels that you\'re afk etc.
  • New menu with alot of cool functions (Still working on the hard part, might not be able to do it)
  • Increased leangth on names & reasons in status window
  • Fixed the critical bug of the edit function.
  • Still deciding if i shall fix the status window, to add and show all the new functions there, not sure yet, as it\'ll require alot of work.

But but ;)
We\'ll see! Feedback is what I want.

 Respond  
Lindrian   -  Mar 21, 2007

Is thre anyone who acually use it? Used? Tested?

I mean, I got no feedback, dont know what to fix or not..
also, the new version will have 2 critical bugs fixed, the edit function is fixed and the default nick change, it totally messed up. Also increased the leangth to be shown in the status windows..

It\'ll be v0.9 ;o

But seriously, I need some feedback T_T

Ive put down alot of hard work on this u know >:(

 Respond  
Lindrian   -  Mar 20, 2007

-new update upcoming-

going to test the new functions out, if the work, ill update the script.
it\'ll be a total change of the dialog, atleast partly.

Functions will be:
1) Deop on away (Yourself)
2) On input you set urself back
3) Remind all channels that you\'re afk etc.
4) Some more stuff..
5) Although im NOT going to update the status boxes, to fit the new function, you\'ll need to view the settings tab itself, as it uses check boxes, its easy to see.

I hope ull like it, and that ill earn a few higher ratings ;)

 Respond  
Lindrian   -  Mar 20, 2007

yeah, thast basically the exact same as me using the variable %reason. only the %reason variable handles so much more then just the acuall \'reason\' for being away itself.

But I catch you, but as I said above, theres really no need. Its only a way to use what mIRC built in. And sure, I could use it, but its not needed as the %reason variable will handle it, even if I use it or not, as the %reason variable is set when u press \'save\' and the reason you\'ve choosed is saved into the variable.

So its basically the same.

 Respond  
DarthReven   -  Mar 20, 2007

well basically what you \'could\' do is if there is no reason for the away then the reason should just be \"away\" as such our away command would look like this: \'/away away\' and our $awaymsg would return \'away\' then we could do a if statement like \'If ($awaymsg != away) {\' if you catch my drift

 Respond  
Lindrian   -  Mar 20, 2007

well, the variable is needed, atleast I dont know another way, for example: When u click a reason in the list, the variable is set, and I really have no idea how I shall change %reason into $awaymsg, I can only use $awaymsg when i use the /away function, which would be /away $awaymsg
But, since the variable is already set into %reason, and it fills the same function as $awaymsg and a little more, I realy dont see any need to change it.

(If I would change, it would be the lines near if ($did == 10) { and down to 11, correct?)

But as said, if I wont get a very good reason, or maybe it\'ll do a better function, theres no need to change it ;p.

 Respond  
DarthReven   -  Mar 20, 2007

Just clean up a few more things like using $awaymsg instead of %reason and i think you\'ll have an 8.0

 Respond  
Lindrian   -  Mar 20, 2007

Thanks, alot.

Yeah, I sat down and read every tutorial I could find on google, and I came up with this >:)

ive done my best, and it seems that it paid off ;)
o, first score aswell ;)
Thanks.

 Respond  
DarthReven   -  Mar 20, 2007

Good Job on the Dialog Coding you\'ve improved alot

 Respond  
Lindrian   -  Mar 19, 2007

Edit it again! Read my auther noted, @ Edit3.

 Respond  
Lindrian   -  Mar 19, 2007

There, read my \'EDIT2\', as I updated the hole script recently!

And any feedback is appreciated, good or bad.

 Respond  
Lindrian   -  Mar 19, 2007

currently working on the @window
adding a few functions to it, to make it a little more professional, but it just keeps bugging out, going into infinite loops and crap! Ill see what I can come up with, although, no rating yet :D.

 Respond  
Lindrian   -  Mar 19, 2007

Hehe, thanks ^^
I added a few stuff, that you can see in the description above.
Too bad I havent gotten ymself any points yet ;x.

 Respond  
deadoralive   -  Mar 19, 2007

Thanks Lindrain... Well Done :-)

 Respond  
Lindrian   -  Mar 19, 2007

Hehe thanks ^^.

Im trying to find a little better way to use the edit function in the script.

Also gonna try to add a menu, just to test that out and learn how to use it.

 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.