mIRC Home    About    Download    Register    News    Help

Print Thread
#97586 14/09/04 10:23 AM
Joined: Sep 2004
Posts: 85
G
Babel fish
OP Offline
Babel fish
G
Joined: Sep 2004
Posts: 85
i know how to do the basic on text commands, but what i wanna do with this one is basically, when somebody on a server type -count IP COUNT, or -walk IP, i want it to msg myself exactly what they type, like if they do -count 75 5241, i want it to msg $me -count 75 5241, but i want it so it doesnt matter what numbers they type in, same thing with the -walk 48, where it doesnt matter what they type in, any idea's? any help would be great.

#97587 14/09/04 10:36 AM
Joined: Dec 2002
Posts: 397
A
Fjord artisan
Offline
Fjord artisan
A
Joined: Dec 2002
Posts: 397
what your looking to do is basicly impossible unless you were a network admin and im still not even sure how u would do it unless u were joined too every channel on the server


Need amazing web design for low price: http://www.matrixn3t.net
#97588 14/09/04 11:51 AM
Joined: Jan 2003
Posts: 20
K
Ameglian cow
Offline
Ameglian cow
K
Joined: Jan 2003
Posts: 20
Code:
on *:text:*:*: {
  if ($1 == -count || $1 == -walk) {
    /msg $me $1-
  }
}


should work untested though

#97589 14/09/04 02:26 PM
Joined: Mar 2004
Posts: 540
A
Fjord artisan
Offline
Fjord artisan
A
Joined: Mar 2004
Posts: 540
Code:
 
on *:text:*:*: {  
  if ($1 == -count) || ($1 == -walk) {    
    /msg $me $1-  
  }
}
 

#97590 14/09/04 07:22 PM
Joined: Sep 2004
Posts: 85
G
Babel fish
OP Offline
Babel fish
G
Joined: Sep 2004
Posts: 85
ok, i added that, and it loops, so would i add

on *:text:*:*: {
if ($1 == -count || $1 == -walk) {
/msg $me $1- || halt
}
}

forget that, i tried that and it made it loop with -count 1(as a test) and it looped with -count 1 (then a bunch of other crap)

the only way i got it out of the loops was to take out the script, and hit ok, then add it back in

Last edited by Gameaddix; 14/09/04 07:41 PM.
#97591 15/09/04 01:14 AM
Joined: Sep 2004
Posts: 85
G
Babel fish
OP Offline
Babel fish
G
Joined: Sep 2004
Posts: 85
ok, i know what is wrong with it, it see's the -count 1 1(script test) in the channel, it msg's it to me, but it see's it again and repeats, is there any way to make it only "see" the -count 1 1 once?

#97592 15/09/04 09:29 AM
Joined: Jan 2003
Posts: 20
K
Ameglian cow
Offline
Ameglian cow
K
Joined: Jan 2003
Posts: 20
try this

Code:
on *:text:*:*: {
  if ($Nick != $Me) {
    if ($1 == -count) || ($1 == -walk) {
        /msg $me $1-
    }
  }
}


or

Code:
on *:text:*:*: {
  if ($1 == -count) || ($1 == -walk) {
        /echo -at $me $1-
  }
}


#97593 15/09/04 11:08 AM
Joined: Sep 2004
Posts: 85
G
Babel fish
OP Offline
Babel fish
G
Joined: Sep 2004
Posts: 85
i got it, with help from one of my friend that wrote this bot that keeps track of -count and -walk's (for diablo 2), i used

on *:text:-count *:#:{
/msg Mark $1-
}

on *:text:-walk *:#:{
/msg Mark $1-
}

and i just used another mIRC so that when it detected those, it would send it to the nick Mark (my main nick)

without the #, it would send it to the pm, and count it as on text:, so it kept getting new-count messages, and kept sending them(with the old script that is), thx anyway for the help


Link Copied to Clipboard