Username
Password
Are you new? Sign up now
I’ve forgotten
Home
:.
Downloads
:.
Articles
:.
Projects
:.
Reviews
:.
Forums
:.
Arcade
:.
Klikcast
:.
GOTW
The Daily Click
::.
Forums
::.
Klik Coding Help
::.
How do you use a random command with ini files?
Post Reply
Post Oekaki
Posted By
Message
siven
I EAT ROCKS
Registered
03/11/2008
Points
604
16th November, 2010 at 04:50:52 -
so i want to be able to have a command that basically says
upon pressing spacebar randomly select a random string from a random group
mines set up like...
[CombatRifles]
Rifle
Stabber
(etc)
[Shotguns]
Shotgun
Spreader
(etc)
[Game design makes my brain feel like its gonna explode.]
Don Luciano
Heavy combat pancake
Registered
25/10/2006
Points
380
16th November, 2010 at 12:35:07 -
I would recommend just using random string, without first choosing the random group. it would be less events.
[Weapons]
shotgun
rifle
knife
set string paragraph 1 to shotgun, 2 rifle, 3 knife...
upon pressing spacebar
-
inigetstring$(Weapons, set paragraph to random(number of parapgraphs))
Code me a sausage!
Post Reply
1
All
Advertisement
Worth A Click