mIRC Home    About    Download    Register    News    Help

Print Thread
#250929 03/02/15 06:44 AM
T
TheOriginalRGH
TheOriginalRGH
T
im trying to get a script where i could give points to everyone watching the stream at the same time example !give 100 points all

#250930 03/02/15 07:19 AM
M
michaelukz
michaelukz
M
Just saying, There are hundreds out there that have other features and are easy to edit / remove certain stuff, I recommend you look around for a bit dude.

#250931 03/02/15 07:21 AM
T
TheOriginalRGH
TheOriginalRGH
T
where can i find one!! i been looking but i cant even find one

#250933 03/02/15 09:03 AM
M
michaelukz
michaelukz
M
https://www.youtube.com/watch?v=ZxYD5eZ0gx0

Try that, Not only does it show you how to do it, But it's a great series in general, With tons of different tutorials.

#250936 03/02/15 11:32 AM
T
TheOriginalRGH
TheOriginalRGH
T
youtube video did not help

#250937 03/02/15 11:57 AM
M
michaelukz
michaelukz
M
I posted that because it was hotlinked, If I am remembering correctly there was 3 videos of the point system.

#250949 03/02/15 08:55 PM
Joined: Dec 2013
Posts: 771
N
Hoopy frood
Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 771
I assume you're using the widely spread points system, here's a code that uses the same syntax as that one. I wouldn't recommend using that script in the longrun however.

I also don't recommend using this script in any channel with more than 50 users or if there is over 1000 data in the ini file.
Code:
on *:text:!give *:#: { 
if (($nick !isop #) || ($3 !isnum) || ($0 < 3)) return
if ($2 != all) doaddpoints # $2 $3
else { 
var %nicks $nick(#,0)
while (%nicks) {
var %nick $nick(#,%nicks)
doaddpoints # %nick $3
dec %nicks
}
}
} 
;Syntax: !give <Specific user|All> <value>


Link Copied to Clipboard