MoshMage

MoshMage

Joined
Dec 12, 2007

Activity Stream

MoshMage commented on a Comment, Simple Calculator  -  Aug 13, 2013
MoshMage liked a Comment, MsgtoUser  -  Aug 08, 2013
MoshMage commented on a Comment, Help me Improve this please  -  Jul 16, 2013
MoshMage commented on a Comment, here  -  Jul 16, 2013
MoshMage commented on a Comment, Help me Improve this please  -  Jul 15, 2013
MoshMage commented on [Plornt]'s Thread  -  Jun 30, 2013
MoshMage commented on a Page, Simple Calculator  -  Jun 30, 2013

When i coded mirc scripting i always avoided to use modals, windows or dialogs for unnecessary stuff. This is one of them cases where a simple well formatted echo would suffice.

alias calc { if ($1-) echo -ta <Calculator> $1- = $calc($1-) }

Would achieve the exact same effect in less time and less hassle. But hey, To each its own :)

MoshMage commented on a Comment, ctype_alnumi   -  Jun 29, 2013
MoshMage commented on a Comment, ctype_alnumi   -  Jun 21, 2013
MoshMage created a Page  -  Jun 19, 2013
1 65 

Returns true if the inputed string is alphanumeric (either letters or numbers) after ignoring chosen chars. The snippet makes use of str_replace and the original ctype_alnum.

  1 Thread   PHP  
MoshMage commented on MoshMage's Thread  -  May 22, 2013
MoshMage commented on a Page, PHP Dateify!  -  May 22, 2013

Not bashing on you, but you're overcoding. you could've floored the $stamp and then divide that value to get days, hours, mins and seconds. But i guess your way works as well :)

 Respond  
MoshMage liked a Comment, Yet another Random password generator  -  May 21, 2013
MoshMage commented on MoshMage's Thread  -  May 21, 2013
MoshMage   -  May 19, 2013

Wasn't there a Forum of some kind? IT would help me a bunch now.
I coded a framework, or at least I think it's a framework, and i'd like to know if it's in a MCV context because.. I really don't know. And here's the reason:
The thing (lets call it FW) loads every "module" that's inside modules/ folder and each module/module_name/ has a template/ folder inside where it has a butload of design/HTML related files (with a few echos here and there). The main folder (where the main index.php lies) has a template/ folder also where it has styles and website layout (as well as echoing the modules content). I could copy-paste the whole file structure but i'm not sure how it would present itself as I've never used this "Star Thread" thingy.

Anyhow, from my description: does it sound like a MCV Framework?

MoshMage commented on a Page, VBS Okay/Cancel MsgBox generator  -  Aug 07, 2012

@Sorasyn oh..! right. My bad. ^^'

 Respond  
MoshMage commented on a Page, URL Kicking/Ban System (GUESTS)  -  Aug 07, 2012

neat.

 Respond  
MoshMage commented on a Page, VBS Okay/Cancel MsgBox generator  -  Aug 07, 2012

don't you get tired of reinventing the wheel?

echo $input(hello world,owd,this is title)

use /help $input

 Respond  
MoshMage commented on a Page, Auto Identify (for mIRC bot)  -  Aug 07, 2012

@TochA1551 i'm confused at why so many !add and !dels as i can't think of anyone who'd want to turn off auto-login; Still.. What happens if you're not on a Nickserved network but instead on a Qserved ?

 Respond  
MoshMage commented on a Page, Facts script  -  Aug 07, 2012

Faster yet:

on *:text:!*:#:{
  if (!$2) || ($1 == !8ball) {
   var %w $right($1,-1)
    var %file $+($mircdir\text\,%w,.txt)
    if ($isfile(%file)) {
      msg $chan $read(%file)
    }
  }
}

EDIT:
@Hawkee there should be a 'delete post' option when i'm the post owner.
Also, editing "code" tag within an comment will add "br" tags and delete the "code" styling.

 Respond  
MoshMage commented on a Page, MsgtoUser  -  Aug 06, 2012

fair enough :)
and yep. i had never seen one either - but this one seems like a home-breed irc network

 Respond  
MoshMage created a Page  -  Aug 06, 2012
2 530 

hit !deal and bot shall deal a complete random hand. if you want more cards per hand just change the line

MoshMage commented on a Page, MsgtoUser  -  Aug 06, 2012

@blackvenomm666 You'd be better off saying "There are IRC networks that doon't have any kind of services or memoserv" - i just found this out x)

 Respond  
MoshMage commented on a mIRC Script, DDO style dice  -  Aug 05, 2012

Unless he is thinking of updating the code, then there's a purpose for a script entry. Still, he could remove de code and add a descriptiong to make it script-entry-like ^^'

 Respond  
MoshMage commented on a Page, MsgtoUser  -  Aug 05, 2012

There's no /memoserv in your network? that shucks.

 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.