Ticket #13: fr.complex-pinch.diff

File fr.complex-pinch.diff, 0.6 KB (added by bmotion, 2 years ago)

Making the french complex pinch work like the english one

  • plugins/fr/action_complex_pinch.tcl

     
    2020    # TODO: check $object and $action (e.g. pinches arse) 
    2121    bMotionDoAction $channel [bMotionGetRealName $nick $host] "%VAR{stolens}" 
    2222    bMotionGetSad 
    23     # TODO: switch to using plugin settings for this 
    24     #set bMotionCache(lastEvil) $nick 
     23    # matching english plugin 
     24    bMotion_plugins_settings_set "system" "lastevil" $channel "" $nick 
    2525    driftFriendship $nick -1 
    2626    return 1 
    2727  }