All pastes #468311 Raw Edit

Stuff

public text v1 · immutable
·published 2007-05-03 00:49 UTC
rendered paste body
on *:TEXT:!setup:#:{ 
  if ($readini(char.ini,$chan,Char) == $address($nick,2)) {
  notice $nick Welcome, seems like you've already registered, type !stake >Item|Cash< to begin! or type !items to see your inventory. }
  {
    if ($readini(char.ini,$chan,Char) != $address($nick,2)) {
      set %startgp 150000
      writeini char.ini $chan Char $address($nick,2))
      writeini char.ini $chan Item %startgp $+ Gold
      notice $nick Congratulations, You are successfully registered!
      notice $nick [Starter Kit] 3* You Recieved 150,000-Gold !
    }
  }
}

on *:TEXT:!stake:#:{
  if ($readini(char.ini,$chan,Char) == $address($nick,2) && ($2 == null)) {
    notice $nick 4Warning2: 1Please Insert an item you want to stake! Format: !Stake <Item> <Amount> <Opponent> 
    halt
  }
  if ($readini(char.ini,$chan,Char) == $address($nick,2) && ($readini(char.ini,$chan,Char,Item)== $2) && ($readini(item.ini,$chan,item) == $2) && ($4 isin $chan) {
  set %duel on | set %player1 $nick | set %player2 $4 }
}