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-nmm6 (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-nmm6 (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-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mass pm from web
Author Message
Pidrila
Apprentice
*

Posts: 36
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Apr 2013
Reputation: 0



Post: #1
Mass pm from web
How i can mass pm to all players from web? I have a database where i add mass pm., but how can i display in game this message? Something like
Code:
"select mass_pm from database_ultima where topic_status =1"

Serv.allclients sysmessage <db.row.0.masspm> ...
or open like a dialog each player..

Sent from my PAP4055DUO using Tapatalk

Code:
[PLEVEL 1]
f_mass_pm


[function f_mass_pm]
db.connect
if ( <DB.connected> )
DB.QUERY "SELECT * FROM ibf_posts WHERE status='1'"
    if (<DB.ROW.NUMROWS> > 0)
        for R 0 <eval <DB.ROW.NUMROWS>-1>
        if (<DB.ROW.<eval <LOCAL.R>>.status> = 1)
        DB.EXECUTE "UPDATE ibf_posts SET status='0' WHERE pid='<DB.ROW.<eval <LOCAL.R>>.pid>'"
        serv.log Account: <DB.ROW.<eval <LOCAL.R>>.pid> mass pm from web
        sysmessage @55 <db.row.<eval <LOCAL.R>>.post>
        endif
        end
    endif
endif

okey i got that.. but how i can add not a sysmessage but something like a dialog appears? and in this dialog shows this message..??
(This post was last modified: 02-07-2014 11:36 PM by Pidrila.)
02-07-2014 10:38 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Mass pm from web - Pidrila - 02-07-2014 10:38 PM
RE: Mass pm from web - Extreme - 02-08-2014, 12:38 AM
RE: Mass pm from web - Pidrila - 02-08-2014, 02:28 AM
RE: Mass pm from web - Extreme - 02-08-2014, 02:44 AM
RE: Mass pm from web - Pidrila - 02-08-2014, 03:41 AM

Forum Jump:


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