Jump to content

im lost


Squall

Recommended Posts

Posted

i have no clue on what i am doing but like my nana says "if u no u cannot do it then go for it" so i tried to try make something but my trys failed like usually

on *:SIGNAL:mta.join:{

}

mta.say $1 Events: $rand

on *:SIGNAL:mta.command: {

if ($3 == /msg eventchange ) mta.text $1 $read($scriptdir $+ events.txt,$rand(0,$lines($scriptdir $+ events.txt)))

}

}

mta.say $1 Events: $rand

i no thats wrong i tried it and nothing i was trying to make well by looking at it you can probly tell i was trying to make some thing to popup and say what events there are and be able to change them with a msg command only for admins
images2.jpg
Posted

on *:SIGNAL:mta.join:{
 mta.say $1 Events: %mta.event. [ $+ [ $1 ] ]
}
on *:SIGNAL:mta.command: {
 if ($3 == !eventchange) {
   if ($4 != $null) {
     %mta.event. [ $+ [ $1 ] ] = $read($scriptdir $+ events.txt,$4)
   }
   else {
     %mta.event. [ $+ [ $1 ] ] = $read($scriptdir $+ events.txt,$rand(1,$lines($scriptdir $+ events.txt)))
   }
 }
 mta.say $1 Events: %mta.event. [ $+ [ $1 ] ]
}

Usage:

!eventchange [Event ID or leav it blank for random]

"Never argue with an idiot. They bring you down to their level and beat you with experience."

"Arguing on the internet is like the Special Olympics. Even if you win, you're still retarded."

signature.gif

Posted
now it says
-

* /1: not connected to server (line 2, Events.mrc)

i have v 6.16 i think mIRC

Try this:

on *:SIGNAL:mta.join:{ 
 ;Parameters:
 ;$1 = Server
 ;$2 = ID
 ;$3 = Command
 ;$4- = Parameters
 mta.say $1 Events: %mta.event. [ $+ [ $1 ] ]
} 

Posted

Try this:

on *:SIGNAL:mta.join:{ 
 ;Parameters:
 ;$1 = Server
 ;$2 = ID
 ;$3 = Command
 ;$4- = Parameters
 mta.say $1 Events: %mta.event. [ $+ [ $1 ] ]
} 

you know.. this ;Parameters don't do anything in the script like anything with ; sing in front, so they are just not needed, that is there just like a tip.. So this can NOT fix anything...... :roll:

Do not PM me, im not going to read it anyway.

Posted

k but it still dont work. is this right

on *:SIGNAL:mta.join:{

;Parameters:

;$1 = Server

;$2 = ID

;$3 = Command

;$4- = Parameters

mta.say $1 Events: %mta.event. [ $+ [ $1 ] ]

}

on *:SIGNAL:mta.command: {

if ($3 == !eventchange) {

if ($4 != $null) {

%mta.event. [ $+ [ $1 ] ] = $read($scriptdir $+ events.txt,$4)

}

else {

%mta.event. [ $+ [ $1 ] ] = $read($scriptdir $+ events.txt,$rand(1,$lines($scriptdir $+ events.txt)))

}

}

mta.say $1 Events: %mta.event. [ $+ [ $1 ] ]

}

images2.jpg
Posted

Hint: put the code in the REMOTE tab of the script editor:

Do this when you have focus on the main window:

1. ALT+R

2. ALT+R (Yes twice, not once, twice)

3. Paste the code:

on *:SIGNAL:mta.join: {
 mta.say $1 Events: %mta.event. [ $+ [ $1 ] ]
}
on *:SIGNAL:mta.command: {
 if ($3 == !eventchange) {
   if ($4 != $null) {
     %mta.event. [ $+ [ $1 ] ] = $read($scriptdir $+ events.txt,$4)
   }
   else {
     %mta.event. [ $+ [ $1 ] ] = $read($scriptdir $+ events.txt,$rand(1,$lines($scriptdir $+ events.txt)))
   }
 }
 mta.say $1 Events: %mta.event. [ $+ [ $1 ] ]
} 

4. Worky

"Never argue with an idiot. They bring you down to their level and beat you with experience."

"Arguing on the internet is like the Special Olympics. Even if you win, you're still retarded."

signature.gif

Posted

nope it still say -

* /1: not connected to server (line 7, Events.mrc)

and now my mirc dont work (jst like my brain) would you b able to send me a saved script file

images2.jpg
Posted
nope it still say -

* /1: not connected to server (line 7, Events.mrc)

and now my mirc dont work (jst like my brain) would you b able to send me a saved script file

Try:

on *:SIGNAL:mta.join: {
 mta.say $1 Events: %mta.event. [ $+ $1 ]
}
on *:SIGNAL:mta.command: {
 if ($3 == !eventchange) {
   if ($4 != $null) {
     %mta.event. [ $+ $1 ] = $read($scriptdir $+ events.txt,$4)
   }
   else {
     %mta.event. [ $+ $1 ] = $read($scriptdir $+ events.txt,$rand(1,$lines($scriptdir $+ events.txt)))
   }
 }
 mta.say $1 Events: %mta.event. [ $+ $1 ]
}

"Never argue with an idiot. They bring you down to their level and beat you with experience."

"Arguing on the internet is like the Special Olympics. Even if you win, you're still retarded."

signature.gif

Posted

very strange eh... make sure you have 6.16 mirc :roll: Cause looks like you have that buggy 6.2 mirc where most of the scripts posted here do not work

Do not PM me, im not going to read it anyway.

Posted
i have MTA:mA 3.24 and it comes up like this
-

* /me: not connected to server (line 881, mta.mrc)

-

my MTA:mA doesn't use '/me'

"Never argue with an idiot. They bring you down to their level and beat you with experience."

"Arguing on the internet is like the Special Olympics. Even if you win, you're still retarded."

signature.gif

Posted
i have MTA:mA 3.24 and it comes up like this
-

* /me: not connected to server (line 881, mta.mrc)

-

my MTA:mA doesn't use '/me'

what about /me command? like /me pwnz j00 all :P

but anyway its not on the 881's line.. D+I+E=ikillu did you edit mta.mrc?

Do not PM me, im not going to read it anyway.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...