Sponsored By

Tommadness

Mirc Scripts

Recommended Posts

Hey.

I'm kinda new to mIRC (I was using ChatZilla addon to FireFox before, switched for the scripting function. =P) And I want to make a command that does "*Tomm dances with <random user>." I have it working, but, as you will see from my script below, I have to manually input the number of users. Is there a variable in mIRC which tells you the amount of users currently?

My script:

/randdance [b][color="red"]*Tomm dances with $nick(#,$r,$rand(0,300))

And yes, I've googled, and haven't come up with anything.

~Tomm

Share this post


Link to post
Share on other sites

nooo...

here more like this

alias randdance {
; ^^ will make /randdance a command
describe # $me dances with $nick(#,$rand(0,$nick(#,0)))
; ^^^ /describe <chan> is the same as /me
; the only prob with your $rand was there is no such identifier as $r
}

hope that helps

-Aaron

Edited by Dark_Aaron

Share this post


Link to post
Share on other sites

Here is a "power" script that outputs how many users you have power over and how many channels you are op'd in. You may be able to snatch a little of the code that calculates the number of users in the channel and use it in your script. Good luck.

http://www.hawkee.com/snippet/1988/

Share this post


Link to post
Share on other sites

As many as 100 vacancies were up for grabs for the post of Soldier General Duty (Women Military Police). Anyone who has passed the Matric level examination from any of the recognized board was eligible to present sarkari naukri candidature for this post.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...