LG-Gaming Marathon
Would you like to react to this message? Create an account in a few clicks or log in to continue.


LG-Gaming Marathon Server hosted by LGrobert
 
HomeSearchLatest imagesRegisterLog in

 

 !setjoin

Go down 
2 posters
AuthorMessage
LGrobert
Elite Newbie
LGrobert


Male Number of posts : 40
Age : 37
Status : Founder
Points : 9
Registration date : 2008-09-30

!setjoin Empty
PostSubject: !setjoin   !setjoin Icon_minitimeFri Nov 21, 2008 1:35 pm

Here is my Setjoin script:

Code:
on *:TEXT:**:#: {

  if $1 == !setjoin {
    if !$2 { notice $nick Usage: !setjoin <sj msg> | halt }
    writeini Setjoins.ini Setjoins $nick $2-
    notice $nick You Have Now Set Your Join Message.
  }
  if $1 == !viewjoin {
    if $readini(Setjoins.ini,Setjoins,$nick) != $null { notice $nick Your Join Message: $readini(Setjoins.ini,Setjoins,$nick) }
    if $readini(Setjoins.ini,Setjoins,$nick) == $null { notice $nick You Have Not made a Setjoin Message }
  }
  if $1 == !deljoin {
    if $readini(Setjoins.ini,Setjoins,$nick) != $null { remini Setjoins.ini Setjoins $nick | notice $nick Your Join Message has Been Deleted. }
    if $readini(Setjoins.ini,Setjoins,$nick) == $null { notice $nick You Have Not made a Setjoin Message }
  }
}
on *:JOIN:#: {
  if $readini(Setjoins.ini,Setjoins,$nick) != $null { msg $chan [ $+ $nick $+ ]: $readini(Setjoins.ini,Setjoins,$nick) }
  if $readini(Setjoins.ini,Setjoins,$nick) == $null { notice $nick Please Set a join message. }
}
}
Back to top Go down
http://lg-gaming.com
crysis992
Newbie



Number of posts : 15
Status : Theritary Owner
Points : 0
Registration date : 2008-10-01

!setjoin Empty
PostSubject: Re: !setjoin   !setjoin Icon_minitimeFri Nov 21, 2008 3:34 pm

hihi...that not yours...this script is a 100% copy from a script site Razz
Back to top Go down
LGrobert
Elite Newbie
LGrobert


Male Number of posts : 40
Age : 37
Status : Founder
Points : 9
Registration date : 2008-09-30

!setjoin Empty
PostSubject: Re: !setjoin   !setjoin Icon_minitimeFri Nov 21, 2008 9:02 pm

no, that a script from n4warhead
Back to top Go down
http://lg-gaming.com
LGrobert
Elite Newbie
LGrobert


Male Number of posts : 40
Age : 37
Status : Founder
Points : 9
Registration date : 2008-09-30

!setjoin Empty
PostSubject: Re: !setjoin   !setjoin Icon_minitimeMon Nov 24, 2008 3:02 pm

And here is now my Modified Setjoin script Smile

Code:
on *:TEXT:*:#: {
  if ($1 == !setjoin) {
    if (!$2) { notice $nick Syntax. !setjoin [setjoin message]. | halt }
    if ($chr(36) isin $2-) { notice $nick Setjoin denied. Not allowing " $+ $chr(36) $+ ". | halt }
    writeini Setjoins.ini Setjoins $nick $2-
    notice $nick Setjoin has been saved.
  }
  if ($1 == !viewjoin) {
    if ($readini(Setjoins.ini, Setjoins, $nick) == $null) { notice $nick No setjoin has been saved for you. Type !setjoin [message]. | halt }
    notice $nick Your setjoin: $readini(Setjoins.ini, Setjoins, $nick)
  }
  if ($1 == !deljoin) {
    if ($readini(Setjoins.ini, Setjoins, $nick) == $null) { notice $nick No setjoin has been saved for you. Type !setjoin [message]. | halt }
    remini Setjoins.ini Setjoins $nick
    notice $nick Setjoin has been removed.
  }
}
on *:JOIN:#: {
  set %rand $rand(1,11)
  if ($readini(Setjoins.ini, Setjoins, $nick) == $null) { notice $nick No setjoin has been saved for you. Type !setjoin [message]. | halt }
  msg $chan  $+ %rand $+ 12[4 $nick 12] [ $+ $+ ] $readini(Setjoins.ini, Setjoins, $nick)
}
Back to top Go down
http://lg-gaming.com
Sponsored content





!setjoin Empty
PostSubject: Re: !setjoin   !setjoin Icon_minitime

Back to top Go down
 
!setjoin
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
LG-Gaming Marathon :: Server :: Scripts-
Jump to: