Script Help?

Forum rules
Need help with something? Anything? Post here.

Post a reply

Smilies
:smooch: :kitty: :hickrock: :music: :rake: :bash: :buba: :funnyshit: :welcome: :cyclops: :dance: :deal: :pclove: :gamer: :penguin: :fly: :ninja: :artist: :beer: :rocker: :spongebob: :link: :hunter: :psmurf: :hitler: :smurf: :geek: :loco: :music: :nosepicker: :ph34r: :pilot: :popcorn: :rtfm: :roulette: :sarcastic: :scenic: :suicide: :sun: :tele: :wacko: :wizard: :aggressive: :airkiss: :dance: :dash: :diablo: :unclesam: :fu: :gamer: tp(( ppr( aa) bbn) ac) :roll: 1234(( ii998) tt556) 3322)) 4455() :D :) :( :o :shock: :? 8-) hh) :mad: :oops: ;) :evil: :twisted: :!: :?: ab) :arrow: :idea:
View more smilies

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Script Help?

Re: Script Help?

by Lebo » June 6th, 2008, 8:47 am

Thanks mate :D

Re: Script Help?

by Drkpwn3r » June 5th, 2008, 7:18 pm

Code: Select all

if ( %somenumber == $null ) {
  %somenumber = 0
}
else {
  inc %somenumber
}
Replace %somenumber with your desired variable name and you're set, also use the same variable at "[I've poked " $+ %somenumber $+ " people with this here snack!!]" (pretty sure that's right) if you wish to display the value in a message.
Just make sure no scripts you have running use the variable you're going to be using, otherwise it may not turn out too pretty for either your script or the other one. ;)

Script Help?

by Lebo » June 5th, 2008, 3:04 pm

I want to know how to make a script that counts how many times it has been used.
Example: Lebo pokes $$1 with an extra long bagguette [I've poked <NumberCounter> People with this here snack!!]
Help appreciated.
Plus if its needed i use mIRC.
Thanks again, Lebo. :)

Top