MantisBT - mSLDev
View Issue Details
0000053mSLDevFuture Suggestionspublic2011-10-07 21:102012-07-21 17:58
KindOne 
administrator 
normalminorN/A
closedsuspended 
WinXP 32-bitWindows XP(5.1)
 
 
0000053: Insufficent Parameters check
mSLDev should be able to detect the following issues, in the (horribly scripted) example below.
; /msg or /query " msldev " to the mIRC running this...

on *:text:*:?: {
  
  if (($1 == foo)) {
    msg $nick foo
  }
  else if (($1 == msldev)) {
    ; has a space, and a - , no issue.
    msg $nick -
    ; has a space after $nick , but has nothing else
    ; causes a " * /msg: insufficient parameters "
    msg $nick
    ; no space after $nick
    ; causes a " * /msg: insufficient parameters "
    msg $nick
    ; causes a " * /msg: insufficient parameters "
    msg $nick $chr(32)
    ; this works...
    msg $nick foo
  }
  
  else {
    msg $nick bar
  }
}
No tags attached.
Issue History
2011-10-07 21:10KindOneNew Issue
2012-07-21 17:58administratorStatusnew => closed
2012-07-21 17:58administratorAssigned To => administrator
2012-07-21 17:58administratorResolutionopen => suspended

There are no notes attached to this issue.