Vital Posted November 6, 2005 Share Posted November 6, 2005 Ok I Am Having A Problem On Oli's RPG script when you kill someone it gives them a directory link instead of cash for a !bounty Also when you get cash and all that stuff it goes in the money counter the pink one it doesnt go into !cash HELP PLEASE!!! THXS for the bounty this is what i have alias rpg.kill { if $rpg.cash($1,$2) > 0 || $rpg.bounty($1,$2) > 0 { if $rpg.cash($1,$2) > 0 { var %a = Cash: $chr(36) $+ $rpg.cash($1,$2) !writeini -n " $+ $rpg.dir $+ rpg.ini" $mta.name($1,$3) cash $calc($rpg.cash($1,$3) + $rpg.cash($1,$2)) } if $rpg.bounty($1,$2) > 0 { var %a = %a $+ - Bounty: $chr(36) $+ $rpg.bounty($1,$2) } else { !writeini -n " $+ $rpg.dir $+ rpg.ini" $mta.name($1,$3) bounty $calc($rpg.bounty($1,$3) + 1000) } mta.msg ($1,$3) Gained > %a } else { !writeini -n " $+ $rpg.dir $+ rpg.ini" $mta.name($1,$3) bounty $calc($rpg.bounty($1,$3) + 1000) mta.msg $1 $2 Bounty risen by: $chr(36) $+ 1000 } } instead Says When I kill a person with a bounty level ist says: ** Admin PM send: Gained > !writeini -n "C:\Program Files\mIRC\mtama\1.ini" ID2- Bounty: $1000 but it doesnt do anything So If You Can Please Update That Code For Me Thanks! do i need to load 1.ini??? cause i just did but didnt test it Link to comment
Aeron Posted November 6, 2005 Share Posted November 6, 2005 Ok I Am Having A Problem On Oli's RPG script when you kill someone it gives them a directory link instead of cash for a !bounty Also when you get cash and all that stuff it goes in the money counter the pink one it doesnt go into !cash HELP PLEASE!!! THXS for the bounty this is what i have alias rpg.kill { if $rpg.cash($1,$2) > 0 || $rpg.bounty($1,$2) > 0 { if $rpg.cash($1,$2) > 0 { var %a = Cash: $chr(36) $+ $rpg.cash($1,$2) !writeini -n " $+ $rpg.dir $+ rpg.ini" $mta.name($1,$3) cash $calc($rpg.cash($1,$3) + $rpg.cash($1,$2)) } if $rpg.bounty($1,$2) > 0 { var %a = %a $+ - Bounty: $chr(36) $+ $rpg.bounty($1,$2) } else { !writeini -n " $+ $rpg.dir $+ rpg.ini" $mta.name($1,$3) bounty $calc($rpg.bounty($1,$3) + 1000) } mta.msg ($1,$3) Gained > %a } else { !writeini -n " $+ $rpg.dir $+ rpg.ini" $mta.name($1,$3) bounty $calc($rpg.bounty($1,$3) + 1000) mta.msg $1 $2 Bounty risen by: $chr(36) $+ 1000 } } instead Says When I kill a person with a bounty level ist says: ** Admin PM send: Gained > !writeini -n "C:\Program Files\mIRC\mtama\1.ini" ID2- Bounty: $1000 but it doesnt do anything So If You Can Please Update That Code For Me Thanks! do i need to load 1.ini??? cause i just did but didnt test it alias rpg.kill { var %a if $rpg.cash($1,$2) > 0 || $rpg.bounty($1,$2) > 0 { if $rpg.cash($1,$2) > 0 { %a = Cash: $chr(36) $+ $rpg.cash($1,$2) !writeini -n " $+ $rpg.dir $+ rpg.ini" $mta.name($1,$3) cash $calc($rpg.cash($1,$3) + $rpg.cash($1,$2)) } if $rpg.bounty($1,$2) > 0 { %a = %a $+ - Bounty: $chr(36) $+ $rpg.bounty($1,$2) } else { !writeini -n " $+ $rpg.dir $+ rpg.ini" $mta.name($1,$3) bounty $calc($rpg.bounty($1,$3) + 1000) } mta.msg ($1,$3) Gained > %a } else { !writeini -n " $+ $rpg.dir $+ rpg.ini" $mta.name($1,$3) bounty $calc($rpg.bounty($1,$3) + 1000) mta.msg $1 $2 Bounty risen by: $chr(36) $+ 1000 } } Link to comment
Vital Posted November 7, 2005 Author Share Posted November 7, 2005 and can you tell me what the prob was that was straight Olis script it always comeback as a file dir. Link to comment
Vital Posted November 7, 2005 Author Share Posted November 7, 2005 well it still doesnt work Link to comment
Aeron Posted November 7, 2005 Share Posted November 7, 2005 well it still doesnt work Slap Oli to implent the fixed code. Link to comment
Oli Posted November 7, 2005 Share Posted November 7, 2005 well it still doesnt work Slap Oli to implent the fixed code. slap jax actually thats his stuff Link to comment
MrJax Posted November 7, 2005 Share Posted November 7, 2005 Yeah and Jax is too busy The script sux ass anyway, just find another Link to comment
Vital Posted November 8, 2005 Author Share Posted November 8, 2005 Any more ideas??? PLZ HELP! Link to comment
Vital Posted November 9, 2005 Author Share Posted November 9, 2005 Any Ideas if you got !bounty working on your script by Oli can you tell me what the prob is? sorry i just really wanna fix it Link to comment
Recommended Posts