need help with a set mode script :) - 17/12/14 07:34 AM
Hi i am new to scripting, i am trying to make a script that sets the channel mode to +m through a timer when a user leaves the channel with a spam message with "http"in their /part message, i think i got the first part right but i am stuck in the set mode chanel part here is the script:
;//this is when the script checks for the part message containing the word http.
on @*:PART:#:{
IF ( e isin $strip($1-)) {
:// this is the part that works
mode +m -u300 $chan #
}
}
i am stuck in the second 'set mode' part
the command i am using now is not working.
Any suggestions or help is appreciated.
;//this is when the script checks for the part message containing the word http.
on @*:PART:#:{
IF ( e isin $strip($1-)) {
:// this is the part that works
mode +m -u300 $chan #
}
}
i am stuck in the second 'set mode' part
the command i am using now is not working.
Any suggestions or help is appreciated.