Vital Posted November 7, 2005 Share Posted November 7, 2005 Ok I Have An RPG server and when a new person comes in i want to give them 25,000$ (just 25 K per IP tho) automaticlly can someone give me or write the code for me thxs! Link to comment
XaVeR Posted November 7, 2005 Share Posted November 7, 2005 I'm dont using RPG well i dont know where is saving money of diffrend payers well edit this script: if ($3 == !addmoney) { !write " $+ $scriptdir $+here_write_a_name_of_file_what_is_saving_money.ini" $4- .timer 1 0.5 mta.msg $1 $2 Money Added! } Link to comment
Vital Posted November 7, 2005 Author Share Posted November 7, 2005 Sorry to say still doesnt work i want it so it automaiccly gives you money not by pressing !addmoney just like give them 25,000$ when they register each name Link to comment
{SB}-Killer Posted November 7, 2005 Share Posted November 7, 2005 Under mta.join Use : if ($readini("nickserv.ini",$mta.name($1,$2),ip) == $mta.ip($1,$2)) { !.timer 1 0 mta.msg $1 $2 IP address verified, automatic logged in As Player! !.writeini $+(",$nofile($script(mta.mrc)),$1.ini,") ID $+ $2 loggedin yes if ($readini("nickserv.ini",$mta.name($1,$2),level) > 0) { !write " $+ $scriptdir $+here_write_a_name_of_file_what_is_saving_money.ini" 25000 !.timer 1 4 mta.msg $1 $2 Welcome back $mta.name($1,$2) And given 2500 Bucks } } elseif ($ini("nickserv.ini",$mta.name($1,$2)) != 0) { !.timer 1 0 mta.msg $1 $2 The name $mta.name($1,$2) is a registerd name. You have 30 seconds to login. !.timer 1 1 mta.msg $1 $2 To login type "/msg login ". $+(!.timer,$1,.,$2) 1 30 mta.kick $1 $2 } else { !.timer 1 0 mta.msg $1 $2 This server has Nick-Server enabled. Register your nickname today! !.timer 1 1 mta.msg $1 $2 Type "/msg register to register. } Ofcourse it wont work as i dont what login script ur using so under join where it checks for auto login just use the code you were given by Xaver . Yup ur confused to death oh well ask the makers of the script to add that . Link to comment
Recommended Posts