Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ON ^*:TEXT:*:?: {
- if (($nick == %ursnick) && (%aidles == On)) {
- haltdef | halt
- }
- }
- ON *:CONNECT: {
- if (%aidles == On) {
- set %usrnick $me
- .timeraidles 0 $rand(10,60) __chnick
- echo -s 13,1 $+ $timestamp [Anti-Idle] >> has been Activated | halt
- }
- }
- ON *:LOAD: {
- set %aidles Off
- set %usrnick $me
- echo -s 4,1 $+ $timestamp [Anti-Idle] >> has been Loaded & DeActivated | halt
- }
- menu channel,status,query {
- $chr(171) $+ $chr(187) Anti Idle Addon is ( $+ %aidles $+ ): {
- if (%aidles == Off) {
- set %aidles On
- .timeraidles 0 $rand(10,60) __chnick
- echo -a 13,1 $+ $timestamp [Anti-Idle] >> has been Activated | halt
- }
- if (%aidles == On) {
- set %aidles Off
- .timeraidles Off
- echo -a 4,1 $+ $timestamp [Anti-Idle] >> has been DeActivated | halt
- }
- if (!%aidles) {
- set %aidles Off
- .timeraidles Off
- echo -a 4,1 $+ $timestamp [Anti-Idle] >> has been DeActivated | halt
- }
- }
- }
- on *:NICK: {
- if ($nick == $me) {
- set %usrnick $newnick
- }
- }
- Alias __chnick {
- if ($me != %usrnick) {
- set %usrnick $me
- }
- //.msg %usrnick anti
- }
Add Comment
Please, Sign In to add comment