Heya all again , ok i posted this small !rob thing before about a timer for it and it worked great..But this time i need it to able to not rob when someone has typed - !away - within the game any ideas ??


on *:text:!rob*:#Battle: {
if (%rob [ $+ [ $nick ] ] == on) {
msg $nick You Have Already Robbed Someone Within 5 mins!
halt
}
if (%rob [ $+ [ $nick ] ] != on) && ($2 ison #) && (%account [ $+ [ $2 ] ] == on) {
msg $chan $nick Attempts To Rob $2
set %attempt $rand(1,5)
}
if (%attempt == 1) {
set %tthier-money $round($calc(%money [ $+ [ $2 ] ] / 2),0)
msg $chan $nick SuccessFully Robs $2
msg $chan $nick Has Robbed $2 by %tthier-money Money From $2
inc %money [ $+ [ $nick ] ] %tthier-money
dec %money [ $+ [ $2 ] ] %tthier-money
set -u300 %rob [ $+ [ $nick ] ] on
}
else {
msg $chan $nick Has Failed To Rob $2 !
set -u300 %rob [ $+ [ $nick ] ] on
}
}


thx for your time here , many thx smile