Test Script

By FreeHuman on Oct 03, 2011

Testing Of $readini , /writeini , Variables(/set) and Dialog.

on *:LOAD: {
  echo -as Script Has Been Loaded
  echo -as Write /install For Install Script
}

On *:Connect: {
  if ( $readini( $scriptdirstatus.ini,Status,CheckInstall) == Installed ) && ( %mainnick != $null ) && ( %mainchan != $null ) {
    /nick %mainnick
    /join %mainchan
    /echo -as You Are Using MyScript.
  }
  Else { linesep | echo -as Script Not Installed.For Install,Write /install }
}

alias install {
  dialog -m start start
  writeini $scriptdirstatus.ini Status CheckInstall Installed
}

dialog start {
  title "StartUp Settings"
  size -1 -1 194 60
  option dbu
  text "Write Your Main Nick To Here:", 1, 4 14 77 9
  edit "", 2, 5 27 69 10
  text "Your Main Channel.You Will Auto Join To That Channel.(Write With # prefix)", 4, 92 10 97 17
  edit "", 3, 92 29 69 10
  box "Nick Settings", 5, 2 2 84 40
  box "Channel Settings", 6, 88 2 102 40
  button "Set", 7, 67 45 38 12 , ok
}

on *:dialog:*:sclick:*: {
  if ( $dname == start ) {
    if ( $did == 7 ) { /set %mainnick $did(2) | /set %mainchan $did(3) | /echo -s Script Has Been Installed }
  }
}

Comments

Sign in to comment.
alabama   -  Oct 04, 2011

Yes Brother good !

More
 Respond  
FreeHuman   -  Oct 04, 2011

I Was Changed That Description And Snippets Name.I Think Good Now

More
 Respond  
alabama   -  Oct 04, 2011

it was a compliment What are You Talking about ?

More
 Respond  
Jethro   -  Oct 04, 2011

This script is Incrediably amazing ! it was so advancedIs that a compliment or sarcasm?

More
 Respond  
alabama   -  Oct 04, 2011

wow This script is Incrediably amazing ! it was so advanced why did u Put Simple ? Thank you for this brother

More
 Respond  
Frenetic   -  Oct 04, 2011

lolwtf

More
 Respond  
Jethro   -  Oct 04, 2011

KKK! lol

More
 Respond  
Frenetic   -  Oct 03, 2011

O_o

More
 Respond  
napa182   -  Oct 03, 2011

lol I know I was only messing with you lol....

More
 Respond  
Jethro   -  Oct 03, 2011

No, that ain't the thing I do....ya know the "thing."

More
 Respond  
Jethro   -  Oct 03, 2011

I know Hitler is evil to some. But that aside, he's not my portrayal. I find it funny and use it as an avatar. I hope that clears up your confusion.

More
 Respond  
napa182   -  Oct 03, 2011

Jethro, your avatar of Hitler confuses me. is that the thing you do?

More
 Respond  
Jethro   -  Oct 03, 2011

napa182, I'm working on a snippet called "That Thing You Do"

More
 Respond  
napa182   -  Oct 03, 2011

You should really add more to your description rather then "That Script is Only Simple Script" 4/10

More
 Respond  
Gillian   -  Oct 03, 2011

uh uh:p

More
 Respond  
xdesoto   -  Oct 03, 2011

Should also include an option to auto pass. :) but it looks decent, 7/10

More
 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.