HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trigger Question, Integers I guess

12-23-2003, 11:44 PM#1
Tariq
Here's an example of what I'm looking for

Event
A player types an exact match of
(substring1) Bla Bla Bla
(substring2) any number between 300 and 1000

I cant find out how to make that--any number between 300 and 1000

I'm mainly trying to find out how you would make the any number between sub trigger

Your help would greatly be appreciated
12-23-2003, 11:52 PM#2
linkmaster23
Random number between 300-1000. And yes its a Interger. It COULD be a real. If they put say 1.5. Does that answer your quesrion?
12-24-2003, 12:07 AM#3
Tariq
I don't think thats working, this is being used as the Event--

Event--
Player 1 types a chat message containing
random number between 300 and 1000

Action--
Victory


This dosn't seem to be working because the word random should be a like this-


Event--
Player 1 types a chat message containing
a number between 300 and 1000

Action--
Victory

Do you know how I would get random to be a instead?
12-24-2003, 12:25 AM#4
linkmaster23
Ah ok. Then set a interger variable. Random number between 0-1000 then check to see if that nubmer is 300 or higher than 300. though a If/then/else. If Number is euqal too or greater than 300, then do Victory, else do nothing. That better?
12-24-2003, 12:32 AM#5
Tariq
Thanks, I kept trying to find a direct way to create the event. Your help was greatly appreciated.
12-24-2003, 12:58 AM#6
linkmaster23
Its good to know im actully serving a purpose instead of my stupid spell thread. LOL.