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
|
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 |
|
|
Messages In This Thread |
Mass pm from web - Pidrila - 02-07-2014 10:38 PM
|
User(s) browsing this thread: 1 Guest(s)