mIRC Home    About    Download    Register    News    Help

Print Thread
#249591 06/12/14 06:10 AM
Joined: Dec 2014
Posts: 2
V
Bowl of petunias
OP Offline
Bowl of petunias
V
Joined: Dec 2014
Posts: 2
Hey guys, I'm trying to implement a method that allows me to add points everyone that's currently in the channel and not the entire ini file (like !points add all 100). So far nothing I've tried has worked correctly so I figured I'd ask if someone here could help with it.

I'm just trying to make the script off of this point system: http://pastebin.com/fVddMqms

Joined: Jan 2004
Posts: 1,358
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Jan 2004
Posts: 1,358

Loki12583 #249593 06/12/14 07:14 AM
Joined: Dec 2014
Posts: 2
V
Bowl of petunias
OP Offline
Bowl of petunias
V
Joined: Dec 2014
Posts: 2


No idea what this means (I'm new to this irc thing) but I appreciate you trying to help smile

Joined: Jul 2006
Posts: 4,150
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,150
Make a loop on all the nick on the channel using $nick(#channel,N) and call your alias which adds point to a nickname.

Loki's point is that the method you are using is inefficient, once your database is large enough, mIRC will freeze trying to do that, the url shows a method which is much more efficient.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel

Link Copied to Clipboard