Help Connection Center

By Tamaki on Jan 10, 2009

YOU MUST HAVE TAD'S HOME INTERGRATION SCRIPT IN ORDER TO USE THIS ONE!!!

You can find it here: http://www.hawkee.com/snippet/4936/

This center will allow you to connect to me in order to ask any questions about the scripts that I currently have including support for errors you may encounter during operation.

To install: Place in your remotes (don't do this unless you have TAD's Intergration Script)

  1. Place in your remotes. (Alt + r)

  2. Type /install help

  3. Finish installation with on-screen prompts.

To operate:

  1. Press F5 to open the Help Connection Center or type /hcc

  2. Press connect.

If you are already connected to a server. Click Disconnect and then click connect. After your session, you may click disconnect and reconnect back to your server.

If your connection fails, close the dialog and press F5 to restart.

-edit-
Is now ready for the new TAD's Integration Script.

on *:LOAD: {
  createlicense help
  echo -a Type /install help to install the Help Connection Center.
}

on *:START: {
  If ($readini(help.ini,status,installed) == yes ) {
    If ($readini(help.ini,settings,auto_start) == yes ) {
      check help
    }
    Else {
      echo -a Press F5 to start the Help Connection Center.
    }
  }
  Else {
    echo -a Type /install help to install the Help Connection Center.
  }
}

alias F5 {
  check help
}

alias hcc {
  check help
}

alias help_install {
  writeini help.ini status installed yes
  set %connection.attempts 0
  set %connection.tries 5
  echo -a Help Connection Center Installed! Press F5 to start up the Help Connection Center.
}

alias help_uninstall {
  remove help.ini
  unset %connection.attempts
  unset %connection.tries
  echo -a Help Connection Center Uninstalled!
}

dialog help {
  title Help Connection Center
  option dbu
  size -1 -1 201 101
  text "Help Connection Center Status", 1, 1 1 200 10
  list 2, 10 11 180 50, hsbar vsbar autohs autovs
  text "Connection Attempts", 3, 20 70 80 10
  edit %connection.tries, 4, 80 70 20 10, limit 1
  button "Connect to Server", 5, 20 80 80 10
  button "Disconnect from Server", 6, 20 90 80 10, disable
}

on *:DIALOG:help:*:0: {
  If ($devent == init ) {
    set %connection.attempts 0
    If ($server != $null ) {
      did -b help 5
      did -e help 6
      did -a help 2 Currently Connected: $server
      did -a help 2 If not connected to help server, disconnect with this dialog and reconnect by clicking the connect button.
    }
  }
  Elseif ($devent == close ) {
    set % $+ help $+ _open no
  }
}

on *:DIALOG:help:edit:4: {
  If ($did(4) < 3 ) {
    did -r help 4
    did -a help 4 3
    set %connection.tries $did(4)
  }
  Else {
    set %connection.tries $did(4)
  }
}

on *:DIALOG:help:sclick:5: {
  did -r help 2
  server irc.authoritygamer.com -j #helpdesk
  did -a help 2 Connection to: Help Server
  did -a help 2 Testing Connection...
  testconnect
  did -b help 5
  did -e help 6
}

on *:DIALOG:help:sclick:6: {
  disconnect
  did -a help 2 Disconnected from: Help Server
  did -b help 6
  did -e help 5
}

alias testconnect {
  If ($server != $null ) {
    did -a help 2 Connected!
    .msg #helpdesk I am here because I'm having some trouble with a script.
  }
  Else {
    If (%connection.attempts < %connection.tries) {
      inc %connection.attempts
      .timer 1 3 /testconnect
    }
    Else {
      did -a help 2 Connection Failed!
    }
  }
}

Comments

Sign in to comment.
Tamaki   -  Feb 23, 2009

Speaking of Help Connection Center ---

If you are interested in hosting your 'help' server to offer help to those who use your script, please use this script to come to the current help server and i'll help you set up there.
Incidentally, we are offering 'positions' for script helpers on the help server. Please use this dialog to connect to us and talk to us.
Please only come during business hours.
Don't use while taking a shower.

 Respond  
Tamaki   -  Jan 10, 2009

i know...i'm kinda (reallllly) old school

^_^

still learning

 Respond  
guest598594   -  Jan 10, 2009
    did -r help 4
    did -a help 4 3

You can combine switches, so it could be:

    did -ra help 4 3
 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.