newklear

newklear

Joined
Oct 11, 2008
Occupation
Software Architect
Location
irc.atrum.org -j #chillroom
Website
Interests
IRC, Automation, AI, Bots

Activity Stream

newklear created a Page  -  Aug 29, 2018

Usage: !tatamachance|!lotto|!powerball|!lottery to start the Lottery Examples: !lotto - Will start a 10 minute long Lottery!lotto 3600 - Will start a 1 hour or 3600 second lottery!lotto cancel - Will cancel the Lottery draw

  1 Thread   mIRC  
newklear created a Page  -  Jul 22, 2018

Have added a few tweaks as well as score keeping and alerts for players. Enjoy :-)

newklear created a Page  -  Apr 16, 2018
3 13 

Simple Fight game

  1 Thread   mIRC  
newklear created a Page  -  Apr 16, 2018
3 8 

2 Player Dice Roll Game

 Respond   mIRC  
newklear created a Page  -  Apr 16, 2018
3 7 

Saw This script http://hawkee.com/snippet/17907/ by manish17, made it work with a few extra's.

  1 Thread   mIRC  
newklear created a Page  -  Sep 11, 2017
235 

!tell nickname your message goes here!

  1 Thread   mIRC  
newklear commented on a Page, Evaluation Script  -  Nov 15, 2009

Good script CadetAndrew, keep it up.

You can also do: $!away, $!mircdir, $!idle, $!duration($idle), $!me, $!time, $!date etc.. to re-evaluate.

 Respond  
newklear commented on a Page, HTML responses  -  Aug 08, 2009

Ohh I never knew that.. interesting but yet so simple lol, nicely done :)

 Respond  
newklear commented on a Page, d/l speed calc. + size conv.  -  Aug 08, 2009

Brilliant Idea this.. this definately gives you a great start in improving on this, well done

 Respond  
newklear commented on a Page, mIRC Bot Template  -  Dec 08, 2008

Nice job vsTerminus :)
Great base for modification.

 Respond  
newklear commented on a Page, Read this before copyes a mIRC script!  -  Dec 07, 2008

Can't believe such a silly piece of code get's so much attention and discussion, I wish the useful scripts posted on Hawkee would get this much attention lol.

 Respond  
newklear commented on a Page, Ping-Tick Skript v2.1  -  Dec 05, 2008

Any comments, suggestions or ratings ? Anyone please ?
^^ First time I have used hash tables, so not to sure on any neat secrets or tips, come guys this aint your old boring Ping script, this is certainly different.

 Respond  
newklear commented on a Page, Read this before copyes a mIRC script!  -  Dec 05, 2008

lol yep sure does, to make it even more fun I would add "r" too

 Respond  
newklear commented on a Page, Simple multi network away script  -  Dec 05, 2008

ermm I think the above part of

on *:text:**:#: {
if $1 != $me $+ ? { halt }

is a little bit hairy
why not just use:

alias away { .scon -a away $iif(!$1,AFK,$1-) | set %reason. [ $+ [ $network ] ] $iif(!$1,AFK,$1-) | set %away.1. [ $+ [ $network ] ] $ctime | set %awayscript. [ $+ [ $network ] ] on | amsg I am now away. $1- $+ . }
alias back { if (%awayscript. [ $+ [ $network ] ] == on) { .scon -a away | amsg I am now back from $awaymsg $+ , I was gone for: $duration($awaytime) | unset %reason. [ $+ [ $network ] ] | unset %away.1. [ $+ [ $network ] ] | set %awayscript. [ $+ [ $network ] ] off } }

on *:TEXT:$( * $+ $me $+ * ):#: {
  if (%awayscript. [ $+ [ $network ] ] == on) && (%flood [ $+ [ $address($nick,2) ] ] != on) {
    .notice $nick I am currently away. Reason: %reason. [ $+ [ $network ] ] $+ . I have been away for $duration($calc($ctime - %away.1. [ $+ [ $network ] ] ))
    set -u60 %flood [ $+ [ $address($nick,2) ] ] on
  }
}

on *:TEXT:*:?: {
  if (%awayscript. [ $+ [ $network ] ] == on) && (%flood [ $+ [ $address($nick,2) ] ] != on) { 
    .msg $nick I am currently away. Reason: %reason. [ $+ [ $network ] ] $+ . I have been away for $duration($calc($ctime - %away.1. [ $+ [ $network ] ] ))
    set -u60 %flood [ $+ [ $address($nick,2) ] ] on
  }
}

And it will work across multiple networks.

 Respond  
newklear commented on a Page, Read this before copyes a mIRC script!  -  Dec 05, 2008

This is just silly, why add something if you don't want people to add it ? Other people with other ulterior motives will now copy and paste this script to use on innocent people, shame on you Diamond. When you tell people not to eat cookie's from the cookie jar, what do they end up doing ? Btw that is not really a hack, it just changes a few things which can be so easily undone by changing your details in your chat client and once connected by using

/ns recover nick

and

/ns release nick

Changing email is not that important unless you use an O-line and setting language to 1 sets english, I think I would battle far more with greek than english lol. With 5 lines I could do a much better hack, but I am not pasting it so nananana "suffer"

This is just plain silly, please delete

 Respond  
newklear commented on a Page, Ping-Tick Skript v2.1  -  Dec 03, 2008

Thank you for prod in the right direction TheImrac, and you are so right, I think I prefer hash tables and was even reading that hash tables sometimes process faster than variables do.

Cleaned up and alot neater I think.

 Respond  
newklear commented on a Page, Simple multi network away script  -  Dec 02, 2008

What's up with all the tags ? Please keep the Tags script specific so it helps people search accurately what they are looking for.
No need to have the "/" command prefix you can just leave it out or use a "." instead to make the command execute silently.
Have a peek of what I did in my away script: http://www.hawkee.com/snippet/5231/

 Respond  
newklear created a Page  -  Dec 02, 2008
730 

All the Ping and Ping Reply scripts I have seen use $ctime so thought to try be more accurate let's use $ticks instead. Have tested quite a few times and find this pretty accurate down to 1/1000th of a second.

newklear commented on a Page, Gangster RPG  -  Nov 29, 2008

It also seems you don't understand how the -z switch works
I sort of know how the -z switch works I read the help file lol, was just one idea to set jail to 0 but the -z switch unsets it so wasn't sure if you still needed it to be set or not, the above example was just answering Purcell's question.
Otherwise I would have done it like this, which would decrease and unset in 1 second:

var %temp 1
hadd -z $2 jail %temp

Instead of

hadd $2 jail 0 

Purcell: I looked at the hash table help file for the first time ever today, so no I cannot help you as I am not skeeled enough, please Read the help file dude and please don't flood, if you have something to say and think of something later on to say, click EDIT and add what you wanted to say with your previous post.

 Respond  
newklear commented on a Page, Gangster RPG  -  Nov 29, 2008

Great script `JoKeR´
I really like the way you use hash tables and just reading through is so cool, and makes understanding hash tables so much easier. Thank you for sharing :-)

Purcell:
See I'm editing my last post ;)
Not to sure with hash tables or how others will do it, just going through quickly I would do summin like

 if ($nick isop $chan) || ($nick === YourExactNickname) {
    if ($1 == !bust) {
      if (!$2) { .notice $nick Syntax: !bust nick | halt }
      hadd $2 jail 0
    }
  } 

But not sure how what other ways there are to do this unless you set a variable to 1 and use hadd -z $2 jail %variablename - but that will totally unset it shrugs - Trial and error I guess hey ;)

 Respond  
newklear commented on a Page, anti slapper  -  Nov 26, 2008

on :action:$($+(,slap,,$me,)):#:{
if ($me isin $1-) {
describe $chan { slaps $nick }
}
}

Rather do it this way:

on :action:$($+(,slap,,$me,)):#: {
describe $chan slaps $nick
}
OR
on :action:slap*:#: {
if ($me isin $1-) {
describe $chan slaps $nick
}
}

 Respond  
newklear commented on a Page, Gag Script (Ban) V1.0  -  Nov 17, 2008

thanx ^Alexis^ :)
My highest rating ever lol

 Respond  
newklear commented on a Page, Mode Lock  -  Nov 17, 2008

Good idea to prevent other operators changing modes, depending on the version of services on the IRC server won't "/cs set #channelname mlock +modes" do the same thing ?

A few Pointers:

if ( %lock == $null ) can be written as > if (!%lock) note: no spaces.

also no need for a "/" before the commands you can just write > /mode $chan $+(+,$remove($1,-)) as > mode $chan $+(+,$remove($1,-))

 Respond  
newklear created a Page  -  Nov 17, 2008
853 

I noticed on some IRC servers depending on the channel setup some operators ban users who are abusive so that they cannot talk in channel if they have no voice modes set etc..

newklear commented on a Page, Last Said Skript 2.0  -  Nov 10, 2008

Ty mountaindew, fixed

Changes:
.Added Flood control of 10 seconds per nick.
.Added an Alias "/lastsaid nick".
.Fixed an error catcher.

 Respond  
newklear created a Page  -  Nov 10, 2008
3 613 

Last Said Skript 2.0

newklear created a Page  -  Oct 29, 2008
462 

Simple snippet that welcomes a user using botserv This snippet can be edited for your needs, I chose not use $read(filename.txt) for ease of editing purposes.

  1 Thread   mIRC  
newklear created a Page  -  Oct 29, 2008
1,241 

Botserv Copy-Cat Skript copies users text in a channel with a 10 second delay between each user.

  1 Thread   mIRC  
newklear commented on a Page, Silent Away Cross-Network v1.0  -  Oct 12, 2008

wow thank you so much napa182 - Been reading all about $iif() and it's usage, actually makes alot of sense lol: $iif(Condition_is_met,True,False) <-- Gosh I love it, that definately does make things alot neater and cleaner. Thank you once again napa182. Now I am so amped to see where else I can use $iif()

Thank you rhasttaff Boetie :) /me goes to see what else to do that is useful to mankind.
types in /help what_else_can_we_get_upto and reads

Thank you for the nice rating guys :)

**** Added napa182's suggestion to the snippet

 Respond  
newklear created a Page  -  Oct 11, 2008
2 492 

Silent Away Cross-Network Script

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.