Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


mIRC Scripting

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
darkex
I post too much
Reputation: 0

Joined: 29 Aug 2008
Posts: 2006
Location: Australia

PostPosted: Tue Jan 13, 2009 12:35 am    Post subject: mIRC Scripting Reply with quote

I have this code that kicks people when they type !snipe:

Code:
on *:TEXT:!snipe*:#:{
  msg $chan Currently kicking...
  kick $chan $nick SNIPER UP TANGO DOWN
}


But how do I configure it so I can snipe anyone using !snipe nickname?

BTW, I don't know if this is the right place to post this.
Back to top
View user's profile Send private message
HalfPrime
Grandmaster Cheater
Reputation: 0

Joined: 12 Mar 2008
Posts: 532
Location: Right there...On your monitor

PostPosted: Tue Jan 13, 2009 12:52 am    Post subject: Reply with quote

Whatever "if($nick != "yournick")" is in mirc?
_________________
Back to top
View user's profile Send private message
1929394839292057839194958
Grandmaster Cheater Supreme
Reputation: 130

Joined: 22 Dec 2006
Posts: 1509

PostPosted: Tue Jan 20, 2009 6:45 am    Post subject: Reply with quote

Code:
on *:TEXT:!snipe *:#:{ msg $chan /kick $2 SNIPER UP TANGO DOWN }

But that would make it so that anyone that types it would make you kick.
So,
Code:
on *:TEXT:!snipe *:#:{ if $nick == $me :: msg $chan /kick $2 SNIPER UP TANGO DOWN }

I think, I'll check it tonight.
Yea, I don't think it is, I'll check.
EDIT:
Fixed, I think that should work.
Now all you need to do is type !snipe NICKNAMEHERE and it will kick that nick with the reason SNIPER UP TANGO DOWN.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites