BestTechie Forums: Mirc Scripts - BestTechie Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Mirc Scripts Users in Room

#1 User is offline   Tomm Icon

  • Member
  • Pip
  • Group: Members
  • Posts: 5
  • Joined: 22-December 07

Posted 30 December 2007 - 05:54 PM


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))
[/b][/color]

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

~Tomm

#2 User is offline   Dark_Aaron Icon

  • Member
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 13-January 09

Posted 23 April 2009 - 06:50 PM

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

This post has been edited by Dark_Aaron: 23 April 2009 - 07:05 PM

Don't mess with THE BEST.

#3 User is offline   Dark_Aaron Icon

  • Member
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 13-January 09

Posted 23 April 2009 - 07:03 PM

nvm lol check above

This post has been edited by Dark_Aaron: 23 April 2009 - 07:06 PM

Don't mess with THE BEST.

#4 User is offline   DigitalMan Icon

  • Member
  • Pip
  • Group: Members
  • Posts: 22
  • Joined: 04-January 09
  • Location:Michigan, USA
  • Operating System:Ubuntu Linux, Windows XP, & Windows Vista

Posted 27 July 2009 - 01:15 PM

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/
Zach A. Mitchell
President of Administration
KrutiMedia Productions, LLC



(X)HTML, CSS, XML, PHP, MySQL, Javascript, AJAX

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users