Hey, how would you write it do that someone could just type d#, where # is the highest number the die can roll
I.E d22 would generate a random number between 1-22
Hey, how would you write it do that someone could just type d#, where # is the highest number the die can roll
I.E d22 would generate a random number between 1-22
mIRC script is too weak and unconventional for my blood, so I have no idea. I like the KVIrc scripting.
However, I can make google my bitch fairly well. Thus, looks like this will help you chris
http://www.datarealms.com/forum/view...ab5fdf8d28f4d4
There is a random number generator script there, that looks like it takes additional number inputs after the call. All you'd have to do is change the call to a trigger (!d 20) instead, get rid of the second number, tweak the output, and it should work.
I think... like I said, I can't read that mess too well.
Edit:
Ah wait, no fuck that... I just read the rest of that thread, guy does something waaaay over complicated (and then bitches when people call him a retard for not using what's already there and working properly... guy'd be a great microsoft employee). Apparently all you have to do is link the trigger to call the alias /rand #... and I think that to set the variable for # you just do <variable> = $2, since it's the second 'word' in the string of your text call.
Vol~
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
thanks to Silverwmoon!
cool. now all I'd have to do is figure out how to make a text command to turn that script on and off ....
1.) mIRC
2.) windowsXP
3.) a blacklist script mainly to catch those multiple ip floods. Its not really designed for common kicks, but the channel attack ones. Basically it looks to see if more than one ip says the same trigger phrase and saves that to a fifo array, then when it gets a match it bans (not kicks) the attacker adds em to the blacklist, and sets the channel modes. also with exemptions list. antispam socket get advertise messages will auto relay to, script will auto blacklist the ips. with random cycle nick for antispam bot.
thanks you.![]()
Hi guys,
I'm using mIRC 6.31 and Windows Vista.
The script that I am after is a nicklist popup, what I need it to do is to send a warning message to the channel with the user that was clicked on nick in it, then after a set time period kick that user. The script needs to be able to cope with multiple timer activations (i.e. several users clicked on one after the other).
eg.
(say I ran the script on a user called tester)
/me looks and warns tester they will be kicked in 5 minutes
*wait 5 minutes*
/kick tester told you!
Cheers guys!!
Ik.
I haven't scripted mIRC for years now so don't expect much. :P
In remote:
on *:NOTICE:Turn on/load script.mrc
on *:NOTICE:Turn off/unload script.mrc
I kinda forgot what to do so that you can do things with mouse. (I know that abaile knows how to do this, try PM him?)
on *:text:!kick $nick:#:{
describe $chan looks and warns $nick that he/she will be kicked in 5 min
timer 1 300
kick $nick Told you!!
}
That's for a text command that you say in channel to kick 1 person at a time, will modifyi it when/if abaile makes the part that enables it doing it by mouse.
(or then try search for it in hawkee.com)
I'm pretty sure you need to be an IRCOP (for detecting? maybe even an admin) for this, usually the IP shown is different per nick. (proxy)
Anyway, I tried coming up with few solutions.
multiple channel kick - mIRC Code Snippet
I haven't tested this one, so I don't know if it works.
Blacklist System - mIRC Code Snippet
I think this only work for nicks? probably not helpful.
One thing that you could do is seting the channel mode +i (invite) when a certain ammount of nick's join within a certain time (well usually flooders join within few sec's, so 5 nicks within1-2 sec? lol) but since I don't remember how to make counter scripts for people joining... :X
You might find/request what you're searching for from hawkee.com
Last edited by Spurgu; 04-12-2008 at 01:58 AM.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Wanna understand my siggie? Watch out for this forum troll. Click
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Hi, I would like to request a help in making a script. I'm using mIRC, Windows being my OS.
The function of it should be reacting to action of slaping me with a large trout. The reacting should have two levels - after the first slap the warning message should appear, after the second slap the user shall be kicked. Example:
What i have is a basic thingy that can either kick or send a message without counting the numbers of slaps. Examples:* UserI slaps Reinard-fox around a bit with a large trout
<Reinard-fox> Warning text
* UserI slaps Reinard-fox around a bit with a large trout
* UserI was kicked by Reinard-fox
orCode:on *:action:slaps*around a bit with a large trout:#whatever:{ /msg $chan Warning text }
both of which work. The problem is that i fail to make a part of script that would count the number of slaps and switch from one reaction to another through if/else. Can you please help me with that?Code:on *:action:slaps*around a bit with a large trout:#whatever:{ /kick $chan $nick }
Thanks in advance.
EDIT: Nevermind, figured it out.
Last edited by reinard-fox; 05-14-2008 at 11:27 PM.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
I am using Mirc 6.21 with WindowsXP
I would like a script that kicks someone from a channel for sending a private message to me without permission. Also I am in over 20 servers and 50 rooms so I would need to be able to set what servers/channels to do it on. Thanks!
I have mIRC and Windows XP.
I need a script that does the following:
-a poll with no time limit, the admin (the one who runs the poll) will end the poll
-an option for the admin to pick the winner (say the Lakers and Celtics are playing and people choose their options but the admin will pick the winner at the end of the game with the result of the game)
-records the people who voted for each option and displays the winners of the winning option
I hope that makes sense. Thanks a lot.
mIRC/sysreset, Windows XP pro.
Is it possible to have a script that can add more to itself on request?
For example i have a .eat script that whenever someone types it, it will say they have eaten a food(randomly generated), but i want people to be able to add more stuff without me having to do it manually, and with a command:
".eat add food here! description goes here"
Bookmarks