Roy_

Roy_

Joined:
Oct 01, 2007

Interests

Script, friends, hanging out

Activity Stream

Roy_ commented on a Snippet, $getasc  -  Oct 03, 2007
Hmm, alright. But that shouldn\'t really make a difference. As far as I know at least. Will do Scakk.

--Roy
 Respond  
Roy_ commented on a Snippet, $getasc  -  Oct 03, 2007
Interesting, they all seemed to work fine for me. I\'ll check the code again and find the issue.
 Respond  
Roy_ posted a Snippet  -  Oct 03, 2007
Roy_ commented on a Snippet, Another Auto-Join  -  Oct 02, 2007
Or you could also try, I\'m a little fuzzy on this,

if ($left($did(aj,2).text,1) != $chr(35)) write $+($network,.,ajoin,.,txt) $+($chr(35),$did(aj,2).text) $did(aj,10).text
else { write $+($network,.,ajoin,.,txt) $did(aj,2).text $did(aj,10).txt }

Just in case someone makes a mistake, it already writes it for them.

--Roy
 Respond  
Roy_ commented on a Snippet, Another Auto-Join  -  Oct 02, 2007
Just change the $1 to $did(aj,2).text

--Roy
 Respond  
Roy_ commented on a Snippet, Another Auto-Join  -  Oct 02, 2007
It\'d probably be along the lines of: if ($left($1,1) iswm $chr(35))

--Roy
 Respond  
Roy_ commented on a Snippet, Email Kick/Ban  -  Oct 01, 2007
Ugh, missed a bracket in the text event. The code should be:

Code

 


--Roy
 Respond  
Roy_ commented on a Snippet, Email Kick/Ban  -  Oct 01, 2007
I fixed up RubixCube\'s code:

Code

 


That should work, everything was tested.

--Roy
 Respond  
Roy_ commented on a Snippet, Bad word kick/ban ( text , emote , notice )  -  Oct 01, 2007
Ugh, in my last comment just remove the use in the first sentence, it\'s a bit late over in here.

--Roy
 Respond  
Roy_ commented on a Snippet, Bad word kick/ban ( text , emote , notice )  -  Oct 01, 2007
Interesting approach to this, but why not use add a warning? It seems a bit harsh to directly kban, even though it\'s for 30 seconds. Also, why not use ban -ku30? I don\'t think there is a need for the timer, other than giving a two second interval. Nice job on this I like it.

--Roy
 Respond  
Roy_ commented on a Snippet, Simple away script  -  Oct 01, 2007
A couple of the features don\'t really need to be included. Why would you say if you are away when it already says the message when you leave. If you supported a timer, that would make a bit more sense. What I would like to see in this snippet is some more features. Such as a log feature or an input return feature. If you are messaging to an active channel, you should include a highlight feature.

As to the use of all those global variables, that isn\'t needed. Try using var %away = $$?=\"Enter away msg:\" and then using the $awaymsg identifier. Your %atime identifier isn\'t needed at all. You can use mIRC\'s built in identifier, $awaytime.

Could use a bit of work, and maybe a dialog if you are into those.

--Roy
 Respond  
Roy_ commented on a Snippet, Simple Auto-Voice/Op/Protect  -  Oct 01, 2007
@ mountaindew\'s code, You don\'t really need to specify if $2 is in the channel. It will still add to mIRC\'s internal list.

@ the original code and the author, You are not really checking the address and if $2 is specified. That could receive a pretty big error. You also neglect features such as a delete option or an edit option. Interesting idea, but the coding isn\'t quite complete.

--Roy
 Respond  
Roy_ commented on a Snippet, auto-add functions  -  Oct 01, 2007
This snippet seems to be divided in three different sections. If you wanted to give a user a voice and a greet, you could. There is an auto-act section and an auto-greet section. So you could technically do what you are asking. This snippet isn\'t all to great. You might as well use hash tables for all the data. And why create a separate text file just for the use of dialog? I think $ini would work for that, I\'m not too sure, but it should. /help $ini. There are a few error checking bits you are missing. In your add nick alias, you forget to include an if ($1 && $2) to check if the user actually typed the strings. If I forgot to add the second, it would add it to the text & ini file. You also forget to check if the dialog name is in use when you type the command to open the dialog. Try adding an if ($dialog(nicksview)). And how about adding an edit option? It seems a bit of work to delete and then type the parameters. Nice concept, but not really good coding.

--Roy
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.