this is my first wack at any scripting at all and i can't get it to do anything. Please edit my horribly written script into a beautiful swan
please ignore the fact that this script involves the word AIDS (shifty dog eyes)
/var %mod = [M]tree
on *:TEXT:!cast aids*:#:
{
if ($nick isin %mod) && ($3 ison $chan)
{ /msg $chan /me begins to cast AIDS. }
{ /timer1 1 5 /msg $chan /me has sucesfully casted AIDS on $3! }
{ /timer2 1 10 /msg $chan $3 has 5 minutes till AIDS will take affect. }
{ /timer3 1 70 /msg $chan $3 has 4 minutes remaining till consumed by the AIDS effect. }
{ /timer4 1 130 /msg $chan $3 has only 3 minutes remaining. }
{ /timer5 1 190 /msg $chan $3 has only 2 minutes left! GASP! }
{ /timer6 1 250 /msg $chan $3 has only 1 minute left! Please apply the !cure soon. }
{ /timer7 1 310 -k $3 /msg $chan $3 DIED OF AIDS }
}
on *:TEXT:!cure*:#:
{
{ /msg $chan Cures can be purchased using AIDSbot credits. Currently the credit system is down so if you are
currently suffering from AIDS there is no hope for you. }
}
The attempt here is to make it so when only I ([M]Tree say !cast aids (name) it will show a emote of my bot casting AIDS and then have a 5 min countdown , showing every minute. at the end (name) is kicked
also i wish (but not needed) if some one could figure a way to add a 75% succes chance of AIDS actually casting. So that there is a 25% the (name) will not be kicked do to failure.
Another ALSO (but not needed) if any one could post a script that could set a bot to hold a form of currency that can be flagged to nicks or if thats even possible (so people can purchase cures for AIDS)
ex: !give (nick) x
X == number of credits\dollars\money
and have that stored into a txt file maybe?
solving any 3 of my problems will make me very happy