The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Housing misnomer
Author Message
Shidhun
Journeyman
*

Posts: 59
Likes Given: 5
Likes Received: 3 in 3 posts
Joined: Jul 2012
Reputation: 1



Post: #2
RE: Housing misnomer
It should work like this.

Code:
[dialog d_evismidegis]
0,0
nomove
noclose
page 0
resizepic 0 0 3500 450 140
gumppic 10 10 100
dtextentry 165 10 195 35 044 1 ? // Put a Number instead of ?
button 360 10 4024 4025 1 0 27

[dialog d_evismidegis button]
on=27
// Change all the "?" to the Number of your dtextentry !
// i just coppied the sysmessages, so i'm not sure if they are in the correct place. I don't speak turkish
if (<type>==t_sign_gump) // shouldn't be needed, if you call the dialog via sdialog from the housegump
    if !<argtxt[?]> // Nothing is written into the dialog
        src.sysmessage @1152 the house-name can't be changed into "nothing"
        return 1
    endif
        if ( strregex([^A-Za-z0-9\s]+,<argtxt[?]>) != 1 ) // Allows only letters and numbers, nothing else. Remove 0-9 if you only want letters
            name=<argtxt[?]>
            src.sysmessage @1152 Evinizin ismi degisti.
            resendtooltip
        else
            src.sysmessage @32,,1 Gecersiz isim.!
        endif
   return 0
endif
05-30-2014 03:19 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Housing misnomer - djazraell - 05-30-2014, 12:26 AM
RE: Housing misnomer - Shidhun - 05-30-2014 03:19 AM
RE: Housing misnomer - djazraell - 05-30-2014, 04:19 AM
RE: Housing misnomer - Shidhun - 05-30-2014, 02:54 PM
RE: Housing misnomer - djazraell - 05-30-2014, 03:20 PM
RE: Housing misnomer - Shidhun - 05-30-2014, 09:30 PM
RE: Housing misnomer - djazraell - 05-30-2014, 10:23 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)