My Tribute To Cheft

By Dizzlenub on Jul 14, 2007

Hey! This is a script me and a friend worked on for a while, trading ideas back and forth. Basically, its a tribute to Cheft, maker of that huuuuuge casino thing...and all credits go to Cheft, and me and mah friend Aki for makin' this. But mainly Cheft.

P.S. Cheft, yer kewl. =D
P.S.S. Don't forget to write in yer Casino Admins.

Updates :
July 19th, 2007
Fixed the Negative Cash problem. =) (i think, untested)

on *:text:!CAgive *:#: {
  if ($nick == admin1) || ($nick == admin2) {
    if (!$readini(casino.ini,$$2,Money) == $null) notice $nick $$2 has not registered for the Casino.
    else {
      writeini -n casino.ini $$2 Money $calc($readini(casino.ini,$$2,Money) +$$3)
      notice $nick Transaction successful.
      notice $$2 $nick has given you $$3 dollars. You now have $readini(casino.ini,$$2,Money) dollars.
    }
  }
  else {
    .notice $nick You are not a Casino Administrator!
  }
}

on *:text:!CAtake *:#: {
  if ($nick == admin1) || ($nick == admin2) {
    if (!$readini(casino.ini,$$2,Money) == $null) notice $nick $$2 has not registered for the Casino.
    else {
      writeini -n casino.ini $$2 Money $calc($readini(casino.ini,$$2,Money) -$$3)
      notice $nick Transaction successful.
      notice $$2 $nick has taken  $$3 dollars from you. You now have $readini(casino.ini,$$2,Money) dollars.
    }
  }
  else {
    .notice $nick You are not a Casino Administrator!
  }
}

on *:text:!canegareset*:#: {
  if (!$readini(casino.ini,$$2,Money) == <0) {
    writeini -n casino.ini $$2 Money $calc($readini(casino.ini,$$2,Money) 0)
  }
}

Comments

Sign in to comment.
bugboy1028   -  Feb 13, 2010

well, Dizzlenub where is other script you fool!?!?!?

 Respond  
Akishoot   -  Aug 30, 2007

Bahaha. I didn\'t think you would post it x) o/

 Respond  
Dizzlenub   -  Aug 25, 2007

.> You need Cheft\'s casino script, btw, for this to work. I think I mentioned that.

 Respond  
Dizzlenub   -  Jul 19, 2007

It\'s a full script. Just type !cagive (nick) (amount) or !catake (nick) (amount).
Obviously, cagive is to give and catake is to take.

 Respond  
Dizzlenub   -  Jul 19, 2007

?

 Respond  
dgby714   -  Jul 14, 2007

um well i cant cause its not a full script lol

 Respond  
Dizzlenub   -  Jul 14, 2007

Script numbah 2. Still, don\'t be harsh =S

 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.