ImJohnMclane Posted November 30, 2007 Share Posted November 30, 2007 alias mta.text { if (mywordwashere isin $3-) mta.text $1 Sa ei pidanud reeglitest kinni - You didn't stay at rules - AutoMute 120 seconds. elseif (mywordwashere isin $3-) mta.text $1 Sa ei pidanud reeglitest kinni - You didn't stay at rules - AutoMute 120 seconds. elseif (mywordwashere isin $3-) mta.text $1 Sa ei pidanud reeglitest kinni - You didn't stay at rules - AutoMute 120 seconds. elseif (mywordwashere isin $3-) mta.text $1 Sa ei pidanud reeglitest kinni - You didn't stay at rules - AutoMute 120 seconds. elseif (mywordwashere isin $3-) mta.text $1 Sa ei pidanud reeglitest kinni - You didn't stay at rules - AutoMute 120 seconds. elseif (mywordwashere isin $3-) mta.text $1 Sa ei pidanud reeglitest kinni - You didn't stay at rules - AutoMute 120 seconds. !.timer 1 1 mta.mute $1 $2 !.timer 1 121 mta.unmute $1 $2 !.timer 1 121 mta.text $1 Ara rohkem Niimodi Raagi! Do not speak by this language anymore! } But this didn't work? . Whats wrong? Greetz, [XED]Raver. Thanks. Link to comment
Guest Posted November 30, 2007 Share Posted November 30, 2007 Try to take out all the elseif and just use if Link to comment
lil Toady Posted December 1, 2007 Share Posted December 1, 2007 Try to take out all the elseif and just use if ..... on *:SIGNAL:mta.text:{ var %badwords = bla1 bla2 bla3 bla4 bla5 var %a = 1 while (%a <= $numtok(%badwords,32)) { if ($gettok(%badwords,%a,32) isin $3-) { mta.badword $1 $2 !halt } !inc %a } } alias mta.badword { mta.text $1 Sa ei pidanud reeglitest kinni - You didn't stay at rules - AutoMute 120 seconds. !.timer 1 1 mta.mute $1 $2 !.timer 1 121 mta.unmute $1 $2 !.timer 1 121 mta.text $1 Ara rohkem Niimodi Raagi! Do not speak by this language anymore! } List the words you don't want to see in 'var %badwords = bla1 bla2 bla3 bla4 bla5' Link to comment
Recommended Posts