|
nutsnbolts Apprentice
Joined: 01 May 2002 Posts: 188 Location: USA
|
Posted: Fri May 10, 2002 3:39 pm
Random Message IDLE SCRIPT? |
I am trying to create an idle bot script, that keeps me idle in game as opposed to quitting me out when I'm sitting idle. Basically the script I want it to do is to chat, yell, emote, say, tell randomly with a random message. For instance, every so often tick, it'll either (yell, chat, auction, say) a random (message). The easy part is that it can randomly chat messages but the thing is I also want to randomize the (yell, say, chat) part.
Sup |
|
|
|
nutsnbolts Apprentice
Joined: 01 May 2002 Posts: 188 Location: USA
|
Posted: Fri May 10, 2002 5:58 pm |
Any TAkers?
Sup |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Fri May 10, 2002 7:33 pm |
What's the problem? If you can figure out how to randomize one part why can't you figure out how to randomize the other. It's the same process.
%case(%random(1,4),yell,chat,auction,say)
LightBulb
Vague questions get vague answers |
|
|
|
nutsnbolts Apprentice
Joined: 01 May 2002 Posts: 188 Location: USA
|
Posted: Sat May 11, 2002 3:50 am |
oops, let me rephrase that, I remember doing it in the past but that was like 2 years ago when I mudded heavily..hehe...well now, I'm clueless as to how to do it. I know it's possible but that's the extent of my knowledge.
If you could give me an example of the entire script, it would be helpful. At least till I can relearn everything.
Sup |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sat May 11, 2002 5:42 am |
This isn't hard. If you want random actions, you use the %random function.
#VAR idlemessages {nobody home|gone fishing|out to lunch}
#ALARM {*10:00} {%case(%random(1,4),yell,chat,auction,say) %item(@idlemessages,%random(1,numitems(@idlemessages)))}
LightBulb
Vague questions get vague answers |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|